stripe 13.4.0.pre.beta.4 → 13.4.0

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