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