stripe 13.4.0.pre.beta.1 → 13.4.0.pre.beta.3

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