stripe 13.3.0 → 13.4.0.pre.beta.2

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