stripe 13.5.0 → 14.0.0

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 (641) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -3
  3. data/Gemfile +4 -0
  4. data/OPENAPI_VERSION +1 -1
  5. data/README.md +29 -0
  6. data/VERSION +1 -1
  7. data/lib/stripe/api_operations/request.rb +1 -0
  8. data/lib/stripe/api_requestor.rb +3 -0
  9. data/lib/stripe/api_version.rb +1 -1
  10. data/lib/stripe/errors.rb +0 -7
  11. data/lib/stripe/object_types.rb +8 -2
  12. data/lib/stripe/request_params.rb +24 -0
  13. data/lib/stripe/resources/account.rb +4634 -0
  14. data/lib/stripe/resources/account_link.rb +54 -0
  15. data/lib/stripe/resources/account_session.rb +739 -0
  16. data/lib/stripe/resources/apple_pay_domain.rb +54 -0
  17. data/lib/stripe/resources/application.rb +20 -0
  18. data/lib/stripe/resources/application_fee.rb +87 -0
  19. data/lib/stripe/resources/application_fee_refund.rb +17 -0
  20. data/lib/stripe/resources/apps/secret.rb +141 -0
  21. data/lib/stripe/resources/balance.rb +122 -0
  22. data/lib/stripe/resources/balance_transaction.rb +103 -0
  23. data/lib/stripe/resources/bank_account.rb +84 -2
  24. data/lib/stripe/resources/billing/alert.rb +135 -0
  25. data/lib/stripe/resources/billing/alert_triggered.rb +26 -0
  26. data/lib/stripe/resources/billing/credit_balance_summary.rb +40 -0
  27. data/lib/stripe/resources/billing/credit_balance_transaction.rb +107 -0
  28. data/lib/stripe/resources/billing/credit_grant.rb +217 -0
  29. data/lib/stripe/resources/billing/meter.rb +169 -0
  30. data/lib/stripe/resources/billing/meter_event.rb +35 -0
  31. data/lib/stripe/resources/billing/meter_event_adjustment.rb +43 -0
  32. data/lib/stripe/resources/billing/meter_event_summary.rb +15 -0
  33. data/lib/stripe/resources/billing_portal/configuration.rb +553 -0
  34. data/lib/stripe/resources/billing_portal/session.rb +271 -0
  35. data/lib/stripe/resources/capability.rb +84 -0
  36. data/lib/stripe/resources/card.rb +77 -0
  37. data/lib/stripe/resources/cash_balance.rb +17 -0
  38. data/lib/stripe/resources/charge.rb +1612 -0
  39. data/lib/stripe/resources/checkout/session.rb +3530 -6
  40. data/lib/stripe/resources/climate/order.rb +167 -0
  41. data/lib/stripe/resources/climate/product.rb +47 -0
  42. data/lib/stripe/resources/climate/supplier.rb +45 -0
  43. data/lib/stripe/resources/confirmation_token.rb +1448 -0
  44. data/lib/stripe/resources/connect_collection_transfer.rb +24 -0
  45. data/lib/stripe/resources/country_spec.rb +54 -0
  46. data/lib/stripe/resources/coupon.rb +189 -0
  47. data/lib/stripe/resources/credit_note.rb +639 -0
  48. data/lib/stripe/resources/credit_note_line_item.rb +67 -0
  49. data/lib/stripe/resources/customer.rb +824 -0
  50. data/lib/stripe/resources/customer_balance_transaction.rb +29 -0
  51. data/lib/stripe/resources/customer_cash_balance_transaction.rb +109 -0
  52. data/lib/stripe/resources/customer_session.rb +159 -0
  53. data/lib/stripe/resources/discount.rb +29 -0
  54. data/lib/stripe/resources/dispute.rb +610 -0
  55. data/lib/stripe/resources/entitlements/active_entitlement.rb +37 -0
  56. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +23 -0
  57. data/lib/stripe/resources/entitlements/feature.rb +81 -0
  58. data/lib/stripe/resources/ephemeral_key.rb +21 -0
  59. data/lib/stripe/resources/event.rb +90 -0
  60. data/lib/stripe/resources/exchange_rate.rb +24 -0
  61. data/lib/stripe/resources/file.rb +102 -0
  62. data/lib/stripe/resources/file_link.rb +103 -0
  63. data/lib/stripe/resources/financial_connections/account.rb +237 -0
  64. data/lib/stripe/resources/financial_connections/account_owner.rb +17 -0
  65. data/lib/stripe/resources/financial_connections/account_ownership.rb +9 -0
  66. data/lib/stripe/resources/financial_connections/session.rb +95 -0
  67. data/lib/stripe/resources/financial_connections/transaction.rb +92 -0
  68. data/lib/stripe/resources/forwarding/request.rb +156 -0
  69. data/lib/stripe/resources/funding_instructions.rb +308 -0
  70. data/lib/stripe/resources/identity/verification_report.rb +257 -0
  71. data/lib/stripe/resources/identity/verification_session.rb +352 -0
  72. data/lib/stripe/resources/invoice.rb +3204 -21
  73. data/lib/stripe/resources/invoice_item.rb +400 -0
  74. data/lib/stripe/resources/invoice_line_item.rb +350 -0
  75. data/lib/stripe/resources/invoice_payment.rb +105 -0
  76. data/lib/stripe/resources/invoice_rendering_template.rb +55 -0
  77. data/lib/stripe/resources/issuing/authorization.rb +1104 -0
  78. data/lib/stripe/resources/issuing/card.rb +657 -0
  79. data/lib/stripe/resources/issuing/cardholder.rb +648 -0
  80. data/lib/stripe/resources/issuing/dispute.rb +781 -0
  81. data/lib/stripe/resources/issuing/personalization_design.rb +276 -0
  82. data/lib/stripe/resources/issuing/physical_bundle.rb +54 -0
  83. data/lib/stripe/resources/issuing/token.rb +166 -0
  84. data/lib/stripe/resources/issuing/transaction.rb +912 -0
  85. data/lib/stripe/resources/line_item.rb +47 -0
  86. data/lib/stripe/resources/login_link.rb +7 -0
  87. data/lib/stripe/resources/mandate.rb +142 -0
  88. data/lib/stripe/resources/payment_intent.rb +8650 -0
  89. data/lib/stripe/resources/payment_link.rb +1632 -0
  90. data/lib/stripe/resources/payment_method.rb +1542 -0
  91. data/lib/stripe/resources/payment_method_configuration.rb +2776 -0
  92. data/lib/stripe/resources/payment_method_domain.rb +150 -6
  93. data/lib/stripe/resources/payout.rb +209 -0
  94. data/lib/stripe/resources/person.rb +264 -1
  95. data/lib/stripe/resources/plan.rb +302 -0
  96. data/lib/stripe/resources/price.rb +605 -1
  97. data/lib/stripe/resources/product.rb +472 -0
  98. data/lib/stripe/resources/product_feature.rb +12 -0
  99. data/lib/stripe/resources/promotion_code.rb +212 -0
  100. data/lib/stripe/resources/quote.rb +917 -0
  101. data/lib/stripe/resources/radar/early_fraud_warning.rb +68 -0
  102. data/lib/stripe/resources/radar/value_list.rb +116 -0
  103. data/lib/stripe/resources/radar/value_list_item.rb +86 -0
  104. data/lib/stripe/resources/refund.rb +392 -0
  105. data/lib/stripe/resources/reporting/report_run.rb +141 -0
  106. data/lib/stripe/resources/reporting/report_type.rb +27 -0
  107. data/lib/stripe/resources/reserve_transaction.rb +22 -0
  108. data/lib/stripe/resources/reversal.rb +21 -0
  109. data/lib/stripe/resources/review.rb +99 -0
  110. data/lib/stripe/resources/setup_attempt.rb +368 -0
  111. data/lib/stripe/resources/setup_intent.rb +3473 -0
  112. data/lib/stripe/resources/shipping_rate.rb +250 -0
  113. data/lib/stripe/resources/sigma/scheduled_query_run.rb +45 -0
  114. data/lib/stripe/resources/source.rb +1198 -0
  115. data/lib/stripe/resources/source_mandate_notification.rb +66 -0
  116. data/lib/stripe/resources/source_transaction.rb +85 -0
  117. data/lib/stripe/resources/subscription.rb +1686 -0
  118. data/lib/stripe/resources/subscription_item.rb +313 -5
  119. data/lib/stripe/resources/subscription_schedule.rb +1281 -0
  120. data/lib/stripe/resources/tax/calculation.rb +378 -0
  121. data/lib/stripe/resources/tax/calculation_line_item.rb +56 -0
  122. data/lib/stripe/resources/tax/registration.rb +2373 -0
  123. data/lib/stripe/resources/tax/settings.rb +117 -0
  124. data/lib/stripe/resources/tax/transaction.rb +258 -0
  125. data/lib/stripe/resources/tax/transaction_line_item.rb +31 -0
  126. data/lib/stripe/resources/tax_code.rb +26 -0
  127. data/lib/stripe/resources/tax_deducted_at_source.rb +22 -0
  128. data/lib/stripe/resources/tax_id.rb +112 -0
  129. data/lib/stripe/resources/tax_rate.rb +191 -0
  130. data/lib/stripe/resources/terminal/configuration.rb +1260 -0
  131. data/lib/stripe/resources/terminal/connection_token.rb +18 -0
  132. data/lib/stripe/resources/terminal/location.rb +166 -0
  133. data/lib/stripe/resources/terminal/reader.rb +427 -0
  134. data/lib/stripe/resources/test_helpers/test_clock.rb +77 -0
  135. data/lib/stripe/resources/token.rb +1159 -0
  136. data/lib/stripe/resources/topup.rb +165 -0
  137. data/lib/stripe/resources/transfer.rb +144 -0
  138. data/lib/stripe/resources/treasury/credit_reversal.rb +83 -0
  139. data/lib/stripe/resources/treasury/debit_reversal.rb +94 -0
  140. data/lib/stripe/resources/treasury/financial_account.rb +725 -1
  141. data/lib/stripe/resources/treasury/financial_account_features.rb +189 -0
  142. data/lib/stripe/resources/treasury/inbound_transfer.rb +226 -0
  143. data/lib/stripe/resources/treasury/outbound_payment.rb +486 -0
  144. data/lib/stripe/resources/treasury/outbound_transfer.rb +341 -0
  145. data/lib/stripe/resources/treasury/received_credit.rb +237 -0
  146. data/lib/stripe/resources/treasury/received_debit.rb +196 -0
  147. data/lib/stripe/resources/treasury/transaction.rb +167 -0
  148. data/lib/stripe/resources/treasury/transaction_entry.rb +148 -0
  149. data/lib/stripe/resources/v2/amount.rb +9 -0
  150. data/lib/stripe/resources/v2/billing/meter_event.rb +18 -0
  151. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +21 -0
  152. data/lib/stripe/resources/v2/billing/meter_event_session.rb +14 -0
  153. data/lib/stripe/resources/v2/event.rb +28 -0
  154. data/lib/stripe/resources/v2/event_destination.rb +60 -0
  155. data/lib/stripe/resources/webhook_endpoint.rb +113 -0
  156. data/lib/stripe/resources.rb +8 -2
  157. data/lib/stripe/services/account_capability_service.rb +32 -0
  158. data/lib/stripe/services/account_external_account_service.rb +250 -0
  159. data/lib/stripe/services/account_link_service.rb +46 -0
  160. data/lib/stripe/services/account_login_link_service.rb +9 -0
  161. data/lib/stripe/services/account_person_service.rb +875 -0
  162. data/lib/stripe/services/account_service.rb +4000 -0
  163. data/lib/stripe/services/account_session_service.rb +484 -0
  164. data/lib/stripe/services/apple_pay_domain_service.rb +51 -0
  165. data/lib/stripe/services/application_fee_refund_service.rb +54 -0
  166. data/lib/stripe/services/application_fee_service.rb +57 -0
  167. data/lib/stripe/services/apps/secret_service.rb +116 -0
  168. data/lib/stripe/services/balance_service.rb +9 -0
  169. data/lib/stripe/services/balance_transaction_service.rb +69 -0
  170. data/lib/stripe/services/billing/alert_service.rb +113 -0
  171. data/lib/stripe/services/billing/credit_balance_summary_service.rb +48 -0
  172. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +40 -0
  173. data/lib/stripe/services/billing/credit_grant_service.rb +166 -0
  174. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +26 -0
  175. data/lib/stripe/services/billing/meter_event_service.rb +21 -0
  176. data/lib/stripe/services/billing/meter_event_summary_service.rb +39 -0
  177. data/lib/stripe/services/billing/meter_service.rb +130 -0
  178. data/lib/stripe/services/billing_portal/configuration_service.rb +444 -0
  179. data/lib/stripe/services/billing_portal/session_service.rb +173 -0
  180. data/lib/stripe/services/charge_service.rb +402 -0
  181. data/lib/stripe/services/checkout/session_line_item_service.rb +18 -0
  182. data/lib/stripe/services/checkout/session_service.rb +2399 -5
  183. data/lib/stripe/services/climate/order_service.rb +102 -0
  184. data/lib/stripe/services/climate/product_service.rb +27 -0
  185. data/lib/stripe/services/climate/supplier_service.rb +27 -0
  186. data/lib/stripe/services/confirmation_token_service.rb +9 -0
  187. data/lib/stripe/services/country_spec_service.rb +27 -0
  188. data/lib/stripe/services/coupon_service.rb +152 -0
  189. data/lib/stripe/services/credit_note_line_item_service.rb +18 -0
  190. data/lib/stripe/services/credit_note_preview_lines_service.rb +152 -0
  191. data/lib/stripe/services/credit_note_service.rb +365 -0
  192. data/lib/stripe/services/customer_balance_transaction_service.rb +63 -0
  193. data/lib/stripe/services/customer_cash_balance_service.rb +29 -0
  194. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +27 -0
  195. data/lib/stripe/services/customer_funding_instructions_service.rb +42 -0
  196. data/lib/stripe/services/customer_payment_method_service.rb +40 -0
  197. data/lib/stripe/services/customer_payment_source_service.rb +179 -0
  198. data/lib/stripe/services/customer_service.rb +577 -0
  199. data/lib/stripe/services/customer_session_service.rb +96 -0
  200. data/lib/stripe/services/customer_tax_id_service.rb +45 -0
  201. data/lib/stripe/services/dispute_service.rb +374 -0
  202. data/lib/stripe/services/entitlements/active_entitlement_service.rb +36 -0
  203. data/lib/stripe/services/entitlements/feature_service.rb +76 -0
  204. data/lib/stripe/services/ephemeral_key_service.rb +36 -0
  205. data/lib/stripe/services/event_service.rb +65 -0
  206. data/lib/stripe/services/exchange_rate_service.rb +27 -0
  207. data/lib/stripe/services/file_link_service.rb +94 -0
  208. data/lib/stripe/services/file_service.rb +89 -0
  209. data/lib/stripe/services/financial_connections/account_owner_service.rb +27 -0
  210. data/lib/stripe/services/financial_connections/account_service.rb +96 -0
  211. data/lib/stripe/services/financial_connections/session_service.rb +68 -0
  212. data/lib/stripe/services/financial_connections/transaction_service.rb +70 -0
  213. data/lib/stripe/services/forwarding/request_service.rb +106 -0
  214. data/lib/stripe/services/identity/verification_report_service.rb +65 -0
  215. data/lib/stripe/services/identity/verification_session_service.rb +231 -0
  216. data/lib/stripe/services/invoice_item_service.rb +334 -0
  217. data/lib/stripe/services/invoice_line_item_service.rb +221 -0
  218. data/lib/stripe/services/invoice_payment_service.rb +83 -0
  219. data/lib/stripe/services/invoice_rendering_template_service.rb +51 -0
  220. data/lib/stripe/services/invoice_service.rb +2648 -19
  221. data/lib/stripe/services/issuing/authorization_service.rb +104 -0
  222. data/lib/stripe/services/issuing/card_service.rb +455 -0
  223. data/lib/stripe/services/issuing/cardholder_service.rb +525 -0
  224. data/lib/stripe/services/issuing/dispute_service.rb +633 -0
  225. data/lib/stripe/services/issuing/personalization_design_service.rb +193 -0
  226. data/lib/stripe/services/issuing/physical_bundle_service.rb +40 -0
  227. data/lib/stripe/services/issuing/token_service.rb +73 -0
  228. data/lib/stripe/services/issuing/transaction_service.rb +77 -0
  229. data/lib/stripe/services/mandate_service.rb +9 -0
  230. data/lib/stripe/services/payment_intent_service.rb +7054 -0
  231. data/lib/stripe/services/payment_link_line_item_service.rb +18 -0
  232. data/lib/stripe/services/payment_link_service.rb +1276 -0
  233. data/lib/stripe/services/payment_method_configuration_service.rb +2004 -0
  234. data/lib/stripe/services/payment_method_domain_service.rb +79 -3
  235. data/lib/stripe/services/payment_method_service.rb +808 -0
  236. data/lib/stripe/services/payout_service.rb +159 -0
  237. data/lib/stripe/services/plan_service.rb +249 -0
  238. data/lib/stripe/services/price_service.rb +494 -1
  239. data/lib/stripe/services/product_feature_service.rb +42 -0
  240. data/lib/stripe/services/product_service.rb +425 -0
  241. data/lib/stripe/services/promotion_code_service.rb +178 -0
  242. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +18 -0
  243. data/lib/stripe/services/quote_line_item_service.rb +18 -0
  244. data/lib/stripe/services/quote_service.rb +611 -0
  245. data/lib/stripe/services/radar/early_fraud_warning_service.rb +61 -0
  246. data/lib/stripe/services/radar/value_list_item_service.rb +79 -0
  247. data/lib/stripe/services/radar/value_list_service.rb +103 -0
  248. data/lib/stripe/services/refund_service.rb +137 -0
  249. data/lib/stripe/services/reporting/report_run_service.rb +106 -0
  250. data/lib/stripe/services/reporting/report_type_service.rb +18 -0
  251. data/lib/stripe/services/review_service.rb +56 -0
  252. data/lib/stripe/services/setup_attempt_service.rb +51 -0
  253. data/lib/stripe/services/setup_intent_service.rb +3163 -0
  254. data/lib/stripe/services/shipping_rate_service.rb +200 -0
  255. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +27 -0
  256. data/lib/stripe/services/source_service.rb +601 -0
  257. data/lib/stripe/services/source_transaction_service.rb +18 -0
  258. data/lib/stripe/services/subscription_item_service.rb +282 -5
  259. data/lib/stripe/services/subscription_schedule_service.rb +1062 -0
  260. data/lib/stripe/services/subscription_service.rb +1412 -0
  261. data/lib/stripe/services/tax/calculation_line_item_service.rb +18 -0
  262. data/lib/stripe/services/tax/calculation_service.rb +205 -0
  263. data/lib/stripe/services/tax/registration_service.rb +1564 -0
  264. data/lib/stripe/services/tax/settings_service.rb +74 -0
  265. data/lib/stripe/services/tax/transaction_line_item_service.rb +18 -0
  266. data/lib/stripe/services/tax/transaction_service.rb +111 -0
  267. data/lib/stripe/services/tax_code_service.rb +27 -0
  268. data/lib/stripe/services/tax_id_service.rb +79 -0
  269. data/lib/stripe/services/tax_rate_service.rb +155 -0
  270. data/lib/stripe/services/terminal/configuration_service.rb +997 -0
  271. data/lib/stripe/services/terminal/connection_token_service.rb +12 -0
  272. data/lib/stripe/services/terminal/location_service.rb +144 -0
  273. data/lib/stripe/services/terminal/reader_service.rb +266 -0
  274. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +642 -0
  275. data/lib/stripe/services/test_helpers/customer_service.rb +18 -0
  276. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +745 -0
  277. data/lib/stripe/services/test_helpers/issuing/card_service.rb +45 -0
  278. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +41 -0
  279. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +632 -0
  280. data/lib/stripe/services/test_helpers/refund_service.rb +9 -0
  281. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +44 -0
  282. data/lib/stripe/services/test_helpers/test_clock_service.rb +57 -0
  283. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +38 -0
  284. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +87 -0
  285. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +87 -0
  286. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +60 -0
  287. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +60 -0
  288. data/lib/stripe/services/token_service.rb +1140 -0
  289. data/lib/stripe/services/topup_service.rb +142 -0
  290. data/lib/stripe/services/transfer_reversal_service.rb +66 -0
  291. data/lib/stripe/services/transfer_service.rb +119 -0
  292. data/lib/stripe/services/treasury/credit_reversal_service.rb +59 -0
  293. data/lib/stripe/services/treasury/debit_reversal_service.rb +63 -0
  294. data/lib/stripe/services/treasury/financial_account_features_service.rb +166 -0
  295. data/lib/stripe/services/treasury/financial_account_service.rb +485 -1
  296. data/lib/stripe/services/treasury/inbound_transfer_service.rb +88 -0
  297. data/lib/stripe/services/treasury/outbound_payment_service.rb +258 -0
  298. data/lib/stripe/services/treasury/outbound_transfer_service.rb +124 -0
  299. data/lib/stripe/services/treasury/received_credit_service.rb +52 -0
  300. data/lib/stripe/services/treasury/received_debit_service.rb +40 -0
  301. data/lib/stripe/services/treasury/transaction_entry_service.rb +87 -0
  302. data/lib/stripe/services/treasury/transaction_service.rb +95 -0
  303. data/lib/stripe/services/v1_services.rb +2 -1
  304. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +23 -0
  305. data/lib/stripe/services/v2/billing/meter_event_service.rb +25 -0
  306. data/lib/stripe/services/v2/billing/meter_event_session_service.rb +3 -0
  307. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +33 -0
  308. data/lib/stripe/services/v2/core/event_destination_service.rb +143 -0
  309. data/lib/stripe/services/v2/core/event_service.rb +15 -0
  310. data/lib/stripe/services/webhook_endpoint_service.rb +96 -0
  311. data/lib/stripe/services.rb +1 -3
  312. data/lib/stripe/stripe_client.rb +2 -1
  313. data/lib/stripe/stripe_object.rb +5 -0
  314. data/lib/stripe/version.rb +1 -1
  315. data/lib/stripe.rb +1 -0
  316. data/rbi/stripe/resources/account.rbi +4840 -0
  317. data/rbi/stripe/resources/account_link.rbi +74 -0
  318. data/rbi/stripe/resources/account_session.rbi +894 -0
  319. data/rbi/stripe/resources/apple_pay_domain.rbi +90 -0
  320. data/rbi/stripe/resources/application.rbi +20 -0
  321. data/rbi/stripe/resources/application_fee.rbi +118 -0
  322. data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
  323. data/rbi/stripe/resources/apps/secret.rbi +195 -0
  324. data/rbi/stripe/resources/balance.rbi +180 -0
  325. data/rbi/stripe/resources/balance_transaction.rbi +144 -0
  326. data/rbi/stripe/resources/bank_account.rbi +127 -0
  327. data/rbi/stripe/resources/billing/alert.rbi +201 -0
  328. data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
  329. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
  330. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
  331. data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
  332. data/rbi/stripe/resources/billing/meter.rbi +226 -0
  333. data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
  334. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
  335. data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
  336. data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
  337. data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
  338. data/rbi/stripe/resources/capability.rbi +125 -0
  339. data/rbi/stripe/resources/card.rbi +125 -0
  340. data/rbi/stripe/resources/cash_balance.rbi +32 -0
  341. data/rbi/stripe/resources/charge.rbi +2054 -0
  342. data/rbi/stripe/resources/checkout/session.rbi +3951 -0
  343. data/rbi/stripe/resources/climate/order.rbi +245 -0
  344. data/rbi/stripe/resources/climate/product.rbi +75 -0
  345. data/rbi/stripe/resources/climate/supplier.rbi +72 -0
  346. data/rbi/stripe/resources/confirmation_token.rbi +1793 -0
  347. data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
  348. data/rbi/stripe/resources/country_spec.rbi +85 -0
  349. data/rbi/stripe/resources/coupon.rbi +252 -0
  350. data/rbi/stripe/resources/credit_note.rbi +747 -0
  351. data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
  352. data/rbi/stripe/resources/customer.rbi +1009 -0
  353. data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
  354. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
  355. data/rbi/stripe/resources/customer_session.rbi +200 -0
  356. data/rbi/stripe/resources/discount.rbi +53 -0
  357. data/rbi/stripe/resources/dispute.rbi +761 -0
  358. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
  359. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
  360. data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
  361. data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
  362. data/rbi/stripe/resources/event.rbi +146 -0
  363. data/rbi/stripe/resources/exchange_rate.rbi +66 -0
  364. data/rbi/stripe/resources/file.rbi +143 -0
  365. data/rbi/stripe/resources/file_link.rbi +141 -0
  366. data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
  367. data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
  368. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
  369. data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
  370. data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
  371. data/rbi/stripe/resources/forwarding/request.rbi +216 -0
  372. data/rbi/stripe/resources/funding_instructions.rbi +437 -0
  373. data/rbi/stripe/resources/identity/verification_report.rbi +351 -0
  374. data/rbi/stripe/resources/identity/verification_session.rbi +517 -0
  375. data/rbi/stripe/resources/invoice.rbi +3733 -0
  376. data/rbi/stripe/resources/invoice_item.rbi +475 -0
  377. data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
  378. data/rbi/stripe/resources/invoice_payment.rbi +114 -0
  379. data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
  380. data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
  381. data/rbi/stripe/resources/issuing/card.rbi +741 -0
  382. data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
  383. data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
  384. data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
  385. data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
  386. data/rbi/stripe/resources/issuing/token.rbi +226 -0
  387. data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
  388. data/rbi/stripe/resources/line_item.rbi +72 -0
  389. data/rbi/stripe/resources/login_link.rbi +18 -0
  390. data/rbi/stripe/resources/mandate.rbi +187 -0
  391. data/rbi/stripe/resources/payment_intent.rbi +9731 -0
  392. data/rbi/stripe/resources/payment_link.rbi +1801 -0
  393. data/rbi/stripe/resources/payment_method.rbi +1822 -0
  394. data/rbi/stripe/resources/payment_method_configuration.rbi +3154 -0
  395. data/rbi/stripe/resources/payment_method_domain.rbi +212 -0
  396. data/rbi/stripe/resources/payout.rbi +300 -0
  397. data/rbi/stripe/resources/person.rbi +371 -0
  398. data/rbi/stripe/resources/plan.rbi +373 -0
  399. data/rbi/stripe/resources/price.rbi +694 -0
  400. data/rbi/stripe/resources/product.rbi +557 -0
  401. data/rbi/stripe/resources/product_feature.rbi +26 -0
  402. data/rbi/stripe/resources/promotion_code.rbi +261 -0
  403. data/rbi/stripe/resources/quote.rbi +1123 -0
  404. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
  405. data/rbi/stripe/resources/radar/value_list.rbi +170 -0
  406. data/rbi/stripe/resources/radar/value_list_item.rbi +131 -0
  407. data/rbi/stripe/resources/refund.rbi +516 -0
  408. data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
  409. data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
  410. data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
  411. data/rbi/stripe/resources/reversal.rbi +51 -0
  412. data/rbi/stripe/resources/review.rbi +154 -0
  413. data/rbi/stripe/resources/setup_attempt.rbi +477 -0
  414. data/rbi/stripe/resources/setup_intent.rbi +3860 -0
  415. data/rbi/stripe/resources/shipping_rate.rbi +305 -0
  416. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
  417. data/rbi/stripe/resources/source.rbi +1496 -0
  418. data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
  419. data/rbi/stripe/resources/source_transaction.rbi +127 -0
  420. data/rbi/stripe/resources/subscription.rbi +1964 -0
  421. data/rbi/stripe/resources/subscription_item.rbi +370 -0
  422. data/rbi/stripe/resources/subscription_schedule.rbi +1495 -0
  423. data/rbi/stripe/resources/tax/calculation.rbi +474 -0
  424. data/rbi/stripe/resources/tax/calculation_line_item.rbi +88 -0
  425. data/rbi/stripe/resources/tax/registration.rbi +2485 -0
  426. data/rbi/stripe/resources/tax/settings.rbi +141 -0
  427. data/rbi/stripe/resources/tax/transaction.rbi +351 -0
  428. data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
  429. data/rbi/stripe/resources/tax_code.rbi +44 -0
  430. data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
  431. data/rbi/stripe/resources/tax_id.rbi +167 -0
  432. data/rbi/stripe/resources/tax_rate.rbi +239 -0
  433. data/rbi/stripe/resources/terminal/configuration.rbi +1388 -0
  434. data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
  435. data/rbi/stripe/resources/terminal/location.rbi +224 -0
  436. data/rbi/stripe/resources/terminal/reader.rbi +587 -0
  437. data/rbi/stripe/resources/test_helpers/test_clock.rbi +134 -0
  438. data/rbi/stripe/resources/token.rbi +1217 -0
  439. data/rbi/stripe/resources/topup.rbi +222 -0
  440. data/rbi/stripe/resources/transfer.rbi +199 -0
  441. data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
  442. data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
  443. data/rbi/stripe/resources/treasury/financial_account.rbi +865 -0
  444. data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
  445. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
  446. data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
  447. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
  448. data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
  449. data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
  450. data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
  451. data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
  452. data/rbi/stripe/resources/v2/amount.rbi +14 -0
  453. data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
  454. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
  455. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
  456. data/rbi/stripe/resources/v2/event.rbi +48 -0
  457. data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
  458. data/rbi/stripe/resources/webhook_endpoint.rbi +170 -0
  459. data/rbi/stripe/services/account_capability_service.rbi +51 -0
  460. data/rbi/stripe/services/account_external_account_service.rbi +306 -0
  461. data/rbi/stripe/services/account_link_service.rbi +58 -0
  462. data/rbi/stripe/services/account_login_link_service.rbi +22 -0
  463. data/rbi/stripe/services/account_person_service.rbi +923 -0
  464. data/rbi/stripe/services/account_service.rbi +4143 -0
  465. data/rbi/stripe/services/account_session_service.rbi +572 -0
  466. data/rbi/stripe/services/apple_pay_domain_service.rbi +78 -0
  467. data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
  468. data/rbi/stripe/services/application_fee_service.rbi +78 -0
  469. data/rbi/stripe/services/apps/secret_service.rbi +151 -0
  470. data/rbi/stripe/services/apps_service.rbi +9 -0
  471. data/rbi/stripe/services/balance_service.rbi +21 -0
  472. data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
  473. data/rbi/stripe/services/billing/alert_service.rbi +152 -0
  474. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
  475. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
  476. data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
  477. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
  478. data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
  479. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
  480. data/rbi/stripe/services/billing/meter_service.rbi +163 -0
  481. data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
  482. data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
  483. data/rbi/stripe/services/billing_portal_service.rbi +10 -0
  484. data/rbi/stripe/services/billing_service.rbi +15 -0
  485. data/rbi/stripe/services/charge_service.rbi +448 -0
  486. data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
  487. data/rbi/stripe/services/checkout/session_service.rbi +2585 -0
  488. data/rbi/stripe/services/checkout_service.rbi +9 -0
  489. data/rbi/stripe/services/climate/order_service.rbi +142 -0
  490. data/rbi/stripe/services/climate/product_service.rbi +46 -0
  491. data/rbi/stripe/services/climate/supplier_service.rbi +46 -0
  492. data/rbi/stripe/services/climate_service.rbi +11 -0
  493. data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
  494. data/rbi/stripe/services/country_spec_service.rbi +44 -0
  495. data/rbi/stripe/services/coupon_service.rbi +196 -0
  496. data/rbi/stripe/services/credit_note_line_item_service.rbi +31 -0
  497. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
  498. data/rbi/stripe/services/credit_note_service.rbi +416 -0
  499. data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
  500. data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
  501. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
  502. data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
  503. data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
  504. data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
  505. data/rbi/stripe/services/customer_service.rbi +651 -0
  506. data/rbi/stripe/services/customer_session_service.rbi +116 -0
  507. data/rbi/stripe/services/customer_tax_id_service.rbi +72 -0
  508. data/rbi/stripe/services/dispute_service.rbi +424 -0
  509. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
  510. data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
  511. data/rbi/stripe/services/entitlements_service.rbi +10 -0
  512. data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
  513. data/rbi/stripe/services/event_service.rbi +83 -0
  514. data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
  515. data/rbi/stripe/services/file_link_service.rbi +124 -0
  516. data/rbi/stripe/services/file_service.rbi +116 -0
  517. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
  518. data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
  519. data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
  520. data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
  521. data/rbi/stripe/services/financial_connections_service.rbi +11 -0
  522. data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
  523. data/rbi/stripe/services/forwarding_service.rbi +9 -0
  524. data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
  525. data/rbi/stripe/services/identity/verification_session_service.rbi +323 -0
  526. data/rbi/stripe/services/identity_service.rbi +10 -0
  527. data/rbi/stripe/services/invoice_item_service.rbi +368 -0
  528. data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
  529. data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
  530. data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
  531. data/rbi/stripe/services/invoice_service.rbi +2920 -0
  532. data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
  533. data/rbi/stripe/services/issuing/card_service.rbi +495 -0
  534. data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
  535. data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
  536. data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
  537. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
  538. data/rbi/stripe/services/issuing/token_service.rbi +99 -0
  539. data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
  540. data/rbi/stripe/services/issuing_service.rbi +16 -0
  541. data/rbi/stripe/services/mandate_service.rbi +20 -0
  542. data/rbi/stripe/services/payment_intent_service.rbi +7759 -0
  543. data/rbi/stripe/services/payment_link_line_item_service.rbi +31 -0
  544. data/rbi/stripe/services/payment_link_service.rbi +1352 -0
  545. data/rbi/stripe/services/payment_method_configuration_service.rbi +2211 -0
  546. data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
  547. data/rbi/stripe/services/payment_method_service.rbi +840 -0
  548. data/rbi/stripe/services/payout_service.rbi +205 -0
  549. data/rbi/stripe/services/plan_service.rbi +284 -0
  550. data/rbi/stripe/services/price_service.rbi +546 -0
  551. data/rbi/stripe/services/product_feature_service.rbi +69 -0
  552. data/rbi/stripe/services/product_service.rbi +479 -0
  553. data/rbi/stripe/services/promotion_code_service.rbi +214 -0
  554. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
  555. data/rbi/stripe/services/quote_line_item_service.rbi +31 -0
  556. data/rbi/stripe/services/quote_service.rbi +686 -0
  557. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
  558. data/rbi/stripe/services/radar/value_list_item_service.rbi +111 -0
  559. data/rbi/stripe/services/radar/value_list_service.rbi +143 -0
  560. data/rbi/stripe/services/radar_service.rbi +11 -0
  561. data/rbi/stripe/services/refund_service.rbi +185 -0
  562. data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
  563. data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
  564. data/rbi/stripe/services/reporting_service.rbi +10 -0
  565. data/rbi/stripe/services/review_service.rbi +84 -0
  566. data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
  567. data/rbi/stripe/services/setup_intent_service.rbi +3596 -0
  568. data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
  569. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
  570. data/rbi/stripe/services/sigma_service.rbi +9 -0
  571. data/rbi/stripe/services/source_service.rbi +663 -0
  572. data/rbi/stripe/services/source_transaction_service.rbi +31 -0
  573. data/rbi/stripe/services/subscription_item_service.rbi +324 -0
  574. data/rbi/stripe/services/subscription_schedule_service.rbi +1192 -0
  575. data/rbi/stripe/services/subscription_service.rbi +1596 -0
  576. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +33 -0
  577. data/rbi/stripe/services/tax/calculation_service.rbi +230 -0
  578. data/rbi/stripe/services/tax/registration_service.rbi +1689 -0
  579. data/rbi/stripe/services/tax/settings_service.rbi +93 -0
  580. data/rbi/stripe/services/tax/transaction_line_item_service.rbi +33 -0
  581. data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
  582. data/rbi/stripe/services/tax_code_service.rbi +44 -0
  583. data/rbi/stripe/services/tax_id_service.rbi +112 -0
  584. data/rbi/stripe/services/tax_rate_service.rbi +185 -0
  585. data/rbi/stripe/services/tax_service.rbi +12 -0
  586. data/rbi/stripe/services/terminal/configuration_service.rbi +1120 -0
  587. data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
  588. data/rbi/stripe/services/terminal/location_service.rbi +184 -0
  589. data/rbi/stripe/services/terminal/reader_service.rbi +344 -0
  590. data/rbi/stripe/services/terminal_service.rbi +12 -0
  591. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +746 -0
  592. data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
  593. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
  594. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
  595. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
  596. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
  597. data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
  598. data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
  599. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +62 -0
  600. data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
  601. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +92 -0
  602. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
  603. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
  604. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
  605. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
  606. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
  607. data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
  608. data/rbi/stripe/services/test_helpers_service.rbi +15 -0
  609. data/rbi/stripe/services/token_service.rbi +1189 -0
  610. data/rbi/stripe/services/topup_service.rbi +176 -0
  611. data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
  612. data/rbi/stripe/services/transfer_service.rbi +152 -0
  613. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
  614. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
  615. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
  616. data/rbi/stripe/services/treasury/financial_account_service.rbi +562 -0
  617. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
  618. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
  619. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
  620. data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
  621. data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
  622. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
  623. data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
  624. data/rbi/stripe/services/treasury_service.rbi +18 -0
  625. data/rbi/stripe/services/v1_services.rbi +77 -0
  626. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
  627. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
  628. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +20 -0
  629. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
  630. data/rbi/stripe/services/v2/billing_service.rbi +14 -0
  631. data/rbi/stripe/services/v2/core/event_destination_service.rbi +200 -0
  632. data/rbi/stripe/services/v2/core/event_service.rbi +36 -0
  633. data/rbi/stripe/services/v2/core_service.rbi +12 -0
  634. data/rbi/stripe/services/v2_services.rbi +10 -0
  635. data/rbi/stripe/services/webhook_endpoint_service.rbi +131 -0
  636. metadata +333 -7
  637. data/lib/stripe/resources/usage_record.rb +0 -17
  638. data/lib/stripe/resources/usage_record_summary.rb +0 -12
  639. data/lib/stripe/services/invoice_upcoming_lines_service.rb +0 -17
  640. data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -23
  641. data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -19
@@ -0,0 +1,4143 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ # typed: true
5
+ module Stripe
6
+ class AccountService < StripeService
7
+ attr_reader :capabilities
8
+ attr_reader :external_accounts
9
+ attr_reader :login_links
10
+ attr_reader :persons
11
+ class DeleteParams < Stripe::RequestParams
12
+
13
+ end
14
+ class RetrieveParams < Stripe::RequestParams
15
+ # Specifies which fields in the response should be expanded.
16
+ sig { returns(T.nilable(T::Array[String])) }
17
+ attr_accessor :expand
18
+ sig { params(expand: T.nilable(T::Array[String])).void }
19
+ def initialize(expand: nil); end
20
+ end
21
+ class UpdateParams < Stripe::RequestParams
22
+ class BankAccount < Stripe::RequestParams
23
+ # Attribute for param field object
24
+ sig { returns(String) }
25
+ attr_accessor :object
26
+ # The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object.
27
+ sig { returns(T.nilable(String)) }
28
+ attr_accessor :account_holder_name
29
+ # The type of entity that holds the account. It can be `company` or `individual`. This field is required when attaching the bank account to a `Customer` object.
30
+ sig { returns(T.nilable(String)) }
31
+ attr_accessor :account_holder_type
32
+ # The account number for the bank account, in string form. Must be a checking account.
33
+ sig { returns(String) }
34
+ attr_accessor :account_number
35
+ # The country in which the bank account is located.
36
+ sig { returns(String) }
37
+ attr_accessor :country
38
+ # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
39
+ sig { returns(T.nilable(String)) }
40
+ attr_accessor :currency
41
+ # The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
42
+ sig { returns(T.nilable(String)) }
43
+ attr_accessor :routing_number
44
+ sig {
45
+ params(object: String, account_holder_name: T.nilable(String), account_holder_type: T.nilable(String), account_number: String, country: String, currency: T.nilable(String), routing_number: T.nilable(String)).void
46
+ }
47
+ def initialize(
48
+ object: nil,
49
+ account_holder_name: nil,
50
+ account_holder_type: nil,
51
+ account_number: nil,
52
+ country: nil,
53
+ currency: nil,
54
+ routing_number: nil
55
+ ); end
56
+ end
57
+ class BusinessProfile < Stripe::RequestParams
58
+ class AnnualRevenue < Stripe::RequestParams
59
+ # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).
60
+ sig { returns(Integer) }
61
+ attr_accessor :amount
62
+ # 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).
63
+ sig { returns(String) }
64
+ attr_accessor :currency
65
+ # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
66
+ sig { returns(String) }
67
+ attr_accessor :fiscal_year_end
68
+ sig { params(amount: Integer, currency: String, fiscal_year_end: String).void }
69
+ def initialize(amount: nil, currency: nil, fiscal_year_end: nil); end
70
+ end
71
+ class MonthlyEstimatedRevenue < Stripe::RequestParams
72
+ # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).
73
+ sig { returns(Integer) }
74
+ attr_accessor :amount
75
+ # 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).
76
+ sig { returns(String) }
77
+ attr_accessor :currency
78
+ sig { params(amount: Integer, currency: String).void }
79
+ def initialize(amount: nil, currency: nil); end
80
+ end
81
+ class SupportAddress < Stripe::RequestParams
82
+ # City, district, suburb, town, or village.
83
+ sig { returns(T.nilable(String)) }
84
+ attr_accessor :city
85
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
86
+ sig { returns(T.nilable(String)) }
87
+ attr_accessor :country
88
+ # Address line 1 (e.g., street, PO Box, or company name).
89
+ sig { returns(T.nilable(String)) }
90
+ attr_accessor :line1
91
+ # Address line 2 (e.g., apartment, suite, unit, or building).
92
+ sig { returns(T.nilable(String)) }
93
+ attr_accessor :line2
94
+ # ZIP or postal code.
95
+ sig { returns(T.nilable(String)) }
96
+ attr_accessor :postal_code
97
+ # State, county, province, or region.
98
+ sig { returns(T.nilable(String)) }
99
+ attr_accessor :state
100
+ sig {
101
+ params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String)).void
102
+ }
103
+ def initialize(
104
+ city: nil,
105
+ country: nil,
106
+ line1: nil,
107
+ line2: nil,
108
+ postal_code: nil,
109
+ state: nil
110
+ ); end
111
+ end
112
+ # The applicant's gross annual revenue for its preceding fiscal year.
113
+ sig {
114
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::BusinessProfile::AnnualRevenue))
115
+ }
116
+ attr_accessor :annual_revenue
117
+ # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
118
+ sig { returns(T.nilable(Integer)) }
119
+ attr_accessor :estimated_worker_count
120
+ # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
121
+ sig { returns(T.nilable(String)) }
122
+ attr_accessor :mcc
123
+ # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
124
+ sig {
125
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::BusinessProfile::MonthlyEstimatedRevenue))
126
+ }
127
+ attr_accessor :monthly_estimated_revenue
128
+ # The customer-facing business name.
129
+ sig { returns(T.nilable(String)) }
130
+ attr_accessor :name
131
+ # Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
132
+ sig { returns(T.nilable(String)) }
133
+ attr_accessor :product_description
134
+ # A publicly available mailing address for sending support issues to.
135
+ sig {
136
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::BusinessProfile::SupportAddress))
137
+ }
138
+ attr_accessor :support_address
139
+ # A publicly available email address for sending support issues to.
140
+ sig { returns(T.nilable(String)) }
141
+ attr_accessor :support_email
142
+ # A publicly available phone number to call with support issues.
143
+ sig { returns(T.nilable(String)) }
144
+ attr_accessor :support_phone
145
+ # A publicly available website for handling support issues.
146
+ sig { returns(T.nilable(T.nilable(String))) }
147
+ attr_accessor :support_url
148
+ # The business's publicly available website.
149
+ sig { returns(T.nilable(String)) }
150
+ attr_accessor :url
151
+ sig {
152
+ params(annual_revenue: T.nilable(::Stripe::AccountService::UpdateParams::BusinessProfile::AnnualRevenue), estimated_worker_count: T.nilable(Integer), mcc: T.nilable(String), monthly_estimated_revenue: T.nilable(::Stripe::AccountService::UpdateParams::BusinessProfile::MonthlyEstimatedRevenue), name: T.nilable(String), product_description: T.nilable(String), support_address: T.nilable(::Stripe::AccountService::UpdateParams::BusinessProfile::SupportAddress), support_email: T.nilable(String), support_phone: T.nilable(String), support_url: T.nilable(T.nilable(String)), url: T.nilable(String)).void
153
+ }
154
+ def initialize(
155
+ annual_revenue: nil,
156
+ estimated_worker_count: nil,
157
+ mcc: nil,
158
+ monthly_estimated_revenue: nil,
159
+ name: nil,
160
+ product_description: nil,
161
+ support_address: nil,
162
+ support_email: nil,
163
+ support_phone: nil,
164
+ support_url: nil,
165
+ url: nil
166
+ ); end
167
+ end
168
+ class Capabilities < Stripe::RequestParams
169
+ class AcssDebitPayments < Stripe::RequestParams
170
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
171
+ sig { returns(T.nilable(T::Boolean)) }
172
+ attr_accessor :requested
173
+ sig { params(requested: T.nilable(T::Boolean)).void }
174
+ def initialize(requested: nil); end
175
+ end
176
+ class AffirmPayments < Stripe::RequestParams
177
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
178
+ sig { returns(T.nilable(T::Boolean)) }
179
+ attr_accessor :requested
180
+ sig { params(requested: T.nilable(T::Boolean)).void }
181
+ def initialize(requested: nil); end
182
+ end
183
+ class AfterpayClearpayPayments < Stripe::RequestParams
184
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
185
+ sig { returns(T.nilable(T::Boolean)) }
186
+ attr_accessor :requested
187
+ sig { params(requested: T.nilable(T::Boolean)).void }
188
+ def initialize(requested: nil); end
189
+ end
190
+ class AlmaPayments < Stripe::RequestParams
191
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
192
+ sig { returns(T.nilable(T::Boolean)) }
193
+ attr_accessor :requested
194
+ sig { params(requested: T.nilable(T::Boolean)).void }
195
+ def initialize(requested: nil); end
196
+ end
197
+ class AmazonPayPayments < Stripe::RequestParams
198
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
199
+ sig { returns(T.nilable(T::Boolean)) }
200
+ attr_accessor :requested
201
+ sig { params(requested: T.nilable(T::Boolean)).void }
202
+ def initialize(requested: nil); end
203
+ end
204
+ class AuBecsDebitPayments < Stripe::RequestParams
205
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
206
+ sig { returns(T.nilable(T::Boolean)) }
207
+ attr_accessor :requested
208
+ sig { params(requested: T.nilable(T::Boolean)).void }
209
+ def initialize(requested: nil); end
210
+ end
211
+ class BacsDebitPayments < Stripe::RequestParams
212
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
213
+ sig { returns(T.nilable(T::Boolean)) }
214
+ attr_accessor :requested
215
+ sig { params(requested: T.nilable(T::Boolean)).void }
216
+ def initialize(requested: nil); end
217
+ end
218
+ class BancontactPayments < Stripe::RequestParams
219
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
220
+ sig { returns(T.nilable(T::Boolean)) }
221
+ attr_accessor :requested
222
+ sig { params(requested: T.nilable(T::Boolean)).void }
223
+ def initialize(requested: nil); end
224
+ end
225
+ class BankTransferPayments < Stripe::RequestParams
226
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
227
+ sig { returns(T.nilable(T::Boolean)) }
228
+ attr_accessor :requested
229
+ sig { params(requested: T.nilable(T::Boolean)).void }
230
+ def initialize(requested: nil); end
231
+ end
232
+ class BilliePayments < Stripe::RequestParams
233
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
234
+ sig { returns(T.nilable(T::Boolean)) }
235
+ attr_accessor :requested
236
+ sig { params(requested: T.nilable(T::Boolean)).void }
237
+ def initialize(requested: nil); end
238
+ end
239
+ class BlikPayments < Stripe::RequestParams
240
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
241
+ sig { returns(T.nilable(T::Boolean)) }
242
+ attr_accessor :requested
243
+ sig { params(requested: T.nilable(T::Boolean)).void }
244
+ def initialize(requested: nil); end
245
+ end
246
+ class BoletoPayments < Stripe::RequestParams
247
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
248
+ sig { returns(T.nilable(T::Boolean)) }
249
+ attr_accessor :requested
250
+ sig { params(requested: T.nilable(T::Boolean)).void }
251
+ def initialize(requested: nil); end
252
+ end
253
+ class CardIssuing < Stripe::RequestParams
254
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
255
+ sig { returns(T.nilable(T::Boolean)) }
256
+ attr_accessor :requested
257
+ sig { params(requested: T.nilable(T::Boolean)).void }
258
+ def initialize(requested: nil); end
259
+ end
260
+ class CardPayments < Stripe::RequestParams
261
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
262
+ sig { returns(T.nilable(T::Boolean)) }
263
+ attr_accessor :requested
264
+ sig { params(requested: T.nilable(T::Boolean)).void }
265
+ def initialize(requested: nil); end
266
+ end
267
+ class CartesBancairesPayments < Stripe::RequestParams
268
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
269
+ sig { returns(T.nilable(T::Boolean)) }
270
+ attr_accessor :requested
271
+ sig { params(requested: T.nilable(T::Boolean)).void }
272
+ def initialize(requested: nil); end
273
+ end
274
+ class CashappPayments < Stripe::RequestParams
275
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
276
+ sig { returns(T.nilable(T::Boolean)) }
277
+ attr_accessor :requested
278
+ sig { params(requested: T.nilable(T::Boolean)).void }
279
+ def initialize(requested: nil); end
280
+ end
281
+ class EpsPayments < Stripe::RequestParams
282
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
283
+ sig { returns(T.nilable(T::Boolean)) }
284
+ attr_accessor :requested
285
+ sig { params(requested: T.nilable(T::Boolean)).void }
286
+ def initialize(requested: nil); end
287
+ end
288
+ class FpxPayments < Stripe::RequestParams
289
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
290
+ sig { returns(T.nilable(T::Boolean)) }
291
+ attr_accessor :requested
292
+ sig { params(requested: T.nilable(T::Boolean)).void }
293
+ def initialize(requested: nil); end
294
+ end
295
+ class GbBankTransferPayments < Stripe::RequestParams
296
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
297
+ sig { returns(T.nilable(T::Boolean)) }
298
+ attr_accessor :requested
299
+ sig { params(requested: T.nilable(T::Boolean)).void }
300
+ def initialize(requested: nil); end
301
+ end
302
+ class GiropayPayments < Stripe::RequestParams
303
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
304
+ sig { returns(T.nilable(T::Boolean)) }
305
+ attr_accessor :requested
306
+ sig { params(requested: T.nilable(T::Boolean)).void }
307
+ def initialize(requested: nil); end
308
+ end
309
+ class GrabpayPayments < Stripe::RequestParams
310
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
311
+ sig { returns(T.nilable(T::Boolean)) }
312
+ attr_accessor :requested
313
+ sig { params(requested: T.nilable(T::Boolean)).void }
314
+ def initialize(requested: nil); end
315
+ end
316
+ class IdealPayments < Stripe::RequestParams
317
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
318
+ sig { returns(T.nilable(T::Boolean)) }
319
+ attr_accessor :requested
320
+ sig { params(requested: T.nilable(T::Boolean)).void }
321
+ def initialize(requested: nil); end
322
+ end
323
+ class IndiaInternationalPayments < Stripe::RequestParams
324
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
325
+ sig { returns(T.nilable(T::Boolean)) }
326
+ attr_accessor :requested
327
+ sig { params(requested: T.nilable(T::Boolean)).void }
328
+ def initialize(requested: nil); end
329
+ end
330
+ class JcbPayments < Stripe::RequestParams
331
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
332
+ sig { returns(T.nilable(T::Boolean)) }
333
+ attr_accessor :requested
334
+ sig { params(requested: T.nilable(T::Boolean)).void }
335
+ def initialize(requested: nil); end
336
+ end
337
+ class JpBankTransferPayments < Stripe::RequestParams
338
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
339
+ sig { returns(T.nilable(T::Boolean)) }
340
+ attr_accessor :requested
341
+ sig { params(requested: T.nilable(T::Boolean)).void }
342
+ def initialize(requested: nil); end
343
+ end
344
+ class KakaoPayPayments < Stripe::RequestParams
345
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
346
+ sig { returns(T.nilable(T::Boolean)) }
347
+ attr_accessor :requested
348
+ sig { params(requested: T.nilable(T::Boolean)).void }
349
+ def initialize(requested: nil); end
350
+ end
351
+ class KlarnaPayments < Stripe::RequestParams
352
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
353
+ sig { returns(T.nilable(T::Boolean)) }
354
+ attr_accessor :requested
355
+ sig { params(requested: T.nilable(T::Boolean)).void }
356
+ def initialize(requested: nil); end
357
+ end
358
+ class KonbiniPayments < Stripe::RequestParams
359
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
360
+ sig { returns(T.nilable(T::Boolean)) }
361
+ attr_accessor :requested
362
+ sig { params(requested: T.nilable(T::Boolean)).void }
363
+ def initialize(requested: nil); end
364
+ end
365
+ class KrCardPayments < Stripe::RequestParams
366
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
367
+ sig { returns(T.nilable(T::Boolean)) }
368
+ attr_accessor :requested
369
+ sig { params(requested: T.nilable(T::Boolean)).void }
370
+ def initialize(requested: nil); end
371
+ end
372
+ class LegacyPayments < Stripe::RequestParams
373
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
374
+ sig { returns(T.nilable(T::Boolean)) }
375
+ attr_accessor :requested
376
+ sig { params(requested: T.nilable(T::Boolean)).void }
377
+ def initialize(requested: nil); end
378
+ end
379
+ class LinkPayments < Stripe::RequestParams
380
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
381
+ sig { returns(T.nilable(T::Boolean)) }
382
+ attr_accessor :requested
383
+ sig { params(requested: T.nilable(T::Boolean)).void }
384
+ def initialize(requested: nil); end
385
+ end
386
+ class MobilepayPayments < Stripe::RequestParams
387
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
388
+ sig { returns(T.nilable(T::Boolean)) }
389
+ attr_accessor :requested
390
+ sig { params(requested: T.nilable(T::Boolean)).void }
391
+ def initialize(requested: nil); end
392
+ end
393
+ class MultibancoPayments < Stripe::RequestParams
394
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
395
+ sig { returns(T.nilable(T::Boolean)) }
396
+ attr_accessor :requested
397
+ sig { params(requested: T.nilable(T::Boolean)).void }
398
+ def initialize(requested: nil); end
399
+ end
400
+ class MxBankTransferPayments < Stripe::RequestParams
401
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
402
+ sig { returns(T.nilable(T::Boolean)) }
403
+ attr_accessor :requested
404
+ sig { params(requested: T.nilable(T::Boolean)).void }
405
+ def initialize(requested: nil); end
406
+ end
407
+ class NaverPayPayments < Stripe::RequestParams
408
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
409
+ sig { returns(T.nilable(T::Boolean)) }
410
+ attr_accessor :requested
411
+ sig { params(requested: T.nilable(T::Boolean)).void }
412
+ def initialize(requested: nil); end
413
+ end
414
+ class NzBankAccountBecsDebitPayments < Stripe::RequestParams
415
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
416
+ sig { returns(T.nilable(T::Boolean)) }
417
+ attr_accessor :requested
418
+ sig { params(requested: T.nilable(T::Boolean)).void }
419
+ def initialize(requested: nil); end
420
+ end
421
+ class OxxoPayments < Stripe::RequestParams
422
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
423
+ sig { returns(T.nilable(T::Boolean)) }
424
+ attr_accessor :requested
425
+ sig { params(requested: T.nilable(T::Boolean)).void }
426
+ def initialize(requested: nil); end
427
+ end
428
+ class P24Payments < Stripe::RequestParams
429
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
430
+ sig { returns(T.nilable(T::Boolean)) }
431
+ attr_accessor :requested
432
+ sig { params(requested: T.nilable(T::Boolean)).void }
433
+ def initialize(requested: nil); end
434
+ end
435
+ class PayByBankPayments < Stripe::RequestParams
436
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
437
+ sig { returns(T.nilable(T::Boolean)) }
438
+ attr_accessor :requested
439
+ sig { params(requested: T.nilable(T::Boolean)).void }
440
+ def initialize(requested: nil); end
441
+ end
442
+ class PaycoPayments < Stripe::RequestParams
443
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
444
+ sig { returns(T.nilable(T::Boolean)) }
445
+ attr_accessor :requested
446
+ sig { params(requested: T.nilable(T::Boolean)).void }
447
+ def initialize(requested: nil); end
448
+ end
449
+ class PaynowPayments < Stripe::RequestParams
450
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
451
+ sig { returns(T.nilable(T::Boolean)) }
452
+ attr_accessor :requested
453
+ sig { params(requested: T.nilable(T::Boolean)).void }
454
+ def initialize(requested: nil); end
455
+ end
456
+ class PromptpayPayments < Stripe::RequestParams
457
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
458
+ sig { returns(T.nilable(T::Boolean)) }
459
+ attr_accessor :requested
460
+ sig { params(requested: T.nilable(T::Boolean)).void }
461
+ def initialize(requested: nil); end
462
+ end
463
+ class RevolutPayPayments < Stripe::RequestParams
464
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
465
+ sig { returns(T.nilable(T::Boolean)) }
466
+ attr_accessor :requested
467
+ sig { params(requested: T.nilable(T::Boolean)).void }
468
+ def initialize(requested: nil); end
469
+ end
470
+ class SamsungPayPayments < Stripe::RequestParams
471
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
472
+ sig { returns(T.nilable(T::Boolean)) }
473
+ attr_accessor :requested
474
+ sig { params(requested: T.nilable(T::Boolean)).void }
475
+ def initialize(requested: nil); end
476
+ end
477
+ class SatispayPayments < Stripe::RequestParams
478
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
479
+ sig { returns(T.nilable(T::Boolean)) }
480
+ attr_accessor :requested
481
+ sig { params(requested: T.nilable(T::Boolean)).void }
482
+ def initialize(requested: nil); end
483
+ end
484
+ class SepaBankTransferPayments < Stripe::RequestParams
485
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
486
+ sig { returns(T.nilable(T::Boolean)) }
487
+ attr_accessor :requested
488
+ sig { params(requested: T.nilable(T::Boolean)).void }
489
+ def initialize(requested: nil); end
490
+ end
491
+ class SepaDebitPayments < Stripe::RequestParams
492
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
493
+ sig { returns(T.nilable(T::Boolean)) }
494
+ attr_accessor :requested
495
+ sig { params(requested: T.nilable(T::Boolean)).void }
496
+ def initialize(requested: nil); end
497
+ end
498
+ class SofortPayments < Stripe::RequestParams
499
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
500
+ sig { returns(T.nilable(T::Boolean)) }
501
+ attr_accessor :requested
502
+ sig { params(requested: T.nilable(T::Boolean)).void }
503
+ def initialize(requested: nil); end
504
+ end
505
+ class SwishPayments < Stripe::RequestParams
506
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
507
+ sig { returns(T.nilable(T::Boolean)) }
508
+ attr_accessor :requested
509
+ sig { params(requested: T.nilable(T::Boolean)).void }
510
+ def initialize(requested: nil); end
511
+ end
512
+ class TaxReportingUs1099K < Stripe::RequestParams
513
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
514
+ sig { returns(T.nilable(T::Boolean)) }
515
+ attr_accessor :requested
516
+ sig { params(requested: T.nilable(T::Boolean)).void }
517
+ def initialize(requested: nil); end
518
+ end
519
+ class TaxReportingUs1099Misc < Stripe::RequestParams
520
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
521
+ sig { returns(T.nilable(T::Boolean)) }
522
+ attr_accessor :requested
523
+ sig { params(requested: T.nilable(T::Boolean)).void }
524
+ def initialize(requested: nil); end
525
+ end
526
+ class Transfers < Stripe::RequestParams
527
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
528
+ sig { returns(T.nilable(T::Boolean)) }
529
+ attr_accessor :requested
530
+ sig { params(requested: T.nilable(T::Boolean)).void }
531
+ def initialize(requested: nil); end
532
+ end
533
+ class Treasury < Stripe::RequestParams
534
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
535
+ sig { returns(T.nilable(T::Boolean)) }
536
+ attr_accessor :requested
537
+ sig { params(requested: T.nilable(T::Boolean)).void }
538
+ def initialize(requested: nil); end
539
+ end
540
+ class TwintPayments < Stripe::RequestParams
541
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
542
+ sig { returns(T.nilable(T::Boolean)) }
543
+ attr_accessor :requested
544
+ sig { params(requested: T.nilable(T::Boolean)).void }
545
+ def initialize(requested: nil); end
546
+ end
547
+ class UsBankAccountAchPayments < Stripe::RequestParams
548
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
549
+ sig { returns(T.nilable(T::Boolean)) }
550
+ attr_accessor :requested
551
+ sig { params(requested: T.nilable(T::Boolean)).void }
552
+ def initialize(requested: nil); end
553
+ end
554
+ class UsBankTransferPayments < Stripe::RequestParams
555
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
556
+ sig { returns(T.nilable(T::Boolean)) }
557
+ attr_accessor :requested
558
+ sig { params(requested: T.nilable(T::Boolean)).void }
559
+ def initialize(requested: nil); end
560
+ end
561
+ class ZipPayments < Stripe::RequestParams
562
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
563
+ sig { returns(T.nilable(T::Boolean)) }
564
+ attr_accessor :requested
565
+ sig { params(requested: T.nilable(T::Boolean)).void }
566
+ def initialize(requested: nil); end
567
+ end
568
+ # The acss_debit_payments capability.
569
+ sig {
570
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AcssDebitPayments))
571
+ }
572
+ attr_accessor :acss_debit_payments
573
+ # The affirm_payments capability.
574
+ sig {
575
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AffirmPayments))
576
+ }
577
+ attr_accessor :affirm_payments
578
+ # The afterpay_clearpay_payments capability.
579
+ sig {
580
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AfterpayClearpayPayments))
581
+ }
582
+ attr_accessor :afterpay_clearpay_payments
583
+ # The alma_payments capability.
584
+ sig {
585
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AlmaPayments))
586
+ }
587
+ attr_accessor :alma_payments
588
+ # The amazon_pay_payments capability.
589
+ sig {
590
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AmazonPayPayments))
591
+ }
592
+ attr_accessor :amazon_pay_payments
593
+ # The au_becs_debit_payments capability.
594
+ sig {
595
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AuBecsDebitPayments))
596
+ }
597
+ attr_accessor :au_becs_debit_payments
598
+ # The bacs_debit_payments capability.
599
+ sig {
600
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BacsDebitPayments))
601
+ }
602
+ attr_accessor :bacs_debit_payments
603
+ # The bancontact_payments capability.
604
+ sig {
605
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BancontactPayments))
606
+ }
607
+ attr_accessor :bancontact_payments
608
+ # The bank_transfer_payments capability.
609
+ sig {
610
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BankTransferPayments))
611
+ }
612
+ attr_accessor :bank_transfer_payments
613
+ # The billie_payments capability.
614
+ sig {
615
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BilliePayments))
616
+ }
617
+ attr_accessor :billie_payments
618
+ # The blik_payments capability.
619
+ sig {
620
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BlikPayments))
621
+ }
622
+ attr_accessor :blik_payments
623
+ # The boleto_payments capability.
624
+ sig {
625
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BoletoPayments))
626
+ }
627
+ attr_accessor :boleto_payments
628
+ # The card_issuing capability.
629
+ sig {
630
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::CardIssuing))
631
+ }
632
+ attr_accessor :card_issuing
633
+ # The card_payments capability.
634
+ sig {
635
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::CardPayments))
636
+ }
637
+ attr_accessor :card_payments
638
+ # The cartes_bancaires_payments capability.
639
+ sig {
640
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::CartesBancairesPayments))
641
+ }
642
+ attr_accessor :cartes_bancaires_payments
643
+ # The cashapp_payments capability.
644
+ sig {
645
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::CashappPayments))
646
+ }
647
+ attr_accessor :cashapp_payments
648
+ # The eps_payments capability.
649
+ sig {
650
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::EpsPayments))
651
+ }
652
+ attr_accessor :eps_payments
653
+ # The fpx_payments capability.
654
+ sig {
655
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::FpxPayments))
656
+ }
657
+ attr_accessor :fpx_payments
658
+ # The gb_bank_transfer_payments capability.
659
+ sig {
660
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::GbBankTransferPayments))
661
+ }
662
+ attr_accessor :gb_bank_transfer_payments
663
+ # The giropay_payments capability.
664
+ sig {
665
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::GiropayPayments))
666
+ }
667
+ attr_accessor :giropay_payments
668
+ # The grabpay_payments capability.
669
+ sig {
670
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::GrabpayPayments))
671
+ }
672
+ attr_accessor :grabpay_payments
673
+ # The ideal_payments capability.
674
+ sig {
675
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::IdealPayments))
676
+ }
677
+ attr_accessor :ideal_payments
678
+ # The india_international_payments capability.
679
+ sig {
680
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::IndiaInternationalPayments))
681
+ }
682
+ attr_accessor :india_international_payments
683
+ # The jcb_payments capability.
684
+ sig {
685
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::JcbPayments))
686
+ }
687
+ attr_accessor :jcb_payments
688
+ # The jp_bank_transfer_payments capability.
689
+ sig {
690
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::JpBankTransferPayments))
691
+ }
692
+ attr_accessor :jp_bank_transfer_payments
693
+ # The kakao_pay_payments capability.
694
+ sig {
695
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::KakaoPayPayments))
696
+ }
697
+ attr_accessor :kakao_pay_payments
698
+ # The klarna_payments capability.
699
+ sig {
700
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::KlarnaPayments))
701
+ }
702
+ attr_accessor :klarna_payments
703
+ # The konbini_payments capability.
704
+ sig {
705
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::KonbiniPayments))
706
+ }
707
+ attr_accessor :konbini_payments
708
+ # The kr_card_payments capability.
709
+ sig {
710
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::KrCardPayments))
711
+ }
712
+ attr_accessor :kr_card_payments
713
+ # The legacy_payments capability.
714
+ sig {
715
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::LegacyPayments))
716
+ }
717
+ attr_accessor :legacy_payments
718
+ # The link_payments capability.
719
+ sig {
720
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::LinkPayments))
721
+ }
722
+ attr_accessor :link_payments
723
+ # The mobilepay_payments capability.
724
+ sig {
725
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::MobilepayPayments))
726
+ }
727
+ attr_accessor :mobilepay_payments
728
+ # The multibanco_payments capability.
729
+ sig {
730
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::MultibancoPayments))
731
+ }
732
+ attr_accessor :multibanco_payments
733
+ # The mx_bank_transfer_payments capability.
734
+ sig {
735
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::MxBankTransferPayments))
736
+ }
737
+ attr_accessor :mx_bank_transfer_payments
738
+ # The naver_pay_payments capability.
739
+ sig {
740
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::NaverPayPayments))
741
+ }
742
+ attr_accessor :naver_pay_payments
743
+ # The nz_bank_account_becs_debit_payments capability.
744
+ sig {
745
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::NzBankAccountBecsDebitPayments))
746
+ }
747
+ attr_accessor :nz_bank_account_becs_debit_payments
748
+ # The oxxo_payments capability.
749
+ sig {
750
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::OxxoPayments))
751
+ }
752
+ attr_accessor :oxxo_payments
753
+ # The p24_payments capability.
754
+ sig {
755
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::P24Payments))
756
+ }
757
+ attr_accessor :p24_payments
758
+ # The pay_by_bank_payments capability.
759
+ sig {
760
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PayByBankPayments))
761
+ }
762
+ attr_accessor :pay_by_bank_payments
763
+ # The payco_payments capability.
764
+ sig {
765
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PaycoPayments))
766
+ }
767
+ attr_accessor :payco_payments
768
+ # The paynow_payments capability.
769
+ sig {
770
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PaynowPayments))
771
+ }
772
+ attr_accessor :paynow_payments
773
+ # The promptpay_payments capability.
774
+ sig {
775
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PromptpayPayments))
776
+ }
777
+ attr_accessor :promptpay_payments
778
+ # The revolut_pay_payments capability.
779
+ sig {
780
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::RevolutPayPayments))
781
+ }
782
+ attr_accessor :revolut_pay_payments
783
+ # The samsung_pay_payments capability.
784
+ sig {
785
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SamsungPayPayments))
786
+ }
787
+ attr_accessor :samsung_pay_payments
788
+ # The satispay_payments capability.
789
+ sig {
790
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SatispayPayments))
791
+ }
792
+ attr_accessor :satispay_payments
793
+ # The sepa_bank_transfer_payments capability.
794
+ sig {
795
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SepaBankTransferPayments))
796
+ }
797
+ attr_accessor :sepa_bank_transfer_payments
798
+ # The sepa_debit_payments capability.
799
+ sig {
800
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SepaDebitPayments))
801
+ }
802
+ attr_accessor :sepa_debit_payments
803
+ # The sofort_payments capability.
804
+ sig {
805
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SofortPayments))
806
+ }
807
+ attr_accessor :sofort_payments
808
+ # The swish_payments capability.
809
+ sig {
810
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SwishPayments))
811
+ }
812
+ attr_accessor :swish_payments
813
+ # The tax_reporting_us_1099_k capability.
814
+ sig {
815
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::TaxReportingUs1099K))
816
+ }
817
+ attr_accessor :tax_reporting_us_1099_k
818
+ # The tax_reporting_us_1099_misc capability.
819
+ sig {
820
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::TaxReportingUs1099Misc))
821
+ }
822
+ attr_accessor :tax_reporting_us_1099_misc
823
+ # The transfers capability.
824
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::Transfers)) }
825
+ attr_accessor :transfers
826
+ # The treasury capability.
827
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::Treasury)) }
828
+ attr_accessor :treasury
829
+ # The twint_payments capability.
830
+ sig {
831
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::TwintPayments))
832
+ }
833
+ attr_accessor :twint_payments
834
+ # The us_bank_account_ach_payments capability.
835
+ sig {
836
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::UsBankAccountAchPayments))
837
+ }
838
+ attr_accessor :us_bank_account_ach_payments
839
+ # The us_bank_transfer_payments capability.
840
+ sig {
841
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::UsBankTransferPayments))
842
+ }
843
+ attr_accessor :us_bank_transfer_payments
844
+ # The zip_payments capability.
845
+ sig {
846
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::ZipPayments))
847
+ }
848
+ attr_accessor :zip_payments
849
+ sig {
850
+ params(acss_debit_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AcssDebitPayments), affirm_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AffirmPayments), afterpay_clearpay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AfterpayClearpayPayments), alma_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AlmaPayments), amazon_pay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AmazonPayPayments), au_becs_debit_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::AuBecsDebitPayments), bacs_debit_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BacsDebitPayments), bancontact_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BancontactPayments), bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BankTransferPayments), billie_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BilliePayments), blik_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BlikPayments), boleto_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::BoletoPayments), card_issuing: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::CardIssuing), card_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::CardPayments), cartes_bancaires_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::CartesBancairesPayments), cashapp_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::CashappPayments), eps_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::EpsPayments), fpx_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::FpxPayments), gb_bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::GbBankTransferPayments), giropay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::GiropayPayments), grabpay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::GrabpayPayments), ideal_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::IdealPayments), india_international_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::IndiaInternationalPayments), jcb_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::JcbPayments), jp_bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::JpBankTransferPayments), kakao_pay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::KakaoPayPayments), klarna_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::KlarnaPayments), konbini_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::KonbiniPayments), kr_card_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::KrCardPayments), legacy_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::LegacyPayments), link_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::LinkPayments), mobilepay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::MobilepayPayments), multibanco_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::MultibancoPayments), mx_bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::MxBankTransferPayments), naver_pay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::NaverPayPayments), nz_bank_account_becs_debit_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::NzBankAccountBecsDebitPayments), oxxo_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::OxxoPayments), p24_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::P24Payments), pay_by_bank_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PayByBankPayments), payco_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PaycoPayments), paynow_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PaynowPayments), promptpay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::PromptpayPayments), revolut_pay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::RevolutPayPayments), samsung_pay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SamsungPayPayments), satispay_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SatispayPayments), sepa_bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SepaBankTransferPayments), sepa_debit_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SepaDebitPayments), sofort_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SofortPayments), swish_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::SwishPayments), tax_reporting_us_1099_k: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::TaxReportingUs1099K), tax_reporting_us_1099_misc: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::TaxReportingUs1099Misc), transfers: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::Transfers), treasury: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::Treasury), twint_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::TwintPayments), us_bank_account_ach_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::UsBankAccountAchPayments), us_bank_transfer_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::UsBankTransferPayments), zip_payments: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities::ZipPayments)).void
851
+ }
852
+ def initialize(
853
+ acss_debit_payments: nil,
854
+ affirm_payments: nil,
855
+ afterpay_clearpay_payments: nil,
856
+ alma_payments: nil,
857
+ amazon_pay_payments: nil,
858
+ au_becs_debit_payments: nil,
859
+ bacs_debit_payments: nil,
860
+ bancontact_payments: nil,
861
+ bank_transfer_payments: nil,
862
+ billie_payments: nil,
863
+ blik_payments: nil,
864
+ boleto_payments: nil,
865
+ card_issuing: nil,
866
+ card_payments: nil,
867
+ cartes_bancaires_payments: nil,
868
+ cashapp_payments: nil,
869
+ eps_payments: nil,
870
+ fpx_payments: nil,
871
+ gb_bank_transfer_payments: nil,
872
+ giropay_payments: nil,
873
+ grabpay_payments: nil,
874
+ ideal_payments: nil,
875
+ india_international_payments: nil,
876
+ jcb_payments: nil,
877
+ jp_bank_transfer_payments: nil,
878
+ kakao_pay_payments: nil,
879
+ klarna_payments: nil,
880
+ konbini_payments: nil,
881
+ kr_card_payments: nil,
882
+ legacy_payments: nil,
883
+ link_payments: nil,
884
+ mobilepay_payments: nil,
885
+ multibanco_payments: nil,
886
+ mx_bank_transfer_payments: nil,
887
+ naver_pay_payments: nil,
888
+ nz_bank_account_becs_debit_payments: nil,
889
+ oxxo_payments: nil,
890
+ p24_payments: nil,
891
+ pay_by_bank_payments: nil,
892
+ payco_payments: nil,
893
+ paynow_payments: nil,
894
+ promptpay_payments: nil,
895
+ revolut_pay_payments: nil,
896
+ samsung_pay_payments: nil,
897
+ satispay_payments: nil,
898
+ sepa_bank_transfer_payments: nil,
899
+ sepa_debit_payments: nil,
900
+ sofort_payments: nil,
901
+ swish_payments: nil,
902
+ tax_reporting_us_1099_k: nil,
903
+ tax_reporting_us_1099_misc: nil,
904
+ transfers: nil,
905
+ treasury: nil,
906
+ twint_payments: nil,
907
+ us_bank_account_ach_payments: nil,
908
+ us_bank_transfer_payments: nil,
909
+ zip_payments: nil
910
+ ); end
911
+ end
912
+ class Card < Stripe::RequestParams
913
+ # Attribute for param field object
914
+ sig { returns(String) }
915
+ attr_accessor :object
916
+ # Attribute for param field address_city
917
+ sig { returns(T.nilable(String)) }
918
+ attr_accessor :address_city
919
+ # Attribute for param field address_country
920
+ sig { returns(T.nilable(String)) }
921
+ attr_accessor :address_country
922
+ # Attribute for param field address_line1
923
+ sig { returns(T.nilable(String)) }
924
+ attr_accessor :address_line1
925
+ # Attribute for param field address_line2
926
+ sig { returns(T.nilable(String)) }
927
+ attr_accessor :address_line2
928
+ # Attribute for param field address_state
929
+ sig { returns(T.nilable(String)) }
930
+ attr_accessor :address_state
931
+ # Attribute for param field address_zip
932
+ sig { returns(T.nilable(String)) }
933
+ attr_accessor :address_zip
934
+ # Attribute for param field currency
935
+ sig { returns(T.nilable(String)) }
936
+ attr_accessor :currency
937
+ # Attribute for param field cvc
938
+ sig { returns(T.nilable(String)) }
939
+ attr_accessor :cvc
940
+ # Attribute for param field exp_month
941
+ sig { returns(Integer) }
942
+ attr_accessor :exp_month
943
+ # Attribute for param field exp_year
944
+ sig { returns(Integer) }
945
+ attr_accessor :exp_year
946
+ # Attribute for param field name
947
+ sig { returns(T.nilable(String)) }
948
+ attr_accessor :name
949
+ # Attribute for param field number
950
+ sig { returns(String) }
951
+ attr_accessor :number
952
+ # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
953
+ sig { returns(T.nilable(T::Hash[String, String])) }
954
+ attr_accessor :metadata
955
+ # Attribute for param field default_for_currency
956
+ sig { returns(T.nilable(T::Boolean)) }
957
+ attr_accessor :default_for_currency
958
+ sig {
959
+ params(object: String, address_city: T.nilable(String), address_country: T.nilable(String), address_line1: T.nilable(String), address_line2: T.nilable(String), address_state: T.nilable(String), address_zip: T.nilable(String), currency: T.nilable(String), cvc: T.nilable(String), exp_month: Integer, exp_year: Integer, name: T.nilable(String), number: String, metadata: T.nilable(T::Hash[String, String]), default_for_currency: T.nilable(T::Boolean)).void
960
+ }
961
+ def initialize(
962
+ object: nil,
963
+ address_city: nil,
964
+ address_country: nil,
965
+ address_line1: nil,
966
+ address_line2: nil,
967
+ address_state: nil,
968
+ address_zip: nil,
969
+ currency: nil,
970
+ cvc: nil,
971
+ exp_month: nil,
972
+ exp_year: nil,
973
+ name: nil,
974
+ number: nil,
975
+ metadata: nil,
976
+ default_for_currency: nil
977
+ ); end
978
+ end
979
+ class CardToken < Stripe::RequestParams
980
+ # Attribute for param field object
981
+ sig { returns(String) }
982
+ attr_accessor :object
983
+ # Attribute for param field currency
984
+ sig { returns(T.nilable(String)) }
985
+ attr_accessor :currency
986
+ # Attribute for param field token
987
+ sig { returns(String) }
988
+ attr_accessor :token
989
+ sig { params(object: String, currency: T.nilable(String), token: String).void }
990
+ def initialize(object: nil, currency: nil, token: nil); end
991
+ end
992
+ class Company < Stripe::RequestParams
993
+ class Address < Stripe::RequestParams
994
+ # City, district, suburb, town, or village.
995
+ sig { returns(T.nilable(String)) }
996
+ attr_accessor :city
997
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
998
+ sig { returns(T.nilable(String)) }
999
+ attr_accessor :country
1000
+ # Address line 1 (e.g., street, PO Box, or company name).
1001
+ sig { returns(T.nilable(String)) }
1002
+ attr_accessor :line1
1003
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1004
+ sig { returns(T.nilable(String)) }
1005
+ attr_accessor :line2
1006
+ # ZIP or postal code.
1007
+ sig { returns(T.nilable(String)) }
1008
+ attr_accessor :postal_code
1009
+ # State, county, province, or region.
1010
+ sig { returns(T.nilable(String)) }
1011
+ attr_accessor :state
1012
+ sig {
1013
+ params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String)).void
1014
+ }
1015
+ def initialize(
1016
+ city: nil,
1017
+ country: nil,
1018
+ line1: nil,
1019
+ line2: nil,
1020
+ postal_code: nil,
1021
+ state: nil
1022
+ ); end
1023
+ end
1024
+ class AddressKana < Stripe::RequestParams
1025
+ # City or ward.
1026
+ sig { returns(T.nilable(String)) }
1027
+ attr_accessor :city
1028
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1029
+ sig { returns(T.nilable(String)) }
1030
+ attr_accessor :country
1031
+ # Block or building number.
1032
+ sig { returns(T.nilable(String)) }
1033
+ attr_accessor :line1
1034
+ # Building details.
1035
+ sig { returns(T.nilable(String)) }
1036
+ attr_accessor :line2
1037
+ # Postal code.
1038
+ sig { returns(T.nilable(String)) }
1039
+ attr_accessor :postal_code
1040
+ # Prefecture.
1041
+ sig { returns(T.nilable(String)) }
1042
+ attr_accessor :state
1043
+ # Town or cho-me.
1044
+ sig { returns(T.nilable(String)) }
1045
+ attr_accessor :town
1046
+ sig {
1047
+ params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String), town: T.nilable(String)).void
1048
+ }
1049
+ def initialize(
1050
+ city: nil,
1051
+ country: nil,
1052
+ line1: nil,
1053
+ line2: nil,
1054
+ postal_code: nil,
1055
+ state: nil,
1056
+ town: nil
1057
+ ); end
1058
+ end
1059
+ class AddressKanji < Stripe::RequestParams
1060
+ # City or ward.
1061
+ sig { returns(T.nilable(String)) }
1062
+ attr_accessor :city
1063
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1064
+ sig { returns(T.nilable(String)) }
1065
+ attr_accessor :country
1066
+ # Block or building number.
1067
+ sig { returns(T.nilable(String)) }
1068
+ attr_accessor :line1
1069
+ # Building details.
1070
+ sig { returns(T.nilable(String)) }
1071
+ attr_accessor :line2
1072
+ # Postal code.
1073
+ sig { returns(T.nilable(String)) }
1074
+ attr_accessor :postal_code
1075
+ # Prefecture.
1076
+ sig { returns(T.nilable(String)) }
1077
+ attr_accessor :state
1078
+ # Town or cho-me.
1079
+ sig { returns(T.nilable(String)) }
1080
+ attr_accessor :town
1081
+ sig {
1082
+ params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String), town: T.nilable(String)).void
1083
+ }
1084
+ def initialize(
1085
+ city: nil,
1086
+ country: nil,
1087
+ line1: nil,
1088
+ line2: nil,
1089
+ postal_code: nil,
1090
+ state: nil,
1091
+ town: nil
1092
+ ); end
1093
+ end
1094
+ class DirectorshipDeclaration < Stripe::RequestParams
1095
+ # The Unix timestamp marking when the directorship declaration attestation was made.
1096
+ sig { returns(T.nilable(Integer)) }
1097
+ attr_accessor :date
1098
+ # The IP address from which the directorship declaration attestation was made.
1099
+ sig { returns(T.nilable(String)) }
1100
+ attr_accessor :ip
1101
+ # The user agent of the browser from which the directorship declaration attestation was made.
1102
+ sig { returns(T.nilable(String)) }
1103
+ attr_accessor :user_agent
1104
+ sig {
1105
+ params(date: T.nilable(Integer), ip: T.nilable(String), user_agent: T.nilable(String)).void
1106
+ }
1107
+ def initialize(date: nil, ip: nil, user_agent: nil); end
1108
+ end
1109
+ class OwnershipDeclaration < Stripe::RequestParams
1110
+ # The Unix timestamp marking when the beneficial owner attestation was made.
1111
+ sig { returns(T.nilable(Integer)) }
1112
+ attr_accessor :date
1113
+ # The IP address from which the beneficial owner attestation was made.
1114
+ sig { returns(T.nilable(String)) }
1115
+ attr_accessor :ip
1116
+ # The user agent of the browser from which the beneficial owner attestation was made.
1117
+ sig { returns(T.nilable(String)) }
1118
+ attr_accessor :user_agent
1119
+ sig {
1120
+ params(date: T.nilable(Integer), ip: T.nilable(String), user_agent: T.nilable(String)).void
1121
+ }
1122
+ def initialize(date: nil, ip: nil, user_agent: nil); end
1123
+ end
1124
+ class Verification < Stripe::RequestParams
1125
+ class Document < Stripe::RequestParams
1126
+ # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. 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.
1127
+ sig { returns(T.nilable(String)) }
1128
+ attr_accessor :back
1129
+ # The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. 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.
1130
+ sig { returns(T.nilable(String)) }
1131
+ attr_accessor :front
1132
+ sig { params(back: T.nilable(String), front: T.nilable(String)).void }
1133
+ def initialize(back: nil, front: nil); end
1134
+ end
1135
+ # A document verifying the business.
1136
+ sig {
1137
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Company::Verification::Document))
1138
+ }
1139
+ attr_accessor :document
1140
+ sig {
1141
+ params(document: T.nilable(::Stripe::AccountService::UpdateParams::Company::Verification::Document)).void
1142
+ }
1143
+ def initialize(document: nil); end
1144
+ end
1145
+ # The company's primary address.
1146
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Company::Address)) }
1147
+ attr_accessor :address
1148
+ # The Kana variation of the company's primary address (Japan only).
1149
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Company::AddressKana)) }
1150
+ attr_accessor :address_kana
1151
+ # The Kanji variation of the company's primary address (Japan only).
1152
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Company::AddressKanji)) }
1153
+ attr_accessor :address_kanji
1154
+ # Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.
1155
+ sig { returns(T.nilable(T::Boolean)) }
1156
+ attr_accessor :directors_provided
1157
+ # This hash is used to attest that the directors information provided to Stripe is both current and correct.
1158
+ sig {
1159
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Company::DirectorshipDeclaration))
1160
+ }
1161
+ attr_accessor :directorship_declaration
1162
+ # Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](/api/persons) for accounts with a `relationship.executive` requirement.
1163
+ sig { returns(T.nilable(T::Boolean)) }
1164
+ attr_accessor :executives_provided
1165
+ # The export license ID number of the company, also referred as Import Export Code (India only).
1166
+ sig { returns(T.nilable(String)) }
1167
+ attr_accessor :export_license_id
1168
+ # The purpose code to use for export transactions (India only).
1169
+ sig { returns(T.nilable(String)) }
1170
+ attr_accessor :export_purpose_code
1171
+ # The company's legal name.
1172
+ sig { returns(T.nilable(String)) }
1173
+ attr_accessor :name
1174
+ # The Kana variation of the company's legal name (Japan only).
1175
+ sig { returns(T.nilable(String)) }
1176
+ attr_accessor :name_kana
1177
+ # The Kanji variation of the company's legal name (Japan only).
1178
+ sig { returns(T.nilable(String)) }
1179
+ attr_accessor :name_kanji
1180
+ # Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](/api/persons) for accounts with a `relationship.owner` requirement.
1181
+ sig { returns(T.nilable(T::Boolean)) }
1182
+ attr_accessor :owners_provided
1183
+ # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
1184
+ sig {
1185
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Company::OwnershipDeclaration))
1186
+ }
1187
+ attr_accessor :ownership_declaration
1188
+ # This value is used to determine if a business is exempt from providing ultimate beneficial owners. See [this support article](https://support.stripe.com/questions/exemption-from-providing-ownership-details) and [changelog](https://docs.stripe.com/changelog/acacia/2025-01-27/ownership-exemption-reason-accounts-api) for more details.
1189
+ sig { returns(T.nilable(T.nilable(T.any(String, String)))) }
1190
+ attr_accessor :ownership_exemption_reason
1191
+ # The company's phone number (used for verification).
1192
+ sig { returns(T.nilable(String)) }
1193
+ attr_accessor :phone
1194
+ # The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
1195
+ sig { returns(T.nilable(String)) }
1196
+ attr_accessor :registration_number
1197
+ # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
1198
+ sig { returns(T.nilable(T.nilable(T.any(String, String)))) }
1199
+ attr_accessor :structure
1200
+ # The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
1201
+ sig { returns(T.nilable(String)) }
1202
+ attr_accessor :tax_id
1203
+ # The jurisdiction in which the `tax_id` is registered (Germany-based companies only).
1204
+ sig { returns(T.nilable(String)) }
1205
+ attr_accessor :tax_id_registrar
1206
+ # The VAT number of the company.
1207
+ sig { returns(T.nilable(String)) }
1208
+ attr_accessor :vat_id
1209
+ # Information on the verification state of the company.
1210
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Company::Verification)) }
1211
+ attr_accessor :verification
1212
+ sig {
1213
+ params(address: T.nilable(::Stripe::AccountService::UpdateParams::Company::Address), address_kana: T.nilable(::Stripe::AccountService::UpdateParams::Company::AddressKana), address_kanji: T.nilable(::Stripe::AccountService::UpdateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(::Stripe::AccountService::UpdateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(::Stripe::AccountService::UpdateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.nilable(T.any(String, String))), phone: T.nilable(String), registration_number: T.nilable(String), structure: T.nilable(T.nilable(T.any(String, String))), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(::Stripe::AccountService::UpdateParams::Company::Verification)).void
1214
+ }
1215
+ def initialize(
1216
+ address: nil,
1217
+ address_kana: nil,
1218
+ address_kanji: nil,
1219
+ directors_provided: nil,
1220
+ directorship_declaration: nil,
1221
+ executives_provided: nil,
1222
+ export_license_id: nil,
1223
+ export_purpose_code: nil,
1224
+ name: nil,
1225
+ name_kana: nil,
1226
+ name_kanji: nil,
1227
+ owners_provided: nil,
1228
+ ownership_declaration: nil,
1229
+ ownership_exemption_reason: nil,
1230
+ phone: nil,
1231
+ registration_number: nil,
1232
+ structure: nil,
1233
+ tax_id: nil,
1234
+ tax_id_registrar: nil,
1235
+ vat_id: nil,
1236
+ verification: nil
1237
+ ); end
1238
+ end
1239
+ class Documents < Stripe::RequestParams
1240
+ class BankAccountOwnershipVerification < Stripe::RequestParams
1241
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1242
+ sig { returns(T.nilable(T::Array[String])) }
1243
+ attr_accessor :files
1244
+ sig { params(files: T.nilable(T::Array[String])).void }
1245
+ def initialize(files: nil); end
1246
+ end
1247
+ class CompanyLicense < Stripe::RequestParams
1248
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1249
+ sig { returns(T.nilable(T::Array[String])) }
1250
+ attr_accessor :files
1251
+ sig { params(files: T.nilable(T::Array[String])).void }
1252
+ def initialize(files: nil); end
1253
+ end
1254
+ class CompanyMemorandumOfAssociation < Stripe::RequestParams
1255
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1256
+ sig { returns(T.nilable(T::Array[String])) }
1257
+ attr_accessor :files
1258
+ sig { params(files: T.nilable(T::Array[String])).void }
1259
+ def initialize(files: nil); end
1260
+ end
1261
+ class CompanyMinisterialDecree < Stripe::RequestParams
1262
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1263
+ sig { returns(T.nilable(T::Array[String])) }
1264
+ attr_accessor :files
1265
+ sig { params(files: T.nilable(T::Array[String])).void }
1266
+ def initialize(files: nil); end
1267
+ end
1268
+ class CompanyRegistrationVerification < Stripe::RequestParams
1269
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1270
+ sig { returns(T.nilable(T::Array[String])) }
1271
+ attr_accessor :files
1272
+ sig { params(files: T.nilable(T::Array[String])).void }
1273
+ def initialize(files: nil); end
1274
+ end
1275
+ class CompanyTaxIdVerification < Stripe::RequestParams
1276
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1277
+ sig { returns(T.nilable(T::Array[String])) }
1278
+ attr_accessor :files
1279
+ sig { params(files: T.nilable(T::Array[String])).void }
1280
+ def initialize(files: nil); end
1281
+ end
1282
+ class ProofOfRegistration < Stripe::RequestParams
1283
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1284
+ sig { returns(T.nilable(T::Array[String])) }
1285
+ attr_accessor :files
1286
+ sig { params(files: T.nilable(T::Array[String])).void }
1287
+ def initialize(files: nil); end
1288
+ end
1289
+ class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
1290
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1291
+ sig { returns(T.nilable(T::Array[String])) }
1292
+ attr_accessor :files
1293
+ sig { params(files: T.nilable(T::Array[String])).void }
1294
+ def initialize(files: nil); end
1295
+ end
1296
+ # One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/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.
1297
+ sig {
1298
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Documents::BankAccountOwnershipVerification))
1299
+ }
1300
+ attr_accessor :bank_account_ownership_verification
1301
+ # One or more documents that demonstrate proof of a company's license to operate.
1302
+ sig {
1303
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Documents::CompanyLicense))
1304
+ }
1305
+ attr_accessor :company_license
1306
+ # One or more documents showing the company's Memorandum of Association.
1307
+ sig {
1308
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Documents::CompanyMemorandumOfAssociation))
1309
+ }
1310
+ attr_accessor :company_memorandum_of_association
1311
+ # (Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.
1312
+ sig {
1313
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Documents::CompanyMinisterialDecree))
1314
+ }
1315
+ attr_accessor :company_ministerial_decree
1316
+ # One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
1317
+ sig {
1318
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Documents::CompanyRegistrationVerification))
1319
+ }
1320
+ attr_accessor :company_registration_verification
1321
+ # One or more documents that demonstrate proof of a company's tax ID.
1322
+ sig {
1323
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Documents::CompanyTaxIdVerification))
1324
+ }
1325
+ attr_accessor :company_tax_id_verification
1326
+ # One or more documents showing the company’s proof of registration with the national business registry.
1327
+ sig {
1328
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Documents::ProofOfRegistration))
1329
+ }
1330
+ attr_accessor :proof_of_registration
1331
+ # One or more documents that demonstrate proof of ultimate beneficial ownership.
1332
+ sig {
1333
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Documents::ProofOfUltimateBeneficialOwnership))
1334
+ }
1335
+ attr_accessor :proof_of_ultimate_beneficial_ownership
1336
+ sig {
1337
+ params(bank_account_ownership_verification: T.nilable(::Stripe::AccountService::UpdateParams::Documents::BankAccountOwnershipVerification), company_license: T.nilable(::Stripe::AccountService::UpdateParams::Documents::CompanyLicense), company_memorandum_of_association: T.nilable(::Stripe::AccountService::UpdateParams::Documents::CompanyMemorandumOfAssociation), company_ministerial_decree: T.nilable(::Stripe::AccountService::UpdateParams::Documents::CompanyMinisterialDecree), company_registration_verification: T.nilable(::Stripe::AccountService::UpdateParams::Documents::CompanyRegistrationVerification), company_tax_id_verification: T.nilable(::Stripe::AccountService::UpdateParams::Documents::CompanyTaxIdVerification), proof_of_registration: T.nilable(::Stripe::AccountService::UpdateParams::Documents::ProofOfRegistration), proof_of_ultimate_beneficial_ownership: T.nilable(::Stripe::AccountService::UpdateParams::Documents::ProofOfUltimateBeneficialOwnership)).void
1338
+ }
1339
+ def initialize(
1340
+ bank_account_ownership_verification: nil,
1341
+ company_license: nil,
1342
+ company_memorandum_of_association: nil,
1343
+ company_ministerial_decree: nil,
1344
+ company_registration_verification: nil,
1345
+ company_tax_id_verification: nil,
1346
+ proof_of_registration: nil,
1347
+ proof_of_ultimate_beneficial_ownership: nil
1348
+ ); end
1349
+ end
1350
+ class Groups < Stripe::RequestParams
1351
+ # The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details.
1352
+ sig { returns(T.nilable(T.nilable(String))) }
1353
+ attr_accessor :payments_pricing
1354
+ sig { params(payments_pricing: T.nilable(T.nilable(String))).void }
1355
+ def initialize(payments_pricing: nil); end
1356
+ end
1357
+ class Individual < Stripe::RequestParams
1358
+ class Address < Stripe::RequestParams
1359
+ # City, district, suburb, town, or village.
1360
+ sig { returns(T.nilable(String)) }
1361
+ attr_accessor :city
1362
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1363
+ sig { returns(T.nilable(String)) }
1364
+ attr_accessor :country
1365
+ # Address line 1 (e.g., street, PO Box, or company name).
1366
+ sig { returns(T.nilable(String)) }
1367
+ attr_accessor :line1
1368
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1369
+ sig { returns(T.nilable(String)) }
1370
+ attr_accessor :line2
1371
+ # ZIP or postal code.
1372
+ sig { returns(T.nilable(String)) }
1373
+ attr_accessor :postal_code
1374
+ # State, county, province, or region.
1375
+ sig { returns(T.nilable(String)) }
1376
+ attr_accessor :state
1377
+ sig {
1378
+ params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String)).void
1379
+ }
1380
+ def initialize(
1381
+ city: nil,
1382
+ country: nil,
1383
+ line1: nil,
1384
+ line2: nil,
1385
+ postal_code: nil,
1386
+ state: nil
1387
+ ); end
1388
+ end
1389
+ class AddressKana < Stripe::RequestParams
1390
+ # City or ward.
1391
+ sig { returns(T.nilable(String)) }
1392
+ attr_accessor :city
1393
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1394
+ sig { returns(T.nilable(String)) }
1395
+ attr_accessor :country
1396
+ # Block or building number.
1397
+ sig { returns(T.nilable(String)) }
1398
+ attr_accessor :line1
1399
+ # Building details.
1400
+ sig { returns(T.nilable(String)) }
1401
+ attr_accessor :line2
1402
+ # Postal code.
1403
+ sig { returns(T.nilable(String)) }
1404
+ attr_accessor :postal_code
1405
+ # Prefecture.
1406
+ sig { returns(T.nilable(String)) }
1407
+ attr_accessor :state
1408
+ # Town or cho-me.
1409
+ sig { returns(T.nilable(String)) }
1410
+ attr_accessor :town
1411
+ sig {
1412
+ params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String), town: T.nilable(String)).void
1413
+ }
1414
+ def initialize(
1415
+ city: nil,
1416
+ country: nil,
1417
+ line1: nil,
1418
+ line2: nil,
1419
+ postal_code: nil,
1420
+ state: nil,
1421
+ town: nil
1422
+ ); end
1423
+ end
1424
+ class AddressKanji < Stripe::RequestParams
1425
+ # City or ward.
1426
+ sig { returns(T.nilable(String)) }
1427
+ attr_accessor :city
1428
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1429
+ sig { returns(T.nilable(String)) }
1430
+ attr_accessor :country
1431
+ # Block or building number.
1432
+ sig { returns(T.nilable(String)) }
1433
+ attr_accessor :line1
1434
+ # Building details.
1435
+ sig { returns(T.nilable(String)) }
1436
+ attr_accessor :line2
1437
+ # Postal code.
1438
+ sig { returns(T.nilable(String)) }
1439
+ attr_accessor :postal_code
1440
+ # Prefecture.
1441
+ sig { returns(T.nilable(String)) }
1442
+ attr_accessor :state
1443
+ # Town or cho-me.
1444
+ sig { returns(T.nilable(String)) }
1445
+ attr_accessor :town
1446
+ sig {
1447
+ params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String), town: T.nilable(String)).void
1448
+ }
1449
+ def initialize(
1450
+ city: nil,
1451
+ country: nil,
1452
+ line1: nil,
1453
+ line2: nil,
1454
+ postal_code: nil,
1455
+ state: nil,
1456
+ town: nil
1457
+ ); end
1458
+ end
1459
+ class Dob < Stripe::RequestParams
1460
+ # The day of birth, between 1 and 31.
1461
+ sig { returns(Integer) }
1462
+ attr_accessor :day
1463
+ # The month of birth, between 1 and 12.
1464
+ sig { returns(Integer) }
1465
+ attr_accessor :month
1466
+ # The four-digit year of birth.
1467
+ sig { returns(Integer) }
1468
+ attr_accessor :year
1469
+ sig { params(day: Integer, month: Integer, year: Integer).void }
1470
+ def initialize(day: nil, month: nil, year: nil); end
1471
+ end
1472
+ class RegisteredAddress < Stripe::RequestParams
1473
+ # City, district, suburb, town, or village.
1474
+ sig { returns(T.nilable(String)) }
1475
+ attr_accessor :city
1476
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1477
+ sig { returns(T.nilable(String)) }
1478
+ attr_accessor :country
1479
+ # Address line 1 (e.g., street, PO Box, or company name).
1480
+ sig { returns(T.nilable(String)) }
1481
+ attr_accessor :line1
1482
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1483
+ sig { returns(T.nilable(String)) }
1484
+ attr_accessor :line2
1485
+ # ZIP or postal code.
1486
+ sig { returns(T.nilable(String)) }
1487
+ attr_accessor :postal_code
1488
+ # State, county, province, or region.
1489
+ sig { returns(T.nilable(String)) }
1490
+ attr_accessor :state
1491
+ sig {
1492
+ params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String)).void
1493
+ }
1494
+ def initialize(
1495
+ city: nil,
1496
+ country: nil,
1497
+ line1: nil,
1498
+ line2: nil,
1499
+ postal_code: nil,
1500
+ state: nil
1501
+ ); end
1502
+ end
1503
+ class Relationship < Stripe::RequestParams
1504
+ # Whether the person 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.
1505
+ sig { returns(T.nilable(T::Boolean)) }
1506
+ attr_accessor :director
1507
+ # Whether the person has significant responsibility to control, manage, or direct the organization.
1508
+ sig { returns(T.nilable(T::Boolean)) }
1509
+ attr_accessor :executive
1510
+ # Whether the person is an owner of the account’s legal entity.
1511
+ sig { returns(T.nilable(T::Boolean)) }
1512
+ attr_accessor :owner
1513
+ # The percent owned by the person of the account's legal entity.
1514
+ sig { returns(T.nilable(T.nilable(T.any(String, Float)))) }
1515
+ attr_accessor :percent_ownership
1516
+ # The person's title (e.g., CEO, Support Engineer).
1517
+ sig { returns(T.nilable(String)) }
1518
+ attr_accessor :title
1519
+ sig {
1520
+ params(director: T.nilable(T::Boolean), executive: T.nilable(T::Boolean), owner: T.nilable(T::Boolean), percent_ownership: T.nilable(T.nilable(T.any(String, Float))), title: T.nilable(String)).void
1521
+ }
1522
+ def initialize(
1523
+ director: nil,
1524
+ executive: nil,
1525
+ owner: nil,
1526
+ percent_ownership: nil,
1527
+ title: nil
1528
+ ); end
1529
+ end
1530
+ class Verification < Stripe::RequestParams
1531
+ class AdditionalDocument < Stripe::RequestParams
1532
+ # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `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.
1533
+ sig { returns(T.nilable(String)) }
1534
+ attr_accessor :back
1535
+ # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `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.
1536
+ sig { returns(T.nilable(String)) }
1537
+ attr_accessor :front
1538
+ sig { params(back: T.nilable(String), front: T.nilable(String)).void }
1539
+ def initialize(back: nil, front: nil); end
1540
+ end
1541
+ class Document < Stripe::RequestParams
1542
+ # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `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.
1543
+ sig { returns(T.nilable(String)) }
1544
+ attr_accessor :back
1545
+ # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `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.
1546
+ sig { returns(T.nilable(String)) }
1547
+ attr_accessor :front
1548
+ sig { params(back: T.nilable(String), front: T.nilable(String)).void }
1549
+ def initialize(back: nil, front: nil); end
1550
+ end
1551
+ # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
1552
+ sig {
1553
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Individual::Verification::AdditionalDocument))
1554
+ }
1555
+ attr_accessor :additional_document
1556
+ # An identifying document, either a passport or local ID card.
1557
+ sig {
1558
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Individual::Verification::Document))
1559
+ }
1560
+ attr_accessor :document
1561
+ sig {
1562
+ params(additional_document: T.nilable(::Stripe::AccountService::UpdateParams::Individual::Verification::AdditionalDocument), document: T.nilable(::Stripe::AccountService::UpdateParams::Individual::Verification::Document)).void
1563
+ }
1564
+ def initialize(additional_document: nil, document: nil); end
1565
+ end
1566
+ # The individual's primary address.
1567
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Individual::Address)) }
1568
+ attr_accessor :address
1569
+ # The Kana variation of the individual's primary address (Japan only).
1570
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Individual::AddressKana)) }
1571
+ attr_accessor :address_kana
1572
+ # The Kanji variation of the individual's primary address (Japan only).
1573
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Individual::AddressKanji)) }
1574
+ attr_accessor :address_kanji
1575
+ # The individual's date of birth.
1576
+ sig {
1577
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::AccountService::UpdateParams::Individual::Dob))))
1578
+ }
1579
+ attr_accessor :dob
1580
+ # The individual's email address.
1581
+ sig { returns(T.nilable(String)) }
1582
+ attr_accessor :email
1583
+ # The individual's first name.
1584
+ sig { returns(T.nilable(String)) }
1585
+ attr_accessor :first_name
1586
+ # The Kana variation of the individual's first name (Japan only).
1587
+ sig { returns(T.nilable(String)) }
1588
+ attr_accessor :first_name_kana
1589
+ # The Kanji variation of the individual's first name (Japan only).
1590
+ sig { returns(T.nilable(String)) }
1591
+ attr_accessor :first_name_kanji
1592
+ # A list of alternate names or aliases that the individual is known by.
1593
+ sig { returns(T.nilable(T.nilable(T.any(String, T::Array[String])))) }
1594
+ attr_accessor :full_name_aliases
1595
+ # The individual's gender
1596
+ sig { returns(T.nilable(String)) }
1597
+ attr_accessor :gender
1598
+ # The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).
1599
+ sig { returns(T.nilable(String)) }
1600
+ attr_accessor :id_number
1601
+ # The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).
1602
+ sig { returns(T.nilable(String)) }
1603
+ attr_accessor :id_number_secondary
1604
+ # The individual's last name.
1605
+ sig { returns(T.nilable(String)) }
1606
+ attr_accessor :last_name
1607
+ # The Kana variation of the individual's last name (Japan only).
1608
+ sig { returns(T.nilable(String)) }
1609
+ attr_accessor :last_name_kana
1610
+ # The Kanji variation of the individual's last name (Japan only).
1611
+ sig { returns(T.nilable(String)) }
1612
+ attr_accessor :last_name_kanji
1613
+ # The individual's maiden name.
1614
+ sig { returns(T.nilable(String)) }
1615
+ attr_accessor :maiden_name
1616
+ # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1617
+ sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) }
1618
+ attr_accessor :metadata
1619
+ # The individual's phone number.
1620
+ sig { returns(T.nilable(String)) }
1621
+ attr_accessor :phone
1622
+ # Indicates if the person 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.
1623
+ sig { returns(T.nilable(String)) }
1624
+ attr_accessor :political_exposure
1625
+ # The individual's registered address.
1626
+ sig {
1627
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Individual::RegisteredAddress))
1628
+ }
1629
+ attr_accessor :registered_address
1630
+ # Describes the person’s relationship to the account.
1631
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Individual::Relationship)) }
1632
+ attr_accessor :relationship
1633
+ # The last four digits of the individual's Social Security Number (U.S. only).
1634
+ sig { returns(T.nilable(String)) }
1635
+ attr_accessor :ssn_last_4
1636
+ # The individual's verification document information.
1637
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Individual::Verification)) }
1638
+ attr_accessor :verification
1639
+ sig {
1640
+ params(address: T.nilable(::Stripe::AccountService::UpdateParams::Individual::Address), address_kana: T.nilable(::Stripe::AccountService::UpdateParams::Individual::AddressKana), address_kanji: T.nilable(::Stripe::AccountService::UpdateParams::Individual::AddressKanji), dob: T.nilable(T.nilable(T.any(String, ::Stripe::AccountService::UpdateParams::Individual::Dob))), email: T.nilable(String), first_name: T.nilable(String), first_name_kana: T.nilable(String), first_name_kanji: T.nilable(String), full_name_aliases: T.nilable(T.nilable(T.any(String, T::Array[String]))), gender: T.nilable(String), id_number: T.nilable(String), id_number_secondary: T.nilable(String), last_name: T.nilable(String), last_name_kana: T.nilable(String), last_name_kanji: T.nilable(String), maiden_name: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), phone: T.nilable(String), political_exposure: T.nilable(String), registered_address: T.nilable(::Stripe::AccountService::UpdateParams::Individual::RegisteredAddress), relationship: T.nilable(::Stripe::AccountService::UpdateParams::Individual::Relationship), ssn_last_4: T.nilable(String), verification: T.nilable(::Stripe::AccountService::UpdateParams::Individual::Verification)).void
1641
+ }
1642
+ def initialize(
1643
+ address: nil,
1644
+ address_kana: nil,
1645
+ address_kanji: nil,
1646
+ dob: nil,
1647
+ email: nil,
1648
+ first_name: nil,
1649
+ first_name_kana: nil,
1650
+ first_name_kanji: nil,
1651
+ full_name_aliases: nil,
1652
+ gender: nil,
1653
+ id_number: nil,
1654
+ id_number_secondary: nil,
1655
+ last_name: nil,
1656
+ last_name_kana: nil,
1657
+ last_name_kanji: nil,
1658
+ maiden_name: nil,
1659
+ metadata: nil,
1660
+ phone: nil,
1661
+ political_exposure: nil,
1662
+ registered_address: nil,
1663
+ relationship: nil,
1664
+ ssn_last_4: nil,
1665
+ verification: nil
1666
+ ); end
1667
+ end
1668
+ class Settings < Stripe::RequestParams
1669
+ class BacsDebitPayments < Stripe::RequestParams
1670
+ # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
1671
+ sig { returns(T.nilable(String)) }
1672
+ attr_accessor :display_name
1673
+ sig { params(display_name: T.nilable(String)).void }
1674
+ def initialize(display_name: nil); end
1675
+ end
1676
+ class Branding < Stripe::RequestParams
1677
+ # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
1678
+ sig { returns(T.nilable(String)) }
1679
+ attr_accessor :icon
1680
+ # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px.
1681
+ sig { returns(T.nilable(String)) }
1682
+ attr_accessor :logo
1683
+ # A CSS hex color value representing the primary branding color for this account.
1684
+ sig { returns(T.nilable(String)) }
1685
+ attr_accessor :primary_color
1686
+ # A CSS hex color value representing the secondary branding color for this account.
1687
+ sig { returns(T.nilable(String)) }
1688
+ attr_accessor :secondary_color
1689
+ sig {
1690
+ params(icon: T.nilable(String), logo: T.nilable(String), primary_color: T.nilable(String), secondary_color: T.nilable(String)).void
1691
+ }
1692
+ def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil); end
1693
+ end
1694
+ class CardIssuing < Stripe::RequestParams
1695
+ class TosAcceptance < Stripe::RequestParams
1696
+ # The Unix timestamp marking when the account representative accepted the service agreement.
1697
+ sig { returns(T.nilable(Integer)) }
1698
+ attr_accessor :date
1699
+ # The IP address from which the account representative accepted the service agreement.
1700
+ sig { returns(T.nilable(String)) }
1701
+ attr_accessor :ip
1702
+ # The user agent of the browser from which the account representative accepted the service agreement.
1703
+ sig { returns(T.nilable(T.nilable(String))) }
1704
+ attr_accessor :user_agent
1705
+ sig {
1706
+ params(date: T.nilable(Integer), ip: T.nilable(String), user_agent: T.nilable(T.nilable(String))).void
1707
+ }
1708
+ def initialize(date: nil, ip: nil, user_agent: nil); end
1709
+ end
1710
+ # Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](/issuing/connect/tos_acceptance).
1711
+ sig {
1712
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Settings::CardIssuing::TosAcceptance))
1713
+ }
1714
+ attr_accessor :tos_acceptance
1715
+ sig {
1716
+ params(tos_acceptance: T.nilable(::Stripe::AccountService::UpdateParams::Settings::CardIssuing::TosAcceptance)).void
1717
+ }
1718
+ def initialize(tos_acceptance: nil); end
1719
+ end
1720
+ class CardPayments < Stripe::RequestParams
1721
+ class DeclineOn < Stripe::RequestParams
1722
+ # 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.
1723
+ sig { returns(T.nilable(T::Boolean)) }
1724
+ attr_accessor :avs_failure
1725
+ # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
1726
+ sig { returns(T.nilable(T::Boolean)) }
1727
+ attr_accessor :cvc_failure
1728
+ sig {
1729
+ params(avs_failure: T.nilable(T::Boolean), cvc_failure: T.nilable(T::Boolean)).void
1730
+ }
1731
+ def initialize(avs_failure: nil, cvc_failure: nil); end
1732
+ end
1733
+ # Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
1734
+ sig {
1735
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Settings::CardPayments::DeclineOn))
1736
+ }
1737
+ attr_accessor :decline_on
1738
+ # The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion.
1739
+ sig { returns(T.nilable(String)) }
1740
+ attr_accessor :statement_descriptor_prefix
1741
+ # The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kana` specified on the charge. `statement_descriptor_prefix_kana` is useful for maximizing descriptor space for the dynamic portion.
1742
+ sig { returns(T.nilable(T.nilable(String))) }
1743
+ attr_accessor :statement_descriptor_prefix_kana
1744
+ # The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kanji` specified on the charge. `statement_descriptor_prefix_kanji` is useful for maximizing descriptor space for the dynamic portion.
1745
+ sig { returns(T.nilable(T.nilable(String))) }
1746
+ attr_accessor :statement_descriptor_prefix_kanji
1747
+ sig {
1748
+ params(decline_on: T.nilable(::Stripe::AccountService::UpdateParams::Settings::CardPayments::DeclineOn), statement_descriptor_prefix: T.nilable(String), statement_descriptor_prefix_kana: T.nilable(T.nilable(String)), statement_descriptor_prefix_kanji: T.nilable(T.nilable(String))).void
1749
+ }
1750
+ def initialize(
1751
+ decline_on: nil,
1752
+ statement_descriptor_prefix: nil,
1753
+ statement_descriptor_prefix_kana: nil,
1754
+ statement_descriptor_prefix_kanji: nil
1755
+ ); end
1756
+ end
1757
+ class Invoices < Stripe::RequestParams
1758
+ # The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized.
1759
+ sig { returns(T.nilable(T.nilable(T.any(String, T::Array[String])))) }
1760
+ attr_accessor :default_account_tax_ids
1761
+ # Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
1762
+ sig { returns(T.nilable(String)) }
1763
+ attr_accessor :hosted_payment_method_save
1764
+ sig {
1765
+ params(default_account_tax_ids: T.nilable(T.nilable(T.any(String, T::Array[String]))), hosted_payment_method_save: T.nilable(String)).void
1766
+ }
1767
+ def initialize(default_account_tax_ids: nil, hosted_payment_method_save: nil); end
1768
+ end
1769
+ class Payments < Stripe::RequestParams
1770
+ # 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 [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).
1771
+ sig { returns(T.nilable(String)) }
1772
+ attr_accessor :statement_descriptor
1773
+ # The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
1774
+ sig { returns(T.nilable(String)) }
1775
+ attr_accessor :statement_descriptor_kana
1776
+ # The Kanji variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
1777
+ sig { returns(T.nilable(String)) }
1778
+ attr_accessor :statement_descriptor_kanji
1779
+ sig {
1780
+ params(statement_descriptor: T.nilable(String), statement_descriptor_kana: T.nilable(String), statement_descriptor_kanji: T.nilable(String)).void
1781
+ }
1782
+ def initialize(
1783
+ statement_descriptor: nil,
1784
+ statement_descriptor_kana: nil,
1785
+ statement_descriptor_kanji: nil
1786
+ ); end
1787
+ end
1788
+ class Payouts < Stripe::RequestParams
1789
+ class Schedule < Stripe::RequestParams
1790
+ # The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](/connect/manage-payout-schedule).
1791
+ sig { returns(T.nilable(T.any(String, Integer))) }
1792
+ attr_accessor :delay_days
1793
+ # How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.
1794
+ sig { returns(T.nilable(String)) }
1795
+ attr_accessor :interval
1796
+ # The day of the month when available funds are paid out, specified as a number between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly`.
1797
+ sig { returns(T.nilable(Integer)) }
1798
+ attr_accessor :monthly_anchor
1799
+ # The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)
1800
+ sig { returns(T.nilable(String)) }
1801
+ attr_accessor :weekly_anchor
1802
+ sig {
1803
+ params(delay_days: T.nilable(T.any(String, Integer)), interval: T.nilable(String), monthly_anchor: T.nilable(Integer), weekly_anchor: T.nilable(String)).void
1804
+ }
1805
+ def initialize(
1806
+ delay_days: nil,
1807
+ interval: nil,
1808
+ monthly_anchor: nil,
1809
+ weekly_anchor: nil
1810
+ ); end
1811
+ end
1812
+ # A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](/connect/account-balances).
1813
+ sig { returns(T.nilable(T::Boolean)) }
1814
+ attr_accessor :debit_negative_balances
1815
+ # Details on when funds from charges are available, and when they are paid out to an external account. For details, see our [Setting Bank and Debit Card Payouts](/connect/bank-transfers#payout-information) documentation.
1816
+ sig {
1817
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Settings::Payouts::Schedule))
1818
+ }
1819
+ attr_accessor :schedule
1820
+ # The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard.
1821
+ sig { returns(T.nilable(String)) }
1822
+ attr_accessor :statement_descriptor
1823
+ sig {
1824
+ params(debit_negative_balances: T.nilable(T::Boolean), schedule: T.nilable(::Stripe::AccountService::UpdateParams::Settings::Payouts::Schedule), statement_descriptor: T.nilable(String)).void
1825
+ }
1826
+ def initialize(
1827
+ debit_negative_balances: nil,
1828
+ schedule: nil,
1829
+ statement_descriptor: nil
1830
+ ); end
1831
+ end
1832
+ class Treasury < Stripe::RequestParams
1833
+ class TosAcceptance < Stripe::RequestParams
1834
+ # The Unix timestamp marking when the account representative accepted the service agreement.
1835
+ sig { returns(T.nilable(Integer)) }
1836
+ attr_accessor :date
1837
+ # The IP address from which the account representative accepted the service agreement.
1838
+ sig { returns(T.nilable(String)) }
1839
+ attr_accessor :ip
1840
+ # The user agent of the browser from which the account representative accepted the service agreement.
1841
+ sig { returns(T.nilable(T.nilable(String))) }
1842
+ attr_accessor :user_agent
1843
+ sig {
1844
+ params(date: T.nilable(Integer), ip: T.nilable(String), user_agent: T.nilable(T.nilable(String))).void
1845
+ }
1846
+ def initialize(date: nil, ip: nil, user_agent: nil); end
1847
+ end
1848
+ # Details on the account's acceptance of the Stripe Treasury Services Agreement.
1849
+ sig {
1850
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Settings::Treasury::TosAcceptance))
1851
+ }
1852
+ attr_accessor :tos_acceptance
1853
+ sig {
1854
+ params(tos_acceptance: T.nilable(::Stripe::AccountService::UpdateParams::Settings::Treasury::TosAcceptance)).void
1855
+ }
1856
+ def initialize(tos_acceptance: nil); end
1857
+ end
1858
+ # Settings specific to Bacs Direct Debit payments.
1859
+ sig {
1860
+ returns(T.nilable(::Stripe::AccountService::UpdateParams::Settings::BacsDebitPayments))
1861
+ }
1862
+ attr_accessor :bacs_debit_payments
1863
+ # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
1864
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Settings::Branding)) }
1865
+ attr_accessor :branding
1866
+ # Settings specific to the account's use of the Card Issuing product.
1867
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Settings::CardIssuing)) }
1868
+ attr_accessor :card_issuing
1869
+ # Settings specific to card charging on the account.
1870
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Settings::CardPayments)) }
1871
+ attr_accessor :card_payments
1872
+ # Settings specific to the account's use of Invoices.
1873
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Settings::Invoices)) }
1874
+ attr_accessor :invoices
1875
+ # Settings that apply across payment methods for charging on the account.
1876
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Settings::Payments)) }
1877
+ attr_accessor :payments
1878
+ # Settings specific to the account's payouts.
1879
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Settings::Payouts)) }
1880
+ attr_accessor :payouts
1881
+ # Settings specific to the account's Treasury FinancialAccounts.
1882
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Settings::Treasury)) }
1883
+ attr_accessor :treasury
1884
+ sig {
1885
+ params(bacs_debit_payments: T.nilable(::Stripe::AccountService::UpdateParams::Settings::BacsDebitPayments), branding: T.nilable(::Stripe::AccountService::UpdateParams::Settings::Branding), card_issuing: T.nilable(::Stripe::AccountService::UpdateParams::Settings::CardIssuing), card_payments: T.nilable(::Stripe::AccountService::UpdateParams::Settings::CardPayments), invoices: T.nilable(::Stripe::AccountService::UpdateParams::Settings::Invoices), payments: T.nilable(::Stripe::AccountService::UpdateParams::Settings::Payments), payouts: T.nilable(::Stripe::AccountService::UpdateParams::Settings::Payouts), treasury: T.nilable(::Stripe::AccountService::UpdateParams::Settings::Treasury)).void
1886
+ }
1887
+ def initialize(
1888
+ bacs_debit_payments: nil,
1889
+ branding: nil,
1890
+ card_issuing: nil,
1891
+ card_payments: nil,
1892
+ invoices: nil,
1893
+ payments: nil,
1894
+ payouts: nil,
1895
+ treasury: nil
1896
+ ); end
1897
+ end
1898
+ class TosAcceptance < Stripe::RequestParams
1899
+ # The Unix timestamp marking when the account representative accepted their service agreement.
1900
+ sig { returns(T.nilable(Integer)) }
1901
+ attr_accessor :date
1902
+ # The IP address from which the account representative accepted their service agreement.
1903
+ sig { returns(T.nilable(String)) }
1904
+ attr_accessor :ip
1905
+ # The user's service agreement type.
1906
+ sig { returns(T.nilable(String)) }
1907
+ attr_accessor :service_agreement
1908
+ # The user agent of the browser from which the account representative accepted their service agreement.
1909
+ sig { returns(T.nilable(String)) }
1910
+ attr_accessor :user_agent
1911
+ sig {
1912
+ params(date: T.nilable(Integer), ip: T.nilable(String), service_agreement: T.nilable(String), user_agent: T.nilable(String)).void
1913
+ }
1914
+ def initialize(date: nil, ip: nil, service_agreement: nil, user_agent: nil); end
1915
+ end
1916
+ # An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account.
1917
+ sig { returns(T.nilable(String)) }
1918
+ attr_accessor :account_token
1919
+ # Business information about the account.
1920
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::BusinessProfile)) }
1921
+ attr_accessor :business_profile
1922
+ # The business type. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
1923
+ sig { returns(T.nilable(String)) }
1924
+ attr_accessor :business_type
1925
+ # Each key of the dictionary represents a capability, and each capability
1926
+ # maps to its settings (for example, whether it has been requested or not). Each
1927
+ # capability is inactive until you have provided its specific
1928
+ # requirements and Stripe has verified them. An account might have some
1929
+ # of its requested capabilities be active and some be inactive.
1930
+ #
1931
+ # Required when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)
1932
+ # is `none`, which includes Custom accounts.
1933
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Capabilities)) }
1934
+ attr_accessor :capabilities
1935
+ # Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
1936
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Company)) }
1937
+ attr_accessor :company
1938
+ # Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://docs.stripe.com/payouts).
1939
+ sig { returns(T.nilable(String)) }
1940
+ attr_accessor :default_currency
1941
+ # Documents that may be submitted to satisfy various informational requests.
1942
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Documents)) }
1943
+ attr_accessor :documents
1944
+ # The email address of the account holder. This is only to make the account easier to identify to you. If [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, Stripe doesn't email the account without your consent.
1945
+ sig { returns(T.nilable(String)) }
1946
+ attr_accessor :email
1947
+ # Specifies which fields in the response should be expanded.
1948
+ sig { returns(T.nilable(T::Array[String])) }
1949
+ attr_accessor :expand
1950
+ # A card or bank account to attach to the account for receiving [payouts](/connect/bank-debit-card-payouts) (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](/js), or a dictionary, as documented in the `external_account` parameter for [bank account](/api#account_create_bank_account) creation. <br><br>By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](/api#account_create_bank_account) or [card creation](/api#account_create_card) APIs. After you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
1951
+ sig {
1952
+ returns(T.nilable(T.nilable(T.any(String, T.any(String, ::Stripe::AccountService::UpdateParams::BankAccount, ::Stripe::AccountService::UpdateParams::Card, ::Stripe::AccountService::UpdateParams::CardToken)))))
1953
+ }
1954
+ attr_accessor :external_account
1955
+ # A hash of account group type to tokens. These are account groups this account should be added to.
1956
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Groups)) }
1957
+ attr_accessor :groups
1958
+ # Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
1959
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Individual)) }
1960
+ attr_accessor :individual
1961
+ # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1962
+ sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) }
1963
+ attr_accessor :metadata
1964
+ # Options for customizing how the account functions within Stripe.
1965
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::Settings)) }
1966
+ attr_accessor :settings
1967
+ # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
1968
+ sig { returns(T.nilable(::Stripe::AccountService::UpdateParams::TosAcceptance)) }
1969
+ attr_accessor :tos_acceptance
1970
+ sig {
1971
+ params(account_token: T.nilable(String), business_profile: T.nilable(::Stripe::AccountService::UpdateParams::BusinessProfile), business_type: T.nilable(String), capabilities: T.nilable(::Stripe::AccountService::UpdateParams::Capabilities), company: T.nilable(::Stripe::AccountService::UpdateParams::Company), default_currency: T.nilable(String), documents: T.nilable(::Stripe::AccountService::UpdateParams::Documents), email: T.nilable(String), expand: T.nilable(T::Array[String]), external_account: T.nilable(T.nilable(T.any(String, T.any(String, ::Stripe::AccountService::UpdateParams::BankAccount, ::Stripe::AccountService::UpdateParams::Card, ::Stripe::AccountService::UpdateParams::CardToken)))), groups: T.nilable(::Stripe::AccountService::UpdateParams::Groups), individual: T.nilable(::Stripe::AccountService::UpdateParams::Individual), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), settings: T.nilable(::Stripe::AccountService::UpdateParams::Settings), tos_acceptance: T.nilable(::Stripe::AccountService::UpdateParams::TosAcceptance)).void
1972
+ }
1973
+ def initialize(
1974
+ account_token: nil,
1975
+ business_profile: nil,
1976
+ business_type: nil,
1977
+ capabilities: nil,
1978
+ company: nil,
1979
+ default_currency: nil,
1980
+ documents: nil,
1981
+ email: nil,
1982
+ expand: nil,
1983
+ external_account: nil,
1984
+ groups: nil,
1985
+ individual: nil,
1986
+ metadata: nil,
1987
+ settings: nil,
1988
+ tos_acceptance: nil
1989
+ ); end
1990
+ end
1991
+ class RetrieveCurrentParams < Stripe::RequestParams
1992
+ # Specifies which fields in the response should be expanded.
1993
+ sig { returns(T.nilable(T::Array[String])) }
1994
+ attr_accessor :expand
1995
+ sig { params(expand: T.nilable(T::Array[String])).void }
1996
+ def initialize(expand: nil); end
1997
+ end
1998
+ class ListParams < Stripe::RequestParams
1999
+ class Created < Stripe::RequestParams
2000
+ # Minimum value to filter by (exclusive)
2001
+ sig { returns(T.nilable(Integer)) }
2002
+ attr_accessor :gt
2003
+ # Minimum value to filter by (inclusive)
2004
+ sig { returns(T.nilable(Integer)) }
2005
+ attr_accessor :gte
2006
+ # Maximum value to filter by (exclusive)
2007
+ sig { returns(T.nilable(Integer)) }
2008
+ attr_accessor :lt
2009
+ # Maximum value to filter by (inclusive)
2010
+ sig { returns(T.nilable(Integer)) }
2011
+ attr_accessor :lte
2012
+ sig {
2013
+ params(gt: T.nilable(Integer), gte: T.nilable(Integer), lt: T.nilable(Integer), lte: T.nilable(Integer)).void
2014
+ }
2015
+ def initialize(gt: nil, gte: nil, lt: nil, lte: nil); end
2016
+ end
2017
+ # Only return connected accounts that were created during the given date interval.
2018
+ sig { returns(T.nilable(T.any(::Stripe::AccountService::ListParams::Created, Integer))) }
2019
+ attr_accessor :created
2020
+ # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
2021
+ sig { returns(T.nilable(String)) }
2022
+ attr_accessor :ending_before
2023
+ # Specifies which fields in the response should be expanded.
2024
+ sig { returns(T.nilable(T::Array[String])) }
2025
+ attr_accessor :expand
2026
+ # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
2027
+ sig { returns(T.nilable(Integer)) }
2028
+ attr_accessor :limit
2029
+ # A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
2030
+ sig { returns(T.nilable(String)) }
2031
+ attr_accessor :starting_after
2032
+ sig {
2033
+ params(created: T.nilable(T.any(::Stripe::AccountService::ListParams::Created, Integer)), ending_before: T.nilable(String), expand: T.nilable(T::Array[String]), limit: T.nilable(Integer), starting_after: T.nilable(String)).void
2034
+ }
2035
+ def initialize(
2036
+ created: nil,
2037
+ ending_before: nil,
2038
+ expand: nil,
2039
+ limit: nil,
2040
+ starting_after: nil
2041
+ ); end
2042
+ end
2043
+ class CreateParams < Stripe::RequestParams
2044
+ class BankAccount < Stripe::RequestParams
2045
+ # Attribute for param field object
2046
+ sig { returns(String) }
2047
+ attr_accessor :object
2048
+ # The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object.
2049
+ sig { returns(T.nilable(String)) }
2050
+ attr_accessor :account_holder_name
2051
+ # The type of entity that holds the account. It can be `company` or `individual`. This field is required when attaching the bank account to a `Customer` object.
2052
+ sig { returns(T.nilable(String)) }
2053
+ attr_accessor :account_holder_type
2054
+ # The account number for the bank account, in string form. Must be a checking account.
2055
+ sig { returns(String) }
2056
+ attr_accessor :account_number
2057
+ # The country in which the bank account is located.
2058
+ sig { returns(String) }
2059
+ attr_accessor :country
2060
+ # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
2061
+ sig { returns(T.nilable(String)) }
2062
+ attr_accessor :currency
2063
+ # The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
2064
+ sig { returns(T.nilable(String)) }
2065
+ attr_accessor :routing_number
2066
+ sig {
2067
+ params(object: String, account_holder_name: T.nilable(String), account_holder_type: T.nilable(String), account_number: String, country: String, currency: T.nilable(String), routing_number: T.nilable(String)).void
2068
+ }
2069
+ def initialize(
2070
+ object: nil,
2071
+ account_holder_name: nil,
2072
+ account_holder_type: nil,
2073
+ account_number: nil,
2074
+ country: nil,
2075
+ currency: nil,
2076
+ routing_number: nil
2077
+ ); end
2078
+ end
2079
+ class BusinessProfile < Stripe::RequestParams
2080
+ class AnnualRevenue < Stripe::RequestParams
2081
+ # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).
2082
+ sig { returns(Integer) }
2083
+ attr_accessor :amount
2084
+ # 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).
2085
+ sig { returns(String) }
2086
+ attr_accessor :currency
2087
+ # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
2088
+ sig { returns(String) }
2089
+ attr_accessor :fiscal_year_end
2090
+ sig { params(amount: Integer, currency: String, fiscal_year_end: String).void }
2091
+ def initialize(amount: nil, currency: nil, fiscal_year_end: nil); end
2092
+ end
2093
+ class MonthlyEstimatedRevenue < Stripe::RequestParams
2094
+ # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).
2095
+ sig { returns(Integer) }
2096
+ attr_accessor :amount
2097
+ # 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).
2098
+ sig { returns(String) }
2099
+ attr_accessor :currency
2100
+ sig { params(amount: Integer, currency: String).void }
2101
+ def initialize(amount: nil, currency: nil); end
2102
+ end
2103
+ class SupportAddress < Stripe::RequestParams
2104
+ # City, district, suburb, town, or village.
2105
+ sig { returns(T.nilable(String)) }
2106
+ attr_accessor :city
2107
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2108
+ sig { returns(T.nilable(String)) }
2109
+ attr_accessor :country
2110
+ # Address line 1 (e.g., street, PO Box, or company name).
2111
+ sig { returns(T.nilable(String)) }
2112
+ attr_accessor :line1
2113
+ # Address line 2 (e.g., apartment, suite, unit, or building).
2114
+ sig { returns(T.nilable(String)) }
2115
+ attr_accessor :line2
2116
+ # ZIP or postal code.
2117
+ sig { returns(T.nilable(String)) }
2118
+ attr_accessor :postal_code
2119
+ # State, county, province, or region.
2120
+ sig { returns(T.nilable(String)) }
2121
+ attr_accessor :state
2122
+ sig {
2123
+ params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String)).void
2124
+ }
2125
+ def initialize(
2126
+ city: nil,
2127
+ country: nil,
2128
+ line1: nil,
2129
+ line2: nil,
2130
+ postal_code: nil,
2131
+ state: nil
2132
+ ); end
2133
+ end
2134
+ # The applicant's gross annual revenue for its preceding fiscal year.
2135
+ sig {
2136
+ returns(T.nilable(::Stripe::AccountService::CreateParams::BusinessProfile::AnnualRevenue))
2137
+ }
2138
+ attr_accessor :annual_revenue
2139
+ # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
2140
+ sig { returns(T.nilable(Integer)) }
2141
+ attr_accessor :estimated_worker_count
2142
+ # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
2143
+ sig { returns(T.nilable(String)) }
2144
+ attr_accessor :mcc
2145
+ # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
2146
+ sig {
2147
+ returns(T.nilable(::Stripe::AccountService::CreateParams::BusinessProfile::MonthlyEstimatedRevenue))
2148
+ }
2149
+ attr_accessor :monthly_estimated_revenue
2150
+ # The customer-facing business name.
2151
+ sig { returns(T.nilable(String)) }
2152
+ attr_accessor :name
2153
+ # Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
2154
+ sig { returns(T.nilable(String)) }
2155
+ attr_accessor :product_description
2156
+ # A publicly available mailing address for sending support issues to.
2157
+ sig {
2158
+ returns(T.nilable(::Stripe::AccountService::CreateParams::BusinessProfile::SupportAddress))
2159
+ }
2160
+ attr_accessor :support_address
2161
+ # A publicly available email address for sending support issues to.
2162
+ sig { returns(T.nilable(String)) }
2163
+ attr_accessor :support_email
2164
+ # A publicly available phone number to call with support issues.
2165
+ sig { returns(T.nilable(String)) }
2166
+ attr_accessor :support_phone
2167
+ # A publicly available website for handling support issues.
2168
+ sig { returns(T.nilable(T.nilable(String))) }
2169
+ attr_accessor :support_url
2170
+ # The business's publicly available website.
2171
+ sig { returns(T.nilable(String)) }
2172
+ attr_accessor :url
2173
+ sig {
2174
+ params(annual_revenue: T.nilable(::Stripe::AccountService::CreateParams::BusinessProfile::AnnualRevenue), estimated_worker_count: T.nilable(Integer), mcc: T.nilable(String), monthly_estimated_revenue: T.nilable(::Stripe::AccountService::CreateParams::BusinessProfile::MonthlyEstimatedRevenue), name: T.nilable(String), product_description: T.nilable(String), support_address: T.nilable(::Stripe::AccountService::CreateParams::BusinessProfile::SupportAddress), support_email: T.nilable(String), support_phone: T.nilable(String), support_url: T.nilable(T.nilable(String)), url: T.nilable(String)).void
2175
+ }
2176
+ def initialize(
2177
+ annual_revenue: nil,
2178
+ estimated_worker_count: nil,
2179
+ mcc: nil,
2180
+ monthly_estimated_revenue: nil,
2181
+ name: nil,
2182
+ product_description: nil,
2183
+ support_address: nil,
2184
+ support_email: nil,
2185
+ support_phone: nil,
2186
+ support_url: nil,
2187
+ url: nil
2188
+ ); end
2189
+ end
2190
+ class Capabilities < Stripe::RequestParams
2191
+ class AcssDebitPayments < Stripe::RequestParams
2192
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2193
+ sig { returns(T.nilable(T::Boolean)) }
2194
+ attr_accessor :requested
2195
+ sig { params(requested: T.nilable(T::Boolean)).void }
2196
+ def initialize(requested: nil); end
2197
+ end
2198
+ class AffirmPayments < Stripe::RequestParams
2199
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2200
+ sig { returns(T.nilable(T::Boolean)) }
2201
+ attr_accessor :requested
2202
+ sig { params(requested: T.nilable(T::Boolean)).void }
2203
+ def initialize(requested: nil); end
2204
+ end
2205
+ class AfterpayClearpayPayments < Stripe::RequestParams
2206
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2207
+ sig { returns(T.nilable(T::Boolean)) }
2208
+ attr_accessor :requested
2209
+ sig { params(requested: T.nilable(T::Boolean)).void }
2210
+ def initialize(requested: nil); end
2211
+ end
2212
+ class AlmaPayments < Stripe::RequestParams
2213
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2214
+ sig { returns(T.nilable(T::Boolean)) }
2215
+ attr_accessor :requested
2216
+ sig { params(requested: T.nilable(T::Boolean)).void }
2217
+ def initialize(requested: nil); end
2218
+ end
2219
+ class AmazonPayPayments < Stripe::RequestParams
2220
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2221
+ sig { returns(T.nilable(T::Boolean)) }
2222
+ attr_accessor :requested
2223
+ sig { params(requested: T.nilable(T::Boolean)).void }
2224
+ def initialize(requested: nil); end
2225
+ end
2226
+ class AuBecsDebitPayments < Stripe::RequestParams
2227
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2228
+ sig { returns(T.nilable(T::Boolean)) }
2229
+ attr_accessor :requested
2230
+ sig { params(requested: T.nilable(T::Boolean)).void }
2231
+ def initialize(requested: nil); end
2232
+ end
2233
+ class BacsDebitPayments < Stripe::RequestParams
2234
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2235
+ sig { returns(T.nilable(T::Boolean)) }
2236
+ attr_accessor :requested
2237
+ sig { params(requested: T.nilable(T::Boolean)).void }
2238
+ def initialize(requested: nil); end
2239
+ end
2240
+ class BancontactPayments < Stripe::RequestParams
2241
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2242
+ sig { returns(T.nilable(T::Boolean)) }
2243
+ attr_accessor :requested
2244
+ sig { params(requested: T.nilable(T::Boolean)).void }
2245
+ def initialize(requested: nil); end
2246
+ end
2247
+ class BankTransferPayments < Stripe::RequestParams
2248
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2249
+ sig { returns(T.nilable(T::Boolean)) }
2250
+ attr_accessor :requested
2251
+ sig { params(requested: T.nilable(T::Boolean)).void }
2252
+ def initialize(requested: nil); end
2253
+ end
2254
+ class BilliePayments < Stripe::RequestParams
2255
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2256
+ sig { returns(T.nilable(T::Boolean)) }
2257
+ attr_accessor :requested
2258
+ sig { params(requested: T.nilable(T::Boolean)).void }
2259
+ def initialize(requested: nil); end
2260
+ end
2261
+ class BlikPayments < Stripe::RequestParams
2262
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2263
+ sig { returns(T.nilable(T::Boolean)) }
2264
+ attr_accessor :requested
2265
+ sig { params(requested: T.nilable(T::Boolean)).void }
2266
+ def initialize(requested: nil); end
2267
+ end
2268
+ class BoletoPayments < Stripe::RequestParams
2269
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2270
+ sig { returns(T.nilable(T::Boolean)) }
2271
+ attr_accessor :requested
2272
+ sig { params(requested: T.nilable(T::Boolean)).void }
2273
+ def initialize(requested: nil); end
2274
+ end
2275
+ class CardIssuing < Stripe::RequestParams
2276
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2277
+ sig { returns(T.nilable(T::Boolean)) }
2278
+ attr_accessor :requested
2279
+ sig { params(requested: T.nilable(T::Boolean)).void }
2280
+ def initialize(requested: nil); end
2281
+ end
2282
+ class CardPayments < Stripe::RequestParams
2283
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2284
+ sig { returns(T.nilable(T::Boolean)) }
2285
+ attr_accessor :requested
2286
+ sig { params(requested: T.nilable(T::Boolean)).void }
2287
+ def initialize(requested: nil); end
2288
+ end
2289
+ class CartesBancairesPayments < Stripe::RequestParams
2290
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2291
+ sig { returns(T.nilable(T::Boolean)) }
2292
+ attr_accessor :requested
2293
+ sig { params(requested: T.nilable(T::Boolean)).void }
2294
+ def initialize(requested: nil); end
2295
+ end
2296
+ class CashappPayments < Stripe::RequestParams
2297
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2298
+ sig { returns(T.nilable(T::Boolean)) }
2299
+ attr_accessor :requested
2300
+ sig { params(requested: T.nilable(T::Boolean)).void }
2301
+ def initialize(requested: nil); end
2302
+ end
2303
+ class EpsPayments < Stripe::RequestParams
2304
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2305
+ sig { returns(T.nilable(T::Boolean)) }
2306
+ attr_accessor :requested
2307
+ sig { params(requested: T.nilable(T::Boolean)).void }
2308
+ def initialize(requested: nil); end
2309
+ end
2310
+ class FpxPayments < Stripe::RequestParams
2311
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2312
+ sig { returns(T.nilable(T::Boolean)) }
2313
+ attr_accessor :requested
2314
+ sig { params(requested: T.nilable(T::Boolean)).void }
2315
+ def initialize(requested: nil); end
2316
+ end
2317
+ class GbBankTransferPayments < Stripe::RequestParams
2318
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2319
+ sig { returns(T.nilable(T::Boolean)) }
2320
+ attr_accessor :requested
2321
+ sig { params(requested: T.nilable(T::Boolean)).void }
2322
+ def initialize(requested: nil); end
2323
+ end
2324
+ class GiropayPayments < Stripe::RequestParams
2325
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2326
+ sig { returns(T.nilable(T::Boolean)) }
2327
+ attr_accessor :requested
2328
+ sig { params(requested: T.nilable(T::Boolean)).void }
2329
+ def initialize(requested: nil); end
2330
+ end
2331
+ class GrabpayPayments < Stripe::RequestParams
2332
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2333
+ sig { returns(T.nilable(T::Boolean)) }
2334
+ attr_accessor :requested
2335
+ sig { params(requested: T.nilable(T::Boolean)).void }
2336
+ def initialize(requested: nil); end
2337
+ end
2338
+ class IdealPayments < Stripe::RequestParams
2339
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2340
+ sig { returns(T.nilable(T::Boolean)) }
2341
+ attr_accessor :requested
2342
+ sig { params(requested: T.nilable(T::Boolean)).void }
2343
+ def initialize(requested: nil); end
2344
+ end
2345
+ class IndiaInternationalPayments < Stripe::RequestParams
2346
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2347
+ sig { returns(T.nilable(T::Boolean)) }
2348
+ attr_accessor :requested
2349
+ sig { params(requested: T.nilable(T::Boolean)).void }
2350
+ def initialize(requested: nil); end
2351
+ end
2352
+ class JcbPayments < Stripe::RequestParams
2353
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2354
+ sig { returns(T.nilable(T::Boolean)) }
2355
+ attr_accessor :requested
2356
+ sig { params(requested: T.nilable(T::Boolean)).void }
2357
+ def initialize(requested: nil); end
2358
+ end
2359
+ class JpBankTransferPayments < Stripe::RequestParams
2360
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2361
+ sig { returns(T.nilable(T::Boolean)) }
2362
+ attr_accessor :requested
2363
+ sig { params(requested: T.nilable(T::Boolean)).void }
2364
+ def initialize(requested: nil); end
2365
+ end
2366
+ class KakaoPayPayments < Stripe::RequestParams
2367
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2368
+ sig { returns(T.nilable(T::Boolean)) }
2369
+ attr_accessor :requested
2370
+ sig { params(requested: T.nilable(T::Boolean)).void }
2371
+ def initialize(requested: nil); end
2372
+ end
2373
+ class KlarnaPayments < Stripe::RequestParams
2374
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2375
+ sig { returns(T.nilable(T::Boolean)) }
2376
+ attr_accessor :requested
2377
+ sig { params(requested: T.nilable(T::Boolean)).void }
2378
+ def initialize(requested: nil); end
2379
+ end
2380
+ class KonbiniPayments < Stripe::RequestParams
2381
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2382
+ sig { returns(T.nilable(T::Boolean)) }
2383
+ attr_accessor :requested
2384
+ sig { params(requested: T.nilable(T::Boolean)).void }
2385
+ def initialize(requested: nil); end
2386
+ end
2387
+ class KrCardPayments < Stripe::RequestParams
2388
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2389
+ sig { returns(T.nilable(T::Boolean)) }
2390
+ attr_accessor :requested
2391
+ sig { params(requested: T.nilable(T::Boolean)).void }
2392
+ def initialize(requested: nil); end
2393
+ end
2394
+ class LegacyPayments < Stripe::RequestParams
2395
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2396
+ sig { returns(T.nilable(T::Boolean)) }
2397
+ attr_accessor :requested
2398
+ sig { params(requested: T.nilable(T::Boolean)).void }
2399
+ def initialize(requested: nil); end
2400
+ end
2401
+ class LinkPayments < Stripe::RequestParams
2402
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2403
+ sig { returns(T.nilable(T::Boolean)) }
2404
+ attr_accessor :requested
2405
+ sig { params(requested: T.nilable(T::Boolean)).void }
2406
+ def initialize(requested: nil); end
2407
+ end
2408
+ class MobilepayPayments < Stripe::RequestParams
2409
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2410
+ sig { returns(T.nilable(T::Boolean)) }
2411
+ attr_accessor :requested
2412
+ sig { params(requested: T.nilable(T::Boolean)).void }
2413
+ def initialize(requested: nil); end
2414
+ end
2415
+ class MultibancoPayments < Stripe::RequestParams
2416
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2417
+ sig { returns(T.nilable(T::Boolean)) }
2418
+ attr_accessor :requested
2419
+ sig { params(requested: T.nilable(T::Boolean)).void }
2420
+ def initialize(requested: nil); end
2421
+ end
2422
+ class MxBankTransferPayments < Stripe::RequestParams
2423
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2424
+ sig { returns(T.nilable(T::Boolean)) }
2425
+ attr_accessor :requested
2426
+ sig { params(requested: T.nilable(T::Boolean)).void }
2427
+ def initialize(requested: nil); end
2428
+ end
2429
+ class NaverPayPayments < Stripe::RequestParams
2430
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2431
+ sig { returns(T.nilable(T::Boolean)) }
2432
+ attr_accessor :requested
2433
+ sig { params(requested: T.nilable(T::Boolean)).void }
2434
+ def initialize(requested: nil); end
2435
+ end
2436
+ class NzBankAccountBecsDebitPayments < Stripe::RequestParams
2437
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2438
+ sig { returns(T.nilable(T::Boolean)) }
2439
+ attr_accessor :requested
2440
+ sig { params(requested: T.nilable(T::Boolean)).void }
2441
+ def initialize(requested: nil); end
2442
+ end
2443
+ class OxxoPayments < Stripe::RequestParams
2444
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2445
+ sig { returns(T.nilable(T::Boolean)) }
2446
+ attr_accessor :requested
2447
+ sig { params(requested: T.nilable(T::Boolean)).void }
2448
+ def initialize(requested: nil); end
2449
+ end
2450
+ class P24Payments < Stripe::RequestParams
2451
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2452
+ sig { returns(T.nilable(T::Boolean)) }
2453
+ attr_accessor :requested
2454
+ sig { params(requested: T.nilable(T::Boolean)).void }
2455
+ def initialize(requested: nil); end
2456
+ end
2457
+ class PayByBankPayments < Stripe::RequestParams
2458
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2459
+ sig { returns(T.nilable(T::Boolean)) }
2460
+ attr_accessor :requested
2461
+ sig { params(requested: T.nilable(T::Boolean)).void }
2462
+ def initialize(requested: nil); end
2463
+ end
2464
+ class PaycoPayments < Stripe::RequestParams
2465
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2466
+ sig { returns(T.nilable(T::Boolean)) }
2467
+ attr_accessor :requested
2468
+ sig { params(requested: T.nilable(T::Boolean)).void }
2469
+ def initialize(requested: nil); end
2470
+ end
2471
+ class PaynowPayments < Stripe::RequestParams
2472
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2473
+ sig { returns(T.nilable(T::Boolean)) }
2474
+ attr_accessor :requested
2475
+ sig { params(requested: T.nilable(T::Boolean)).void }
2476
+ def initialize(requested: nil); end
2477
+ end
2478
+ class PromptpayPayments < Stripe::RequestParams
2479
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2480
+ sig { returns(T.nilable(T::Boolean)) }
2481
+ attr_accessor :requested
2482
+ sig { params(requested: T.nilable(T::Boolean)).void }
2483
+ def initialize(requested: nil); end
2484
+ end
2485
+ class RevolutPayPayments < Stripe::RequestParams
2486
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2487
+ sig { returns(T.nilable(T::Boolean)) }
2488
+ attr_accessor :requested
2489
+ sig { params(requested: T.nilable(T::Boolean)).void }
2490
+ def initialize(requested: nil); end
2491
+ end
2492
+ class SamsungPayPayments < Stripe::RequestParams
2493
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2494
+ sig { returns(T.nilable(T::Boolean)) }
2495
+ attr_accessor :requested
2496
+ sig { params(requested: T.nilable(T::Boolean)).void }
2497
+ def initialize(requested: nil); end
2498
+ end
2499
+ class SatispayPayments < Stripe::RequestParams
2500
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2501
+ sig { returns(T.nilable(T::Boolean)) }
2502
+ attr_accessor :requested
2503
+ sig { params(requested: T.nilable(T::Boolean)).void }
2504
+ def initialize(requested: nil); end
2505
+ end
2506
+ class SepaBankTransferPayments < Stripe::RequestParams
2507
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2508
+ sig { returns(T.nilable(T::Boolean)) }
2509
+ attr_accessor :requested
2510
+ sig { params(requested: T.nilable(T::Boolean)).void }
2511
+ def initialize(requested: nil); end
2512
+ end
2513
+ class SepaDebitPayments < Stripe::RequestParams
2514
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2515
+ sig { returns(T.nilable(T::Boolean)) }
2516
+ attr_accessor :requested
2517
+ sig { params(requested: T.nilable(T::Boolean)).void }
2518
+ def initialize(requested: nil); end
2519
+ end
2520
+ class SofortPayments < Stripe::RequestParams
2521
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2522
+ sig { returns(T.nilable(T::Boolean)) }
2523
+ attr_accessor :requested
2524
+ sig { params(requested: T.nilable(T::Boolean)).void }
2525
+ def initialize(requested: nil); end
2526
+ end
2527
+ class SwishPayments < Stripe::RequestParams
2528
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2529
+ sig { returns(T.nilable(T::Boolean)) }
2530
+ attr_accessor :requested
2531
+ sig { params(requested: T.nilable(T::Boolean)).void }
2532
+ def initialize(requested: nil); end
2533
+ end
2534
+ class TaxReportingUs1099K < Stripe::RequestParams
2535
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2536
+ sig { returns(T.nilable(T::Boolean)) }
2537
+ attr_accessor :requested
2538
+ sig { params(requested: T.nilable(T::Boolean)).void }
2539
+ def initialize(requested: nil); end
2540
+ end
2541
+ class TaxReportingUs1099Misc < Stripe::RequestParams
2542
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2543
+ sig { returns(T.nilable(T::Boolean)) }
2544
+ attr_accessor :requested
2545
+ sig { params(requested: T.nilable(T::Boolean)).void }
2546
+ def initialize(requested: nil); end
2547
+ end
2548
+ class Transfers < Stripe::RequestParams
2549
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2550
+ sig { returns(T.nilable(T::Boolean)) }
2551
+ attr_accessor :requested
2552
+ sig { params(requested: T.nilable(T::Boolean)).void }
2553
+ def initialize(requested: nil); end
2554
+ end
2555
+ class Treasury < Stripe::RequestParams
2556
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2557
+ sig { returns(T.nilable(T::Boolean)) }
2558
+ attr_accessor :requested
2559
+ sig { params(requested: T.nilable(T::Boolean)).void }
2560
+ def initialize(requested: nil); end
2561
+ end
2562
+ class TwintPayments < Stripe::RequestParams
2563
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2564
+ sig { returns(T.nilable(T::Boolean)) }
2565
+ attr_accessor :requested
2566
+ sig { params(requested: T.nilable(T::Boolean)).void }
2567
+ def initialize(requested: nil); end
2568
+ end
2569
+ class UsBankAccountAchPayments < Stripe::RequestParams
2570
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2571
+ sig { returns(T.nilable(T::Boolean)) }
2572
+ attr_accessor :requested
2573
+ sig { params(requested: T.nilable(T::Boolean)).void }
2574
+ def initialize(requested: nil); end
2575
+ end
2576
+ class UsBankTransferPayments < Stripe::RequestParams
2577
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2578
+ sig { returns(T.nilable(T::Boolean)) }
2579
+ attr_accessor :requested
2580
+ sig { params(requested: T.nilable(T::Boolean)).void }
2581
+ def initialize(requested: nil); end
2582
+ end
2583
+ class ZipPayments < Stripe::RequestParams
2584
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2585
+ sig { returns(T.nilable(T::Boolean)) }
2586
+ attr_accessor :requested
2587
+ sig { params(requested: T.nilable(T::Boolean)).void }
2588
+ def initialize(requested: nil); end
2589
+ end
2590
+ # The acss_debit_payments capability.
2591
+ sig {
2592
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AcssDebitPayments))
2593
+ }
2594
+ attr_accessor :acss_debit_payments
2595
+ # The affirm_payments capability.
2596
+ sig {
2597
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AffirmPayments))
2598
+ }
2599
+ attr_accessor :affirm_payments
2600
+ # The afterpay_clearpay_payments capability.
2601
+ sig {
2602
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AfterpayClearpayPayments))
2603
+ }
2604
+ attr_accessor :afterpay_clearpay_payments
2605
+ # The alma_payments capability.
2606
+ sig {
2607
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AlmaPayments))
2608
+ }
2609
+ attr_accessor :alma_payments
2610
+ # The amazon_pay_payments capability.
2611
+ sig {
2612
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AmazonPayPayments))
2613
+ }
2614
+ attr_accessor :amazon_pay_payments
2615
+ # The au_becs_debit_payments capability.
2616
+ sig {
2617
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AuBecsDebitPayments))
2618
+ }
2619
+ attr_accessor :au_becs_debit_payments
2620
+ # The bacs_debit_payments capability.
2621
+ sig {
2622
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BacsDebitPayments))
2623
+ }
2624
+ attr_accessor :bacs_debit_payments
2625
+ # The bancontact_payments capability.
2626
+ sig {
2627
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BancontactPayments))
2628
+ }
2629
+ attr_accessor :bancontact_payments
2630
+ # The bank_transfer_payments capability.
2631
+ sig {
2632
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BankTransferPayments))
2633
+ }
2634
+ attr_accessor :bank_transfer_payments
2635
+ # The billie_payments capability.
2636
+ sig {
2637
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BilliePayments))
2638
+ }
2639
+ attr_accessor :billie_payments
2640
+ # The blik_payments capability.
2641
+ sig {
2642
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BlikPayments))
2643
+ }
2644
+ attr_accessor :blik_payments
2645
+ # The boleto_payments capability.
2646
+ sig {
2647
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BoletoPayments))
2648
+ }
2649
+ attr_accessor :boleto_payments
2650
+ # The card_issuing capability.
2651
+ sig {
2652
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::CardIssuing))
2653
+ }
2654
+ attr_accessor :card_issuing
2655
+ # The card_payments capability.
2656
+ sig {
2657
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::CardPayments))
2658
+ }
2659
+ attr_accessor :card_payments
2660
+ # The cartes_bancaires_payments capability.
2661
+ sig {
2662
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::CartesBancairesPayments))
2663
+ }
2664
+ attr_accessor :cartes_bancaires_payments
2665
+ # The cashapp_payments capability.
2666
+ sig {
2667
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::CashappPayments))
2668
+ }
2669
+ attr_accessor :cashapp_payments
2670
+ # The eps_payments capability.
2671
+ sig {
2672
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::EpsPayments))
2673
+ }
2674
+ attr_accessor :eps_payments
2675
+ # The fpx_payments capability.
2676
+ sig {
2677
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::FpxPayments))
2678
+ }
2679
+ attr_accessor :fpx_payments
2680
+ # The gb_bank_transfer_payments capability.
2681
+ sig {
2682
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::GbBankTransferPayments))
2683
+ }
2684
+ attr_accessor :gb_bank_transfer_payments
2685
+ # The giropay_payments capability.
2686
+ sig {
2687
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::GiropayPayments))
2688
+ }
2689
+ attr_accessor :giropay_payments
2690
+ # The grabpay_payments capability.
2691
+ sig {
2692
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::GrabpayPayments))
2693
+ }
2694
+ attr_accessor :grabpay_payments
2695
+ # The ideal_payments capability.
2696
+ sig {
2697
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::IdealPayments))
2698
+ }
2699
+ attr_accessor :ideal_payments
2700
+ # The india_international_payments capability.
2701
+ sig {
2702
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::IndiaInternationalPayments))
2703
+ }
2704
+ attr_accessor :india_international_payments
2705
+ # The jcb_payments capability.
2706
+ sig {
2707
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::JcbPayments))
2708
+ }
2709
+ attr_accessor :jcb_payments
2710
+ # The jp_bank_transfer_payments capability.
2711
+ sig {
2712
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::JpBankTransferPayments))
2713
+ }
2714
+ attr_accessor :jp_bank_transfer_payments
2715
+ # The kakao_pay_payments capability.
2716
+ sig {
2717
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::KakaoPayPayments))
2718
+ }
2719
+ attr_accessor :kakao_pay_payments
2720
+ # The klarna_payments capability.
2721
+ sig {
2722
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::KlarnaPayments))
2723
+ }
2724
+ attr_accessor :klarna_payments
2725
+ # The konbini_payments capability.
2726
+ sig {
2727
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::KonbiniPayments))
2728
+ }
2729
+ attr_accessor :konbini_payments
2730
+ # The kr_card_payments capability.
2731
+ sig {
2732
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::KrCardPayments))
2733
+ }
2734
+ attr_accessor :kr_card_payments
2735
+ # The legacy_payments capability.
2736
+ sig {
2737
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::LegacyPayments))
2738
+ }
2739
+ attr_accessor :legacy_payments
2740
+ # The link_payments capability.
2741
+ sig {
2742
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::LinkPayments))
2743
+ }
2744
+ attr_accessor :link_payments
2745
+ # The mobilepay_payments capability.
2746
+ sig {
2747
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::MobilepayPayments))
2748
+ }
2749
+ attr_accessor :mobilepay_payments
2750
+ # The multibanco_payments capability.
2751
+ sig {
2752
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::MultibancoPayments))
2753
+ }
2754
+ attr_accessor :multibanco_payments
2755
+ # The mx_bank_transfer_payments capability.
2756
+ sig {
2757
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::MxBankTransferPayments))
2758
+ }
2759
+ attr_accessor :mx_bank_transfer_payments
2760
+ # The naver_pay_payments capability.
2761
+ sig {
2762
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::NaverPayPayments))
2763
+ }
2764
+ attr_accessor :naver_pay_payments
2765
+ # The nz_bank_account_becs_debit_payments capability.
2766
+ sig {
2767
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::NzBankAccountBecsDebitPayments))
2768
+ }
2769
+ attr_accessor :nz_bank_account_becs_debit_payments
2770
+ # The oxxo_payments capability.
2771
+ sig {
2772
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::OxxoPayments))
2773
+ }
2774
+ attr_accessor :oxxo_payments
2775
+ # The p24_payments capability.
2776
+ sig {
2777
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::P24Payments))
2778
+ }
2779
+ attr_accessor :p24_payments
2780
+ # The pay_by_bank_payments capability.
2781
+ sig {
2782
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PayByBankPayments))
2783
+ }
2784
+ attr_accessor :pay_by_bank_payments
2785
+ # The payco_payments capability.
2786
+ sig {
2787
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PaycoPayments))
2788
+ }
2789
+ attr_accessor :payco_payments
2790
+ # The paynow_payments capability.
2791
+ sig {
2792
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PaynowPayments))
2793
+ }
2794
+ attr_accessor :paynow_payments
2795
+ # The promptpay_payments capability.
2796
+ sig {
2797
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PromptpayPayments))
2798
+ }
2799
+ attr_accessor :promptpay_payments
2800
+ # The revolut_pay_payments capability.
2801
+ sig {
2802
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::RevolutPayPayments))
2803
+ }
2804
+ attr_accessor :revolut_pay_payments
2805
+ # The samsung_pay_payments capability.
2806
+ sig {
2807
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SamsungPayPayments))
2808
+ }
2809
+ attr_accessor :samsung_pay_payments
2810
+ # The satispay_payments capability.
2811
+ sig {
2812
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SatispayPayments))
2813
+ }
2814
+ attr_accessor :satispay_payments
2815
+ # The sepa_bank_transfer_payments capability.
2816
+ sig {
2817
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SepaBankTransferPayments))
2818
+ }
2819
+ attr_accessor :sepa_bank_transfer_payments
2820
+ # The sepa_debit_payments capability.
2821
+ sig {
2822
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SepaDebitPayments))
2823
+ }
2824
+ attr_accessor :sepa_debit_payments
2825
+ # The sofort_payments capability.
2826
+ sig {
2827
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SofortPayments))
2828
+ }
2829
+ attr_accessor :sofort_payments
2830
+ # The swish_payments capability.
2831
+ sig {
2832
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SwishPayments))
2833
+ }
2834
+ attr_accessor :swish_payments
2835
+ # The tax_reporting_us_1099_k capability.
2836
+ sig {
2837
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::TaxReportingUs1099K))
2838
+ }
2839
+ attr_accessor :tax_reporting_us_1099_k
2840
+ # The tax_reporting_us_1099_misc capability.
2841
+ sig {
2842
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::TaxReportingUs1099Misc))
2843
+ }
2844
+ attr_accessor :tax_reporting_us_1099_misc
2845
+ # The transfers capability.
2846
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::Transfers)) }
2847
+ attr_accessor :transfers
2848
+ # The treasury capability.
2849
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::Treasury)) }
2850
+ attr_accessor :treasury
2851
+ # The twint_payments capability.
2852
+ sig {
2853
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::TwintPayments))
2854
+ }
2855
+ attr_accessor :twint_payments
2856
+ # The us_bank_account_ach_payments capability.
2857
+ sig {
2858
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::UsBankAccountAchPayments))
2859
+ }
2860
+ attr_accessor :us_bank_account_ach_payments
2861
+ # The us_bank_transfer_payments capability.
2862
+ sig {
2863
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::UsBankTransferPayments))
2864
+ }
2865
+ attr_accessor :us_bank_transfer_payments
2866
+ # The zip_payments capability.
2867
+ sig {
2868
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities::ZipPayments))
2869
+ }
2870
+ attr_accessor :zip_payments
2871
+ sig {
2872
+ params(acss_debit_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AcssDebitPayments), affirm_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AffirmPayments), afterpay_clearpay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AfterpayClearpayPayments), alma_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AlmaPayments), amazon_pay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AmazonPayPayments), au_becs_debit_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::AuBecsDebitPayments), bacs_debit_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BacsDebitPayments), bancontact_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BancontactPayments), bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BankTransferPayments), billie_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BilliePayments), blik_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BlikPayments), boleto_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::BoletoPayments), card_issuing: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::CardIssuing), card_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::CardPayments), cartes_bancaires_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::CartesBancairesPayments), cashapp_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::CashappPayments), eps_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::EpsPayments), fpx_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::FpxPayments), gb_bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::GbBankTransferPayments), giropay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::GiropayPayments), grabpay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::GrabpayPayments), ideal_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::IdealPayments), india_international_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::IndiaInternationalPayments), jcb_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::JcbPayments), jp_bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::JpBankTransferPayments), kakao_pay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::KakaoPayPayments), klarna_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::KlarnaPayments), konbini_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::KonbiniPayments), kr_card_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::KrCardPayments), legacy_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::LegacyPayments), link_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::LinkPayments), mobilepay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::MobilepayPayments), multibanco_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::MultibancoPayments), mx_bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::MxBankTransferPayments), naver_pay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::NaverPayPayments), nz_bank_account_becs_debit_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::NzBankAccountBecsDebitPayments), oxxo_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::OxxoPayments), p24_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::P24Payments), pay_by_bank_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PayByBankPayments), payco_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PaycoPayments), paynow_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PaynowPayments), promptpay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::PromptpayPayments), revolut_pay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::RevolutPayPayments), samsung_pay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SamsungPayPayments), satispay_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SatispayPayments), sepa_bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SepaBankTransferPayments), sepa_debit_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SepaDebitPayments), sofort_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SofortPayments), swish_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::SwishPayments), tax_reporting_us_1099_k: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::TaxReportingUs1099K), tax_reporting_us_1099_misc: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::TaxReportingUs1099Misc), transfers: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::Transfers), treasury: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::Treasury), twint_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::TwintPayments), us_bank_account_ach_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::UsBankAccountAchPayments), us_bank_transfer_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::UsBankTransferPayments), zip_payments: T.nilable(::Stripe::AccountService::CreateParams::Capabilities::ZipPayments)).void
2873
+ }
2874
+ def initialize(
2875
+ acss_debit_payments: nil,
2876
+ affirm_payments: nil,
2877
+ afterpay_clearpay_payments: nil,
2878
+ alma_payments: nil,
2879
+ amazon_pay_payments: nil,
2880
+ au_becs_debit_payments: nil,
2881
+ bacs_debit_payments: nil,
2882
+ bancontact_payments: nil,
2883
+ bank_transfer_payments: nil,
2884
+ billie_payments: nil,
2885
+ blik_payments: nil,
2886
+ boleto_payments: nil,
2887
+ card_issuing: nil,
2888
+ card_payments: nil,
2889
+ cartes_bancaires_payments: nil,
2890
+ cashapp_payments: nil,
2891
+ eps_payments: nil,
2892
+ fpx_payments: nil,
2893
+ gb_bank_transfer_payments: nil,
2894
+ giropay_payments: nil,
2895
+ grabpay_payments: nil,
2896
+ ideal_payments: nil,
2897
+ india_international_payments: nil,
2898
+ jcb_payments: nil,
2899
+ jp_bank_transfer_payments: nil,
2900
+ kakao_pay_payments: nil,
2901
+ klarna_payments: nil,
2902
+ konbini_payments: nil,
2903
+ kr_card_payments: nil,
2904
+ legacy_payments: nil,
2905
+ link_payments: nil,
2906
+ mobilepay_payments: nil,
2907
+ multibanco_payments: nil,
2908
+ mx_bank_transfer_payments: nil,
2909
+ naver_pay_payments: nil,
2910
+ nz_bank_account_becs_debit_payments: nil,
2911
+ oxxo_payments: nil,
2912
+ p24_payments: nil,
2913
+ pay_by_bank_payments: nil,
2914
+ payco_payments: nil,
2915
+ paynow_payments: nil,
2916
+ promptpay_payments: nil,
2917
+ revolut_pay_payments: nil,
2918
+ samsung_pay_payments: nil,
2919
+ satispay_payments: nil,
2920
+ sepa_bank_transfer_payments: nil,
2921
+ sepa_debit_payments: nil,
2922
+ sofort_payments: nil,
2923
+ swish_payments: nil,
2924
+ tax_reporting_us_1099_k: nil,
2925
+ tax_reporting_us_1099_misc: nil,
2926
+ transfers: nil,
2927
+ treasury: nil,
2928
+ twint_payments: nil,
2929
+ us_bank_account_ach_payments: nil,
2930
+ us_bank_transfer_payments: nil,
2931
+ zip_payments: nil
2932
+ ); end
2933
+ end
2934
+ class Card < Stripe::RequestParams
2935
+ # Attribute for param field object
2936
+ sig { returns(String) }
2937
+ attr_accessor :object
2938
+ # Attribute for param field address_city
2939
+ sig { returns(T.nilable(String)) }
2940
+ attr_accessor :address_city
2941
+ # Attribute for param field address_country
2942
+ sig { returns(T.nilable(String)) }
2943
+ attr_accessor :address_country
2944
+ # Attribute for param field address_line1
2945
+ sig { returns(T.nilable(String)) }
2946
+ attr_accessor :address_line1
2947
+ # Attribute for param field address_line2
2948
+ sig { returns(T.nilable(String)) }
2949
+ attr_accessor :address_line2
2950
+ # Attribute for param field address_state
2951
+ sig { returns(T.nilable(String)) }
2952
+ attr_accessor :address_state
2953
+ # Attribute for param field address_zip
2954
+ sig { returns(T.nilable(String)) }
2955
+ attr_accessor :address_zip
2956
+ # Attribute for param field currency
2957
+ sig { returns(T.nilable(String)) }
2958
+ attr_accessor :currency
2959
+ # Attribute for param field cvc
2960
+ sig { returns(T.nilable(String)) }
2961
+ attr_accessor :cvc
2962
+ # Attribute for param field exp_month
2963
+ sig { returns(Integer) }
2964
+ attr_accessor :exp_month
2965
+ # Attribute for param field exp_year
2966
+ sig { returns(Integer) }
2967
+ attr_accessor :exp_year
2968
+ # Attribute for param field name
2969
+ sig { returns(T.nilable(String)) }
2970
+ attr_accessor :name
2971
+ # Attribute for param field number
2972
+ sig { returns(String) }
2973
+ attr_accessor :number
2974
+ # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
2975
+ sig { returns(T.nilable(T::Hash[String, String])) }
2976
+ attr_accessor :metadata
2977
+ # Attribute for param field default_for_currency
2978
+ sig { returns(T.nilable(T::Boolean)) }
2979
+ attr_accessor :default_for_currency
2980
+ sig {
2981
+ params(object: String, address_city: T.nilable(String), address_country: T.nilable(String), address_line1: T.nilable(String), address_line2: T.nilable(String), address_state: T.nilable(String), address_zip: T.nilable(String), currency: T.nilable(String), cvc: T.nilable(String), exp_month: Integer, exp_year: Integer, name: T.nilable(String), number: String, metadata: T.nilable(T::Hash[String, String]), default_for_currency: T.nilable(T::Boolean)).void
2982
+ }
2983
+ def initialize(
2984
+ object: nil,
2985
+ address_city: nil,
2986
+ address_country: nil,
2987
+ address_line1: nil,
2988
+ address_line2: nil,
2989
+ address_state: nil,
2990
+ address_zip: nil,
2991
+ currency: nil,
2992
+ cvc: nil,
2993
+ exp_month: nil,
2994
+ exp_year: nil,
2995
+ name: nil,
2996
+ number: nil,
2997
+ metadata: nil,
2998
+ default_for_currency: nil
2999
+ ); end
3000
+ end
3001
+ class CardToken < Stripe::RequestParams
3002
+ # Attribute for param field object
3003
+ sig { returns(String) }
3004
+ attr_accessor :object
3005
+ # Attribute for param field currency
3006
+ sig { returns(T.nilable(String)) }
3007
+ attr_accessor :currency
3008
+ # Attribute for param field token
3009
+ sig { returns(String) }
3010
+ attr_accessor :token
3011
+ sig { params(object: String, currency: T.nilable(String), token: String).void }
3012
+ def initialize(object: nil, currency: nil, token: nil); end
3013
+ end
3014
+ class Company < Stripe::RequestParams
3015
+ class Address < Stripe::RequestParams
3016
+ # City, district, suburb, town, or village.
3017
+ sig { returns(T.nilable(String)) }
3018
+ attr_accessor :city
3019
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3020
+ sig { returns(T.nilable(String)) }
3021
+ attr_accessor :country
3022
+ # Address line 1 (e.g., street, PO Box, or company name).
3023
+ sig { returns(T.nilable(String)) }
3024
+ attr_accessor :line1
3025
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3026
+ sig { returns(T.nilable(String)) }
3027
+ attr_accessor :line2
3028
+ # ZIP or postal code.
3029
+ sig { returns(T.nilable(String)) }
3030
+ attr_accessor :postal_code
3031
+ # State, county, province, or region.
3032
+ sig { returns(T.nilable(String)) }
3033
+ attr_accessor :state
3034
+ sig {
3035
+ params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String)).void
3036
+ }
3037
+ def initialize(
3038
+ city: nil,
3039
+ country: nil,
3040
+ line1: nil,
3041
+ line2: nil,
3042
+ postal_code: nil,
3043
+ state: nil
3044
+ ); end
3045
+ end
3046
+ class AddressKana < Stripe::RequestParams
3047
+ # City or ward.
3048
+ sig { returns(T.nilable(String)) }
3049
+ attr_accessor :city
3050
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3051
+ sig { returns(T.nilable(String)) }
3052
+ attr_accessor :country
3053
+ # Block or building number.
3054
+ sig { returns(T.nilable(String)) }
3055
+ attr_accessor :line1
3056
+ # Building details.
3057
+ sig { returns(T.nilable(String)) }
3058
+ attr_accessor :line2
3059
+ # Postal code.
3060
+ sig { returns(T.nilable(String)) }
3061
+ attr_accessor :postal_code
3062
+ # Prefecture.
3063
+ sig { returns(T.nilable(String)) }
3064
+ attr_accessor :state
3065
+ # Town or cho-me.
3066
+ sig { returns(T.nilable(String)) }
3067
+ attr_accessor :town
3068
+ sig {
3069
+ params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String), town: T.nilable(String)).void
3070
+ }
3071
+ def initialize(
3072
+ city: nil,
3073
+ country: nil,
3074
+ line1: nil,
3075
+ line2: nil,
3076
+ postal_code: nil,
3077
+ state: nil,
3078
+ town: nil
3079
+ ); end
3080
+ end
3081
+ class AddressKanji < Stripe::RequestParams
3082
+ # City or ward.
3083
+ sig { returns(T.nilable(String)) }
3084
+ attr_accessor :city
3085
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3086
+ sig { returns(T.nilable(String)) }
3087
+ attr_accessor :country
3088
+ # Block or building number.
3089
+ sig { returns(T.nilable(String)) }
3090
+ attr_accessor :line1
3091
+ # Building details.
3092
+ sig { returns(T.nilable(String)) }
3093
+ attr_accessor :line2
3094
+ # Postal code.
3095
+ sig { returns(T.nilable(String)) }
3096
+ attr_accessor :postal_code
3097
+ # Prefecture.
3098
+ sig { returns(T.nilable(String)) }
3099
+ attr_accessor :state
3100
+ # Town or cho-me.
3101
+ sig { returns(T.nilable(String)) }
3102
+ attr_accessor :town
3103
+ sig {
3104
+ params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String), town: T.nilable(String)).void
3105
+ }
3106
+ def initialize(
3107
+ city: nil,
3108
+ country: nil,
3109
+ line1: nil,
3110
+ line2: nil,
3111
+ postal_code: nil,
3112
+ state: nil,
3113
+ town: nil
3114
+ ); end
3115
+ end
3116
+ class DirectorshipDeclaration < Stripe::RequestParams
3117
+ # The Unix timestamp marking when the directorship declaration attestation was made.
3118
+ sig { returns(T.nilable(Integer)) }
3119
+ attr_accessor :date
3120
+ # The IP address from which the directorship declaration attestation was made.
3121
+ sig { returns(T.nilable(String)) }
3122
+ attr_accessor :ip
3123
+ # The user agent of the browser from which the directorship declaration attestation was made.
3124
+ sig { returns(T.nilable(String)) }
3125
+ attr_accessor :user_agent
3126
+ sig {
3127
+ params(date: T.nilable(Integer), ip: T.nilable(String), user_agent: T.nilable(String)).void
3128
+ }
3129
+ def initialize(date: nil, ip: nil, user_agent: nil); end
3130
+ end
3131
+ class OwnershipDeclaration < Stripe::RequestParams
3132
+ # The Unix timestamp marking when the beneficial owner attestation was made.
3133
+ sig { returns(T.nilable(Integer)) }
3134
+ attr_accessor :date
3135
+ # The IP address from which the beneficial owner attestation was made.
3136
+ sig { returns(T.nilable(String)) }
3137
+ attr_accessor :ip
3138
+ # The user agent of the browser from which the beneficial owner attestation was made.
3139
+ sig { returns(T.nilable(String)) }
3140
+ attr_accessor :user_agent
3141
+ sig {
3142
+ params(date: T.nilable(Integer), ip: T.nilable(String), user_agent: T.nilable(String)).void
3143
+ }
3144
+ def initialize(date: nil, ip: nil, user_agent: nil); end
3145
+ end
3146
+ class Verification < Stripe::RequestParams
3147
+ class Document < Stripe::RequestParams
3148
+ # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. 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.
3149
+ sig { returns(T.nilable(String)) }
3150
+ attr_accessor :back
3151
+ # The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. 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.
3152
+ sig { returns(T.nilable(String)) }
3153
+ attr_accessor :front
3154
+ sig { params(back: T.nilable(String), front: T.nilable(String)).void }
3155
+ def initialize(back: nil, front: nil); end
3156
+ end
3157
+ # A document verifying the business.
3158
+ sig {
3159
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Company::Verification::Document))
3160
+ }
3161
+ attr_accessor :document
3162
+ sig {
3163
+ params(document: T.nilable(::Stripe::AccountService::CreateParams::Company::Verification::Document)).void
3164
+ }
3165
+ def initialize(document: nil); end
3166
+ end
3167
+ # The company's primary address.
3168
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Company::Address)) }
3169
+ attr_accessor :address
3170
+ # The Kana variation of the company's primary address (Japan only).
3171
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Company::AddressKana)) }
3172
+ attr_accessor :address_kana
3173
+ # The Kanji variation of the company's primary address (Japan only).
3174
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Company::AddressKanji)) }
3175
+ attr_accessor :address_kanji
3176
+ # Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.
3177
+ sig { returns(T.nilable(T::Boolean)) }
3178
+ attr_accessor :directors_provided
3179
+ # This hash is used to attest that the directors information provided to Stripe is both current and correct.
3180
+ sig {
3181
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Company::DirectorshipDeclaration))
3182
+ }
3183
+ attr_accessor :directorship_declaration
3184
+ # Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](/api/persons) for accounts with a `relationship.executive` requirement.
3185
+ sig { returns(T.nilable(T::Boolean)) }
3186
+ attr_accessor :executives_provided
3187
+ # The export license ID number of the company, also referred as Import Export Code (India only).
3188
+ sig { returns(T.nilable(String)) }
3189
+ attr_accessor :export_license_id
3190
+ # The purpose code to use for export transactions (India only).
3191
+ sig { returns(T.nilable(String)) }
3192
+ attr_accessor :export_purpose_code
3193
+ # The company's legal name.
3194
+ sig { returns(T.nilable(String)) }
3195
+ attr_accessor :name
3196
+ # The Kana variation of the company's legal name (Japan only).
3197
+ sig { returns(T.nilable(String)) }
3198
+ attr_accessor :name_kana
3199
+ # The Kanji variation of the company's legal name (Japan only).
3200
+ sig { returns(T.nilable(String)) }
3201
+ attr_accessor :name_kanji
3202
+ # Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](/api/persons) for accounts with a `relationship.owner` requirement.
3203
+ sig { returns(T.nilable(T::Boolean)) }
3204
+ attr_accessor :owners_provided
3205
+ # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
3206
+ sig {
3207
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Company::OwnershipDeclaration))
3208
+ }
3209
+ attr_accessor :ownership_declaration
3210
+ # This value is used to determine if a business is exempt from providing ultimate beneficial owners. See [this support article](https://support.stripe.com/questions/exemption-from-providing-ownership-details) and [changelog](https://docs.stripe.com/changelog/acacia/2025-01-27/ownership-exemption-reason-accounts-api) for more details.
3211
+ sig { returns(T.nilable(T.nilable(T.any(String, String)))) }
3212
+ attr_accessor :ownership_exemption_reason
3213
+ # The company's phone number (used for verification).
3214
+ sig { returns(T.nilable(String)) }
3215
+ attr_accessor :phone
3216
+ # The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
3217
+ sig { returns(T.nilable(String)) }
3218
+ attr_accessor :registration_number
3219
+ # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
3220
+ sig { returns(T.nilable(T.nilable(T.any(String, String)))) }
3221
+ attr_accessor :structure
3222
+ # The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
3223
+ sig { returns(T.nilable(String)) }
3224
+ attr_accessor :tax_id
3225
+ # The jurisdiction in which the `tax_id` is registered (Germany-based companies only).
3226
+ sig { returns(T.nilable(String)) }
3227
+ attr_accessor :tax_id_registrar
3228
+ # The VAT number of the company.
3229
+ sig { returns(T.nilable(String)) }
3230
+ attr_accessor :vat_id
3231
+ # Information on the verification state of the company.
3232
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Company::Verification)) }
3233
+ attr_accessor :verification
3234
+ sig {
3235
+ params(address: T.nilable(::Stripe::AccountService::CreateParams::Company::Address), address_kana: T.nilable(::Stripe::AccountService::CreateParams::Company::AddressKana), address_kanji: T.nilable(::Stripe::AccountService::CreateParams::Company::AddressKanji), directors_provided: T.nilable(T::Boolean), directorship_declaration: T.nilable(::Stripe::AccountService::CreateParams::Company::DirectorshipDeclaration), executives_provided: T.nilable(T::Boolean), export_license_id: T.nilable(String), export_purpose_code: T.nilable(String), name: T.nilable(String), name_kana: T.nilable(String), name_kanji: T.nilable(String), owners_provided: T.nilable(T::Boolean), ownership_declaration: T.nilable(::Stripe::AccountService::CreateParams::Company::OwnershipDeclaration), ownership_exemption_reason: T.nilable(T.nilable(T.any(String, String))), phone: T.nilable(String), registration_number: T.nilable(String), structure: T.nilable(T.nilable(T.any(String, String))), tax_id: T.nilable(String), tax_id_registrar: T.nilable(String), vat_id: T.nilable(String), verification: T.nilable(::Stripe::AccountService::CreateParams::Company::Verification)).void
3236
+ }
3237
+ def initialize(
3238
+ address: nil,
3239
+ address_kana: nil,
3240
+ address_kanji: nil,
3241
+ directors_provided: nil,
3242
+ directorship_declaration: nil,
3243
+ executives_provided: nil,
3244
+ export_license_id: nil,
3245
+ export_purpose_code: nil,
3246
+ name: nil,
3247
+ name_kana: nil,
3248
+ name_kanji: nil,
3249
+ owners_provided: nil,
3250
+ ownership_declaration: nil,
3251
+ ownership_exemption_reason: nil,
3252
+ phone: nil,
3253
+ registration_number: nil,
3254
+ structure: nil,
3255
+ tax_id: nil,
3256
+ tax_id_registrar: nil,
3257
+ vat_id: nil,
3258
+ verification: nil
3259
+ ); end
3260
+ end
3261
+ class Controller < Stripe::RequestParams
3262
+ class Fees < Stripe::RequestParams
3263
+ # A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
3264
+ sig { returns(T.nilable(String)) }
3265
+ attr_accessor :payer
3266
+ sig { params(payer: T.nilable(String)).void }
3267
+ def initialize(payer: nil); end
3268
+ end
3269
+ class Losses < Stripe::RequestParams
3270
+ # A value indicating who is liable when this account can't pay back negative balances resulting from payments. Defaults to `stripe`.
3271
+ sig { returns(T.nilable(String)) }
3272
+ attr_accessor :payments
3273
+ sig { params(payments: T.nilable(String)).void }
3274
+ def initialize(payments: nil); end
3275
+ end
3276
+ class StripeDashboard < Stripe::RequestParams
3277
+ # Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
3278
+ sig { returns(T.nilable(String)) }
3279
+ attr_accessor :type
3280
+ sig { params(type: T.nilable(String)).void }
3281
+ def initialize(type: nil); end
3282
+ end
3283
+ # A hash of configuration for who pays Stripe fees for product usage on this account.
3284
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Controller::Fees)) }
3285
+ attr_accessor :fees
3286
+ # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
3287
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Controller::Losses)) }
3288
+ attr_accessor :losses
3289
+ # A value indicating responsibility for collecting updated information when requirements on the account are due or change. Defaults to `stripe`.
3290
+ sig { returns(T.nilable(String)) }
3291
+ attr_accessor :requirement_collection
3292
+ # A hash of configuration for Stripe-hosted dashboards.
3293
+ sig {
3294
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Controller::StripeDashboard))
3295
+ }
3296
+ attr_accessor :stripe_dashboard
3297
+ sig {
3298
+ params(fees: T.nilable(::Stripe::AccountService::CreateParams::Controller::Fees), losses: T.nilable(::Stripe::AccountService::CreateParams::Controller::Losses), requirement_collection: T.nilable(String), stripe_dashboard: T.nilable(::Stripe::AccountService::CreateParams::Controller::StripeDashboard)).void
3299
+ }
3300
+ def initialize(
3301
+ fees: nil,
3302
+ losses: nil,
3303
+ requirement_collection: nil,
3304
+ stripe_dashboard: nil
3305
+ ); end
3306
+ end
3307
+ class Documents < Stripe::RequestParams
3308
+ class BankAccountOwnershipVerification < Stripe::RequestParams
3309
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3310
+ sig { returns(T.nilable(T::Array[String])) }
3311
+ attr_accessor :files
3312
+ sig { params(files: T.nilable(T::Array[String])).void }
3313
+ def initialize(files: nil); end
3314
+ end
3315
+ class CompanyLicense < Stripe::RequestParams
3316
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3317
+ sig { returns(T.nilable(T::Array[String])) }
3318
+ attr_accessor :files
3319
+ sig { params(files: T.nilable(T::Array[String])).void }
3320
+ def initialize(files: nil); end
3321
+ end
3322
+ class CompanyMemorandumOfAssociation < Stripe::RequestParams
3323
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3324
+ sig { returns(T.nilable(T::Array[String])) }
3325
+ attr_accessor :files
3326
+ sig { params(files: T.nilable(T::Array[String])).void }
3327
+ def initialize(files: nil); end
3328
+ end
3329
+ class CompanyMinisterialDecree < Stripe::RequestParams
3330
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3331
+ sig { returns(T.nilable(T::Array[String])) }
3332
+ attr_accessor :files
3333
+ sig { params(files: T.nilable(T::Array[String])).void }
3334
+ def initialize(files: nil); end
3335
+ end
3336
+ class CompanyRegistrationVerification < Stripe::RequestParams
3337
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3338
+ sig { returns(T.nilable(T::Array[String])) }
3339
+ attr_accessor :files
3340
+ sig { params(files: T.nilable(T::Array[String])).void }
3341
+ def initialize(files: nil); end
3342
+ end
3343
+ class CompanyTaxIdVerification < Stripe::RequestParams
3344
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3345
+ sig { returns(T.nilable(T::Array[String])) }
3346
+ attr_accessor :files
3347
+ sig { params(files: T.nilable(T::Array[String])).void }
3348
+ def initialize(files: nil); end
3349
+ end
3350
+ class ProofOfRegistration < Stripe::RequestParams
3351
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3352
+ sig { returns(T.nilable(T::Array[String])) }
3353
+ attr_accessor :files
3354
+ sig { params(files: T.nilable(T::Array[String])).void }
3355
+ def initialize(files: nil); end
3356
+ end
3357
+ class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
3358
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3359
+ sig { returns(T.nilable(T::Array[String])) }
3360
+ attr_accessor :files
3361
+ sig { params(files: T.nilable(T::Array[String])).void }
3362
+ def initialize(files: nil); end
3363
+ end
3364
+ # One or more documents that support the [Bank account ownership verification](https://support.stripe.com/questions/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.
3365
+ sig {
3366
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Documents::BankAccountOwnershipVerification))
3367
+ }
3368
+ attr_accessor :bank_account_ownership_verification
3369
+ # One or more documents that demonstrate proof of a company's license to operate.
3370
+ sig {
3371
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Documents::CompanyLicense))
3372
+ }
3373
+ attr_accessor :company_license
3374
+ # One or more documents showing the company's Memorandum of Association.
3375
+ sig {
3376
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Documents::CompanyMemorandumOfAssociation))
3377
+ }
3378
+ attr_accessor :company_memorandum_of_association
3379
+ # (Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.
3380
+ sig {
3381
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Documents::CompanyMinisterialDecree))
3382
+ }
3383
+ attr_accessor :company_ministerial_decree
3384
+ # One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
3385
+ sig {
3386
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Documents::CompanyRegistrationVerification))
3387
+ }
3388
+ attr_accessor :company_registration_verification
3389
+ # One or more documents that demonstrate proof of a company's tax ID.
3390
+ sig {
3391
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Documents::CompanyTaxIdVerification))
3392
+ }
3393
+ attr_accessor :company_tax_id_verification
3394
+ # One or more documents showing the company’s proof of registration with the national business registry.
3395
+ sig {
3396
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Documents::ProofOfRegistration))
3397
+ }
3398
+ attr_accessor :proof_of_registration
3399
+ # One or more documents that demonstrate proof of ultimate beneficial ownership.
3400
+ sig {
3401
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Documents::ProofOfUltimateBeneficialOwnership))
3402
+ }
3403
+ attr_accessor :proof_of_ultimate_beneficial_ownership
3404
+ sig {
3405
+ params(bank_account_ownership_verification: T.nilable(::Stripe::AccountService::CreateParams::Documents::BankAccountOwnershipVerification), company_license: T.nilable(::Stripe::AccountService::CreateParams::Documents::CompanyLicense), company_memorandum_of_association: T.nilable(::Stripe::AccountService::CreateParams::Documents::CompanyMemorandumOfAssociation), company_ministerial_decree: T.nilable(::Stripe::AccountService::CreateParams::Documents::CompanyMinisterialDecree), company_registration_verification: T.nilable(::Stripe::AccountService::CreateParams::Documents::CompanyRegistrationVerification), company_tax_id_verification: T.nilable(::Stripe::AccountService::CreateParams::Documents::CompanyTaxIdVerification), proof_of_registration: T.nilable(::Stripe::AccountService::CreateParams::Documents::ProofOfRegistration), proof_of_ultimate_beneficial_ownership: T.nilable(::Stripe::AccountService::CreateParams::Documents::ProofOfUltimateBeneficialOwnership)).void
3406
+ }
3407
+ def initialize(
3408
+ bank_account_ownership_verification: nil,
3409
+ company_license: nil,
3410
+ company_memorandum_of_association: nil,
3411
+ company_ministerial_decree: nil,
3412
+ company_registration_verification: nil,
3413
+ company_tax_id_verification: nil,
3414
+ proof_of_registration: nil,
3415
+ proof_of_ultimate_beneficial_ownership: nil
3416
+ ); end
3417
+ end
3418
+ class Groups < Stripe::RequestParams
3419
+ # The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/docs/connect/platform-pricing-tools) for details.
3420
+ sig { returns(T.nilable(T.nilable(String))) }
3421
+ attr_accessor :payments_pricing
3422
+ sig { params(payments_pricing: T.nilable(T.nilable(String))).void }
3423
+ def initialize(payments_pricing: nil); end
3424
+ end
3425
+ class Individual < Stripe::RequestParams
3426
+ class Address < Stripe::RequestParams
3427
+ # City, district, suburb, town, or village.
3428
+ sig { returns(T.nilable(String)) }
3429
+ attr_accessor :city
3430
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3431
+ sig { returns(T.nilable(String)) }
3432
+ attr_accessor :country
3433
+ # Address line 1 (e.g., street, PO Box, or company name).
3434
+ sig { returns(T.nilable(String)) }
3435
+ attr_accessor :line1
3436
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3437
+ sig { returns(T.nilable(String)) }
3438
+ attr_accessor :line2
3439
+ # ZIP or postal code.
3440
+ sig { returns(T.nilable(String)) }
3441
+ attr_accessor :postal_code
3442
+ # State, county, province, or region.
3443
+ sig { returns(T.nilable(String)) }
3444
+ attr_accessor :state
3445
+ sig {
3446
+ params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String)).void
3447
+ }
3448
+ def initialize(
3449
+ city: nil,
3450
+ country: nil,
3451
+ line1: nil,
3452
+ line2: nil,
3453
+ postal_code: nil,
3454
+ state: nil
3455
+ ); end
3456
+ end
3457
+ class AddressKana < Stripe::RequestParams
3458
+ # City or ward.
3459
+ sig { returns(T.nilable(String)) }
3460
+ attr_accessor :city
3461
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3462
+ sig { returns(T.nilable(String)) }
3463
+ attr_accessor :country
3464
+ # Block or building number.
3465
+ sig { returns(T.nilable(String)) }
3466
+ attr_accessor :line1
3467
+ # Building details.
3468
+ sig { returns(T.nilable(String)) }
3469
+ attr_accessor :line2
3470
+ # Postal code.
3471
+ sig { returns(T.nilable(String)) }
3472
+ attr_accessor :postal_code
3473
+ # Prefecture.
3474
+ sig { returns(T.nilable(String)) }
3475
+ attr_accessor :state
3476
+ # Town or cho-me.
3477
+ sig { returns(T.nilable(String)) }
3478
+ attr_accessor :town
3479
+ sig {
3480
+ params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String), town: T.nilable(String)).void
3481
+ }
3482
+ def initialize(
3483
+ city: nil,
3484
+ country: nil,
3485
+ line1: nil,
3486
+ line2: nil,
3487
+ postal_code: nil,
3488
+ state: nil,
3489
+ town: nil
3490
+ ); end
3491
+ end
3492
+ class AddressKanji < Stripe::RequestParams
3493
+ # City or ward.
3494
+ sig { returns(T.nilable(String)) }
3495
+ attr_accessor :city
3496
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3497
+ sig { returns(T.nilable(String)) }
3498
+ attr_accessor :country
3499
+ # Block or building number.
3500
+ sig { returns(T.nilable(String)) }
3501
+ attr_accessor :line1
3502
+ # Building details.
3503
+ sig { returns(T.nilable(String)) }
3504
+ attr_accessor :line2
3505
+ # Postal code.
3506
+ sig { returns(T.nilable(String)) }
3507
+ attr_accessor :postal_code
3508
+ # Prefecture.
3509
+ sig { returns(T.nilable(String)) }
3510
+ attr_accessor :state
3511
+ # Town or cho-me.
3512
+ sig { returns(T.nilable(String)) }
3513
+ attr_accessor :town
3514
+ sig {
3515
+ params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String), town: T.nilable(String)).void
3516
+ }
3517
+ def initialize(
3518
+ city: nil,
3519
+ country: nil,
3520
+ line1: nil,
3521
+ line2: nil,
3522
+ postal_code: nil,
3523
+ state: nil,
3524
+ town: nil
3525
+ ); end
3526
+ end
3527
+ class Dob < Stripe::RequestParams
3528
+ # The day of birth, between 1 and 31.
3529
+ sig { returns(Integer) }
3530
+ attr_accessor :day
3531
+ # The month of birth, between 1 and 12.
3532
+ sig { returns(Integer) }
3533
+ attr_accessor :month
3534
+ # The four-digit year of birth.
3535
+ sig { returns(Integer) }
3536
+ attr_accessor :year
3537
+ sig { params(day: Integer, month: Integer, year: Integer).void }
3538
+ def initialize(day: nil, month: nil, year: nil); end
3539
+ end
3540
+ class RegisteredAddress < Stripe::RequestParams
3541
+ # City, district, suburb, town, or village.
3542
+ sig { returns(T.nilable(String)) }
3543
+ attr_accessor :city
3544
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3545
+ sig { returns(T.nilable(String)) }
3546
+ attr_accessor :country
3547
+ # Address line 1 (e.g., street, PO Box, or company name).
3548
+ sig { returns(T.nilable(String)) }
3549
+ attr_accessor :line1
3550
+ # Address line 2 (e.g., apartment, suite, unit, or building).
3551
+ sig { returns(T.nilable(String)) }
3552
+ attr_accessor :line2
3553
+ # ZIP or postal code.
3554
+ sig { returns(T.nilable(String)) }
3555
+ attr_accessor :postal_code
3556
+ # State, county, province, or region.
3557
+ sig { returns(T.nilable(String)) }
3558
+ attr_accessor :state
3559
+ sig {
3560
+ params(city: T.nilable(String), country: T.nilable(String), line1: T.nilable(String), line2: T.nilable(String), postal_code: T.nilable(String), state: T.nilable(String)).void
3561
+ }
3562
+ def initialize(
3563
+ city: nil,
3564
+ country: nil,
3565
+ line1: nil,
3566
+ line2: nil,
3567
+ postal_code: nil,
3568
+ state: nil
3569
+ ); end
3570
+ end
3571
+ class Relationship < Stripe::RequestParams
3572
+ # Whether the person 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.
3573
+ sig { returns(T.nilable(T::Boolean)) }
3574
+ attr_accessor :director
3575
+ # Whether the person has significant responsibility to control, manage, or direct the organization.
3576
+ sig { returns(T.nilable(T::Boolean)) }
3577
+ attr_accessor :executive
3578
+ # Whether the person is an owner of the account’s legal entity.
3579
+ sig { returns(T.nilable(T::Boolean)) }
3580
+ attr_accessor :owner
3581
+ # The percent owned by the person of the account's legal entity.
3582
+ sig { returns(T.nilable(T.nilable(T.any(String, Float)))) }
3583
+ attr_accessor :percent_ownership
3584
+ # The person's title (e.g., CEO, Support Engineer).
3585
+ sig { returns(T.nilable(String)) }
3586
+ attr_accessor :title
3587
+ sig {
3588
+ params(director: T.nilable(T::Boolean), executive: T.nilable(T::Boolean), owner: T.nilable(T::Boolean), percent_ownership: T.nilable(T.nilable(T.any(String, Float))), title: T.nilable(String)).void
3589
+ }
3590
+ def initialize(
3591
+ director: nil,
3592
+ executive: nil,
3593
+ owner: nil,
3594
+ percent_ownership: nil,
3595
+ title: nil
3596
+ ); end
3597
+ end
3598
+ class Verification < Stripe::RequestParams
3599
+ class AdditionalDocument < Stripe::RequestParams
3600
+ # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `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.
3601
+ sig { returns(T.nilable(String)) }
3602
+ attr_accessor :back
3603
+ # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `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.
3604
+ sig { returns(T.nilable(String)) }
3605
+ attr_accessor :front
3606
+ sig { params(back: T.nilable(String), front: T.nilable(String)).void }
3607
+ def initialize(back: nil, front: nil); end
3608
+ end
3609
+ class Document < Stripe::RequestParams
3610
+ # The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `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.
3611
+ sig { returns(T.nilable(String)) }
3612
+ attr_accessor :back
3613
+ # The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `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.
3614
+ sig { returns(T.nilable(String)) }
3615
+ attr_accessor :front
3616
+ sig { params(back: T.nilable(String), front: T.nilable(String)).void }
3617
+ def initialize(back: nil, front: nil); end
3618
+ end
3619
+ # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
3620
+ sig {
3621
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Individual::Verification::AdditionalDocument))
3622
+ }
3623
+ attr_accessor :additional_document
3624
+ # An identifying document, either a passport or local ID card.
3625
+ sig {
3626
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Individual::Verification::Document))
3627
+ }
3628
+ attr_accessor :document
3629
+ sig {
3630
+ params(additional_document: T.nilable(::Stripe::AccountService::CreateParams::Individual::Verification::AdditionalDocument), document: T.nilable(::Stripe::AccountService::CreateParams::Individual::Verification::Document)).void
3631
+ }
3632
+ def initialize(additional_document: nil, document: nil); end
3633
+ end
3634
+ # The individual's primary address.
3635
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Individual::Address)) }
3636
+ attr_accessor :address
3637
+ # The Kana variation of the individual's primary address (Japan only).
3638
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Individual::AddressKana)) }
3639
+ attr_accessor :address_kana
3640
+ # The Kanji variation of the individual's primary address (Japan only).
3641
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Individual::AddressKanji)) }
3642
+ attr_accessor :address_kanji
3643
+ # The individual's date of birth.
3644
+ sig {
3645
+ returns(T.nilable(T.nilable(T.any(String, ::Stripe::AccountService::CreateParams::Individual::Dob))))
3646
+ }
3647
+ attr_accessor :dob
3648
+ # The individual's email address.
3649
+ sig { returns(T.nilable(String)) }
3650
+ attr_accessor :email
3651
+ # The individual's first name.
3652
+ sig { returns(T.nilable(String)) }
3653
+ attr_accessor :first_name
3654
+ # The Kana variation of the individual's first name (Japan only).
3655
+ sig { returns(T.nilable(String)) }
3656
+ attr_accessor :first_name_kana
3657
+ # The Kanji variation of the individual's first name (Japan only).
3658
+ sig { returns(T.nilable(String)) }
3659
+ attr_accessor :first_name_kanji
3660
+ # A list of alternate names or aliases that the individual is known by.
3661
+ sig { returns(T.nilable(T.nilable(T.any(String, T::Array[String])))) }
3662
+ attr_accessor :full_name_aliases
3663
+ # The individual's gender
3664
+ sig { returns(T.nilable(String)) }
3665
+ attr_accessor :gender
3666
+ # The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).
3667
+ sig { returns(T.nilable(String)) }
3668
+ attr_accessor :id_number
3669
+ # The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](/js/tokens/create_token?type=pii).
3670
+ sig { returns(T.nilable(String)) }
3671
+ attr_accessor :id_number_secondary
3672
+ # The individual's last name.
3673
+ sig { returns(T.nilable(String)) }
3674
+ attr_accessor :last_name
3675
+ # The Kana variation of the individual's last name (Japan only).
3676
+ sig { returns(T.nilable(String)) }
3677
+ attr_accessor :last_name_kana
3678
+ # The Kanji variation of the individual's last name (Japan only).
3679
+ sig { returns(T.nilable(String)) }
3680
+ attr_accessor :last_name_kanji
3681
+ # The individual's maiden name.
3682
+ sig { returns(T.nilable(String)) }
3683
+ attr_accessor :maiden_name
3684
+ # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
3685
+ sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) }
3686
+ attr_accessor :metadata
3687
+ # The individual's phone number.
3688
+ sig { returns(T.nilable(String)) }
3689
+ attr_accessor :phone
3690
+ # Indicates if the person 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.
3691
+ sig { returns(T.nilable(String)) }
3692
+ attr_accessor :political_exposure
3693
+ # The individual's registered address.
3694
+ sig {
3695
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Individual::RegisteredAddress))
3696
+ }
3697
+ attr_accessor :registered_address
3698
+ # Describes the person’s relationship to the account.
3699
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Individual::Relationship)) }
3700
+ attr_accessor :relationship
3701
+ # The last four digits of the individual's Social Security Number (U.S. only).
3702
+ sig { returns(T.nilable(String)) }
3703
+ attr_accessor :ssn_last_4
3704
+ # The individual's verification document information.
3705
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Individual::Verification)) }
3706
+ attr_accessor :verification
3707
+ sig {
3708
+ params(address: T.nilable(::Stripe::AccountService::CreateParams::Individual::Address), address_kana: T.nilable(::Stripe::AccountService::CreateParams::Individual::AddressKana), address_kanji: T.nilable(::Stripe::AccountService::CreateParams::Individual::AddressKanji), dob: T.nilable(T.nilable(T.any(String, ::Stripe::AccountService::CreateParams::Individual::Dob))), email: T.nilable(String), first_name: T.nilable(String), first_name_kana: T.nilable(String), first_name_kanji: T.nilable(String), full_name_aliases: T.nilable(T.nilable(T.any(String, T::Array[String]))), gender: T.nilable(String), id_number: T.nilable(String), id_number_secondary: T.nilable(String), last_name: T.nilable(String), last_name_kana: T.nilable(String), last_name_kanji: T.nilable(String), maiden_name: T.nilable(String), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), phone: T.nilable(String), political_exposure: T.nilable(String), registered_address: T.nilable(::Stripe::AccountService::CreateParams::Individual::RegisteredAddress), relationship: T.nilable(::Stripe::AccountService::CreateParams::Individual::Relationship), ssn_last_4: T.nilable(String), verification: T.nilable(::Stripe::AccountService::CreateParams::Individual::Verification)).void
3709
+ }
3710
+ def initialize(
3711
+ address: nil,
3712
+ address_kana: nil,
3713
+ address_kanji: nil,
3714
+ dob: nil,
3715
+ email: nil,
3716
+ first_name: nil,
3717
+ first_name_kana: nil,
3718
+ first_name_kanji: nil,
3719
+ full_name_aliases: nil,
3720
+ gender: nil,
3721
+ id_number: nil,
3722
+ id_number_secondary: nil,
3723
+ last_name: nil,
3724
+ last_name_kana: nil,
3725
+ last_name_kanji: nil,
3726
+ maiden_name: nil,
3727
+ metadata: nil,
3728
+ phone: nil,
3729
+ political_exposure: nil,
3730
+ registered_address: nil,
3731
+ relationship: nil,
3732
+ ssn_last_4: nil,
3733
+ verification: nil
3734
+ ); end
3735
+ end
3736
+ class Settings < Stripe::RequestParams
3737
+ class BacsDebitPayments < Stripe::RequestParams
3738
+ # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
3739
+ sig { returns(T.nilable(String)) }
3740
+ attr_accessor :display_name
3741
+ sig { params(display_name: T.nilable(String)).void }
3742
+ def initialize(display_name: nil); end
3743
+ end
3744
+ class Branding < Stripe::RequestParams
3745
+ # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
3746
+ sig { returns(T.nilable(String)) }
3747
+ attr_accessor :icon
3748
+ # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px.
3749
+ sig { returns(T.nilable(String)) }
3750
+ attr_accessor :logo
3751
+ # A CSS hex color value representing the primary branding color for this account.
3752
+ sig { returns(T.nilable(String)) }
3753
+ attr_accessor :primary_color
3754
+ # A CSS hex color value representing the secondary branding color for this account.
3755
+ sig { returns(T.nilable(String)) }
3756
+ attr_accessor :secondary_color
3757
+ sig {
3758
+ params(icon: T.nilable(String), logo: T.nilable(String), primary_color: T.nilable(String), secondary_color: T.nilable(String)).void
3759
+ }
3760
+ def initialize(icon: nil, logo: nil, primary_color: nil, secondary_color: nil); end
3761
+ end
3762
+ class CardIssuing < Stripe::RequestParams
3763
+ class TosAcceptance < Stripe::RequestParams
3764
+ # The Unix timestamp marking when the account representative accepted the service agreement.
3765
+ sig { returns(T.nilable(Integer)) }
3766
+ attr_accessor :date
3767
+ # The IP address from which the account representative accepted the service agreement.
3768
+ sig { returns(T.nilable(String)) }
3769
+ attr_accessor :ip
3770
+ # The user agent of the browser from which the account representative accepted the service agreement.
3771
+ sig { returns(T.nilable(T.nilable(String))) }
3772
+ attr_accessor :user_agent
3773
+ sig {
3774
+ params(date: T.nilable(Integer), ip: T.nilable(String), user_agent: T.nilable(T.nilable(String))).void
3775
+ }
3776
+ def initialize(date: nil, ip: nil, user_agent: nil); end
3777
+ end
3778
+ # Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](/issuing/connect/tos_acceptance).
3779
+ sig {
3780
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Settings::CardIssuing::TosAcceptance))
3781
+ }
3782
+ attr_accessor :tos_acceptance
3783
+ sig {
3784
+ params(tos_acceptance: T.nilable(::Stripe::AccountService::CreateParams::Settings::CardIssuing::TosAcceptance)).void
3785
+ }
3786
+ def initialize(tos_acceptance: nil); end
3787
+ end
3788
+ class CardPayments < Stripe::RequestParams
3789
+ class DeclineOn < Stripe::RequestParams
3790
+ # 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.
3791
+ sig { returns(T.nilable(T::Boolean)) }
3792
+ attr_accessor :avs_failure
3793
+ # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
3794
+ sig { returns(T.nilable(T::Boolean)) }
3795
+ attr_accessor :cvc_failure
3796
+ sig {
3797
+ params(avs_failure: T.nilable(T::Boolean), cvc_failure: T.nilable(T::Boolean)).void
3798
+ }
3799
+ def initialize(avs_failure: nil, cvc_failure: nil); end
3800
+ end
3801
+ # Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
3802
+ sig {
3803
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Settings::CardPayments::DeclineOn))
3804
+ }
3805
+ attr_accessor :decline_on
3806
+ # The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion.
3807
+ sig { returns(T.nilable(String)) }
3808
+ attr_accessor :statement_descriptor_prefix
3809
+ # The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kana` specified on the charge. `statement_descriptor_prefix_kana` is useful for maximizing descriptor space for the dynamic portion.
3810
+ sig { returns(T.nilable(T.nilable(String))) }
3811
+ attr_accessor :statement_descriptor_prefix_kana
3812
+ # The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kanji` specified on the charge. `statement_descriptor_prefix_kanji` is useful for maximizing descriptor space for the dynamic portion.
3813
+ sig { returns(T.nilable(T.nilable(String))) }
3814
+ attr_accessor :statement_descriptor_prefix_kanji
3815
+ sig {
3816
+ params(decline_on: T.nilable(::Stripe::AccountService::CreateParams::Settings::CardPayments::DeclineOn), statement_descriptor_prefix: T.nilable(String), statement_descriptor_prefix_kana: T.nilable(T.nilable(String)), statement_descriptor_prefix_kanji: T.nilable(T.nilable(String))).void
3817
+ }
3818
+ def initialize(
3819
+ decline_on: nil,
3820
+ statement_descriptor_prefix: nil,
3821
+ statement_descriptor_prefix_kana: nil,
3822
+ statement_descriptor_prefix_kanji: nil
3823
+ ); end
3824
+ end
3825
+ class Invoices < Stripe::RequestParams
3826
+ # Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
3827
+ sig { returns(T.nilable(String)) }
3828
+ attr_accessor :hosted_payment_method_save
3829
+ sig { params(hosted_payment_method_save: T.nilable(String)).void }
3830
+ def initialize(hosted_payment_method_save: nil); end
3831
+ end
3832
+ class Payments < Stripe::RequestParams
3833
+ # 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 [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).
3834
+ sig { returns(T.nilable(String)) }
3835
+ attr_accessor :statement_descriptor
3836
+ # The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
3837
+ sig { returns(T.nilable(String)) }
3838
+ attr_accessor :statement_descriptor_kana
3839
+ # The Kanji variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
3840
+ sig { returns(T.nilable(String)) }
3841
+ attr_accessor :statement_descriptor_kanji
3842
+ sig {
3843
+ params(statement_descriptor: T.nilable(String), statement_descriptor_kana: T.nilable(String), statement_descriptor_kanji: T.nilable(String)).void
3844
+ }
3845
+ def initialize(
3846
+ statement_descriptor: nil,
3847
+ statement_descriptor_kana: nil,
3848
+ statement_descriptor_kanji: nil
3849
+ ); end
3850
+ end
3851
+ class Payouts < Stripe::RequestParams
3852
+ class Schedule < Stripe::RequestParams
3853
+ # The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](/connect/manage-payout-schedule).
3854
+ sig { returns(T.nilable(T.any(String, Integer))) }
3855
+ attr_accessor :delay_days
3856
+ # How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.
3857
+ sig { returns(T.nilable(String)) }
3858
+ attr_accessor :interval
3859
+ # The day of the month when available funds are paid out, specified as a number between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly`.
3860
+ sig { returns(T.nilable(Integer)) }
3861
+ attr_accessor :monthly_anchor
3862
+ # The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)
3863
+ sig { returns(T.nilable(String)) }
3864
+ attr_accessor :weekly_anchor
3865
+ sig {
3866
+ params(delay_days: T.nilable(T.any(String, Integer)), interval: T.nilable(String), monthly_anchor: T.nilable(Integer), weekly_anchor: T.nilable(String)).void
3867
+ }
3868
+ def initialize(
3869
+ delay_days: nil,
3870
+ interval: nil,
3871
+ monthly_anchor: nil,
3872
+ weekly_anchor: nil
3873
+ ); end
3874
+ end
3875
+ # A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](/connect/account-balances).
3876
+ sig { returns(T.nilable(T::Boolean)) }
3877
+ attr_accessor :debit_negative_balances
3878
+ # Details on when funds from charges are available, and when they are paid out to an external account. For details, see our [Setting Bank and Debit Card Payouts](/connect/bank-transfers#payout-information) documentation.
3879
+ sig {
3880
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Settings::Payouts::Schedule))
3881
+ }
3882
+ attr_accessor :schedule
3883
+ # The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard.
3884
+ sig { returns(T.nilable(String)) }
3885
+ attr_accessor :statement_descriptor
3886
+ sig {
3887
+ params(debit_negative_balances: T.nilable(T::Boolean), schedule: T.nilable(::Stripe::AccountService::CreateParams::Settings::Payouts::Schedule), statement_descriptor: T.nilable(String)).void
3888
+ }
3889
+ def initialize(
3890
+ debit_negative_balances: nil,
3891
+ schedule: nil,
3892
+ statement_descriptor: nil
3893
+ ); end
3894
+ end
3895
+ class Treasury < Stripe::RequestParams
3896
+ class TosAcceptance < Stripe::RequestParams
3897
+ # The Unix timestamp marking when the account representative accepted the service agreement.
3898
+ sig { returns(T.nilable(Integer)) }
3899
+ attr_accessor :date
3900
+ # The IP address from which the account representative accepted the service agreement.
3901
+ sig { returns(T.nilable(String)) }
3902
+ attr_accessor :ip
3903
+ # The user agent of the browser from which the account representative accepted the service agreement.
3904
+ sig { returns(T.nilable(T.nilable(String))) }
3905
+ attr_accessor :user_agent
3906
+ sig {
3907
+ params(date: T.nilable(Integer), ip: T.nilable(String), user_agent: T.nilable(T.nilable(String))).void
3908
+ }
3909
+ def initialize(date: nil, ip: nil, user_agent: nil); end
3910
+ end
3911
+ # Details on the account's acceptance of the Stripe Treasury Services Agreement.
3912
+ sig {
3913
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Settings::Treasury::TosAcceptance))
3914
+ }
3915
+ attr_accessor :tos_acceptance
3916
+ sig {
3917
+ params(tos_acceptance: T.nilable(::Stripe::AccountService::CreateParams::Settings::Treasury::TosAcceptance)).void
3918
+ }
3919
+ def initialize(tos_acceptance: nil); end
3920
+ end
3921
+ # Settings specific to Bacs Direct Debit.
3922
+ sig {
3923
+ returns(T.nilable(::Stripe::AccountService::CreateParams::Settings::BacsDebitPayments))
3924
+ }
3925
+ attr_accessor :bacs_debit_payments
3926
+ # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
3927
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Settings::Branding)) }
3928
+ attr_accessor :branding
3929
+ # Settings specific to the account's use of the Card Issuing product.
3930
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Settings::CardIssuing)) }
3931
+ attr_accessor :card_issuing
3932
+ # Settings specific to card charging on the account.
3933
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Settings::CardPayments)) }
3934
+ attr_accessor :card_payments
3935
+ # Settings specific to the account’s use of Invoices.
3936
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Settings::Invoices)) }
3937
+ attr_accessor :invoices
3938
+ # Settings that apply across payment methods for charging on the account.
3939
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Settings::Payments)) }
3940
+ attr_accessor :payments
3941
+ # Settings specific to the account's payouts.
3942
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Settings::Payouts)) }
3943
+ attr_accessor :payouts
3944
+ # Settings specific to the account's Treasury FinancialAccounts.
3945
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Settings::Treasury)) }
3946
+ attr_accessor :treasury
3947
+ sig {
3948
+ params(bacs_debit_payments: T.nilable(::Stripe::AccountService::CreateParams::Settings::BacsDebitPayments), branding: T.nilable(::Stripe::AccountService::CreateParams::Settings::Branding), card_issuing: T.nilable(::Stripe::AccountService::CreateParams::Settings::CardIssuing), card_payments: T.nilable(::Stripe::AccountService::CreateParams::Settings::CardPayments), invoices: T.nilable(::Stripe::AccountService::CreateParams::Settings::Invoices), payments: T.nilable(::Stripe::AccountService::CreateParams::Settings::Payments), payouts: T.nilable(::Stripe::AccountService::CreateParams::Settings::Payouts), treasury: T.nilable(::Stripe::AccountService::CreateParams::Settings::Treasury)).void
3949
+ }
3950
+ def initialize(
3951
+ bacs_debit_payments: nil,
3952
+ branding: nil,
3953
+ card_issuing: nil,
3954
+ card_payments: nil,
3955
+ invoices: nil,
3956
+ payments: nil,
3957
+ payouts: nil,
3958
+ treasury: nil
3959
+ ); end
3960
+ end
3961
+ class TosAcceptance < Stripe::RequestParams
3962
+ # The Unix timestamp marking when the account representative accepted their service agreement.
3963
+ sig { returns(T.nilable(Integer)) }
3964
+ attr_accessor :date
3965
+ # The IP address from which the account representative accepted their service agreement.
3966
+ sig { returns(T.nilable(String)) }
3967
+ attr_accessor :ip
3968
+ # The user's service agreement type.
3969
+ sig { returns(T.nilable(String)) }
3970
+ attr_accessor :service_agreement
3971
+ # The user agent of the browser from which the account representative accepted their service agreement.
3972
+ sig { returns(T.nilable(String)) }
3973
+ attr_accessor :user_agent
3974
+ sig {
3975
+ params(date: T.nilable(Integer), ip: T.nilable(String), service_agreement: T.nilable(String), user_agent: T.nilable(String)).void
3976
+ }
3977
+ def initialize(date: nil, ip: nil, service_agreement: nil, user_agent: nil); end
3978
+ end
3979
+ # An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account.
3980
+ sig { returns(T.nilable(String)) }
3981
+ attr_accessor :account_token
3982
+ # Business information about the account.
3983
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::BusinessProfile)) }
3984
+ attr_accessor :business_profile
3985
+ # The business type. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
3986
+ sig { returns(T.nilable(String)) }
3987
+ attr_accessor :business_type
3988
+ # Each key of the dictionary represents a capability, and each capability
3989
+ # maps to its settings (for example, whether it has been requested or not). Each
3990
+ # capability is inactive until you have provided its specific
3991
+ # requirements and Stripe has verified them. An account might have some
3992
+ # of its requested capabilities be active and some be inactive.
3993
+ #
3994
+ # Required when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)
3995
+ # is `none`, which includes Custom accounts.
3996
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Capabilities)) }
3997
+ attr_accessor :capabilities
3998
+ # Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
3999
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Company)) }
4000
+ attr_accessor :company
4001
+ # A hash of configuration describing the account controller's attributes.
4002
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Controller)) }
4003
+ attr_accessor :controller
4004
+ # 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 country code. For example, if you are in the United States and the business for which you're creating an account is legally represented in Canada, you would use `CA` as the country for the account being created. Available countries include [Stripe's global markets](https://stripe.com/global) as well as countries where [cross-border payouts](https://stripe.com/docs/connect/cross-border-payouts) are supported.
4005
+ sig { returns(T.nilable(String)) }
4006
+ attr_accessor :country
4007
+ # Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://docs.stripe.com/payouts).
4008
+ sig { returns(T.nilable(String)) }
4009
+ attr_accessor :default_currency
4010
+ # Documents that may be submitted to satisfy various informational requests.
4011
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Documents)) }
4012
+ attr_accessor :documents
4013
+ # The email address of the account holder. This is only to make the account easier to identify to you. If [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, Stripe doesn't email the account without your consent.
4014
+ sig { returns(T.nilable(String)) }
4015
+ attr_accessor :email
4016
+ # Specifies which fields in the response should be expanded.
4017
+ sig { returns(T.nilable(T::Array[String])) }
4018
+ attr_accessor :expand
4019
+ # A card or bank account to attach to the account for receiving [payouts](/connect/bank-debit-card-payouts) (you won’t be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](/js), or a dictionary, as documented in the `external_account` parameter for [bank account](/api#account_create_bank_account) creation. <br><br>By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](/api#account_create_bank_account) or [card creation](/api#account_create_card) APIs. After you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
4020
+ sig {
4021
+ returns(T.nilable(T.any(String, ::Stripe::AccountService::CreateParams::BankAccount, ::Stripe::AccountService::CreateParams::Card, ::Stripe::AccountService::CreateParams::CardToken)))
4022
+ }
4023
+ attr_accessor :external_account
4024
+ # A hash of account group type to tokens. These are account groups this account should be added to.
4025
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Groups)) }
4026
+ attr_accessor :groups
4027
+ # Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
4028
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Individual)) }
4029
+ attr_accessor :individual
4030
+ # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
4031
+ sig { returns(T.nilable(T.nilable(T.any(String, T::Hash[String, String])))) }
4032
+ attr_accessor :metadata
4033
+ # Options for customizing how the account functions within Stripe.
4034
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::Settings)) }
4035
+ attr_accessor :settings
4036
+ # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
4037
+ sig { returns(T.nilable(::Stripe::AccountService::CreateParams::TosAcceptance)) }
4038
+ attr_accessor :tos_acceptance
4039
+ # The type of Stripe account to create. May be one of `custom`, `express` or `standard`.
4040
+ sig { returns(T.nilable(String)) }
4041
+ attr_accessor :type
4042
+ sig {
4043
+ params(account_token: T.nilable(String), business_profile: T.nilable(::Stripe::AccountService::CreateParams::BusinessProfile), business_type: T.nilable(String), capabilities: T.nilable(::Stripe::AccountService::CreateParams::Capabilities), company: T.nilable(::Stripe::AccountService::CreateParams::Company), controller: T.nilable(::Stripe::AccountService::CreateParams::Controller), country: T.nilable(String), default_currency: T.nilable(String), documents: T.nilable(::Stripe::AccountService::CreateParams::Documents), email: T.nilable(String), expand: T.nilable(T::Array[String]), external_account: T.nilable(T.any(String, ::Stripe::AccountService::CreateParams::BankAccount, ::Stripe::AccountService::CreateParams::Card, ::Stripe::AccountService::CreateParams::CardToken)), groups: T.nilable(::Stripe::AccountService::CreateParams::Groups), individual: T.nilable(::Stripe::AccountService::CreateParams::Individual), metadata: T.nilable(T.nilable(T.any(String, T::Hash[String, String]))), settings: T.nilable(::Stripe::AccountService::CreateParams::Settings), tos_acceptance: T.nilable(::Stripe::AccountService::CreateParams::TosAcceptance), type: T.nilable(String)).void
4044
+ }
4045
+ def initialize(
4046
+ account_token: nil,
4047
+ business_profile: nil,
4048
+ business_type: nil,
4049
+ capabilities: nil,
4050
+ company: nil,
4051
+ controller: nil,
4052
+ country: nil,
4053
+ default_currency: nil,
4054
+ documents: nil,
4055
+ email: nil,
4056
+ expand: nil,
4057
+ external_account: nil,
4058
+ groups: nil,
4059
+ individual: nil,
4060
+ metadata: nil,
4061
+ settings: nil,
4062
+ tos_acceptance: nil,
4063
+ type: nil
4064
+ ); end
4065
+ end
4066
+ class RejectParams < Stripe::RequestParams
4067
+ # Specifies which fields in the response should be expanded.
4068
+ sig { returns(T.nilable(T::Array[String])) }
4069
+ attr_accessor :expand
4070
+ # The reason for rejecting the account. Can be `fraud`, `terms_of_service`, or `other`.
4071
+ sig { returns(String) }
4072
+ attr_accessor :reason
4073
+ sig { params(expand: T.nilable(T::Array[String]), reason: String).void }
4074
+ def initialize(expand: nil, reason: nil); end
4075
+ end
4076
+ # With [Connect](https://stripe.com/docs/connect), you can create Stripe accounts for your users.
4077
+ # To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).
4078
+ #
4079
+ # If you've already collected information for your connected accounts, you [can prefill that information](https://stripe.com/docs/connect/best-practices#onboarding) when
4080
+ # creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding.
4081
+ # You can prefill any information on the account.
4082
+ sig {
4083
+ params(params: T.any(::Stripe::AccountService::CreateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account)
4084
+ }
4085
+ def create(params = {}, opts = {}); end
4086
+
4087
+ # With [Connect](https://stripe.com/connect), you can delete accounts you manage.
4088
+ #
4089
+ # Test-mode accounts can be deleted at any time.
4090
+ #
4091
+ # Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://stripe.com/api/balance/balance_object) are zero.
4092
+ #
4093
+ # If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
4094
+ sig {
4095
+ params(account: String, params: T.any(::Stripe::AccountService::DeleteParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account)
4096
+ }
4097
+ def delete(account, params = {}, opts = {}); end
4098
+
4099
+ # Returns a list of accounts connected to your platform via [Connect](https://stripe.com/docs/connect). If you're not a platform, the list is empty.
4100
+ sig {
4101
+ params(params: T.any(::Stripe::AccountService::ListParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::ListObject)
4102
+ }
4103
+ def list(params = {}, opts = {}); end
4104
+
4105
+ # With [Connect](https://stripe.com/connect), you can reject accounts that you have flagged as suspicious.
4106
+ #
4107
+ # Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero.
4108
+ sig {
4109
+ params(account: String, params: T.any(::Stripe::AccountService::RejectParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account)
4110
+ }
4111
+ def reject(account, params = {}, opts = {}); end
4112
+
4113
+ # Retrieves the details of an account.
4114
+ sig {
4115
+ params(account: String, params: T.any(::Stripe::AccountService::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account)
4116
+ }
4117
+ def retrieve(account, params = {}, opts = {}); end
4118
+
4119
+ # Retrieves the details of an account.
4120
+ sig {
4121
+ params(params: T.any(::Stripe::AccountService::RetrieveCurrentParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account)
4122
+ }
4123
+ def retrieve_current(params = {}, opts = {}); end
4124
+
4125
+ # Updates a [connected account](https://stripe.com/connect/accounts) by setting the values of the parameters passed. Any parameters not provided are
4126
+ # left unchanged.
4127
+ #
4128
+ # For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
4129
+ # is application, which includes Custom accounts, you can update any information on the account.
4130
+ #
4131
+ # For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
4132
+ # is stripe, which includes Standard and Express accounts, you can update all information until you create
4133
+ # an [Account Link or <a href="/api/account_sessions">Account Session](https://stripe.com/api/account_links) to start Connect onboarding,
4134
+ # after which some properties can no longer be updated.
4135
+ #
4136
+ # To update your own account, use the [Dashboard](https://dashboard.stripe.com/settings/account). Refer to our
4137
+ # [Connect](https://stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts.
4138
+ sig {
4139
+ params(account: String, params: T.any(::Stripe::AccountService::UpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::Account)
4140
+ }
4141
+ def update(account, params = {}, opts = {}); end
4142
+ end
4143
+ end