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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (697) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +24 -1
  3. data/CONTRIBUTING.md +25 -0
  4. data/Makefile +2 -0
  5. data/OPENAPI_VERSION +1 -1
  6. data/README.md +11 -6
  7. data/Rakefile +0 -5
  8. data/VERSION +1 -1
  9. data/justfile +43 -0
  10. data/lib/stripe/api_version.rb +1 -1
  11. data/lib/stripe/resources/account.rb +117 -747
  12. data/lib/stripe/resources/account_link.rb +0 -10
  13. data/lib/stripe/resources/account_notice.rb +0 -22
  14. data/lib/stripe/resources/account_session.rb +93 -128
  15. data/lib/stripe/resources/apple_pay_domain.rb +0 -10
  16. data/lib/stripe/resources/application.rb +0 -3
  17. data/lib/stripe/resources/application_fee.rb +0 -24
  18. data/lib/stripe/resources/application_fee_refund.rb +0 -7
  19. data/lib/stripe/resources/apps/secret.rb +0 -25
  20. data/lib/stripe/resources/balance.rb +0 -31
  21. data/lib/stripe/resources/balance_transaction.rb +0 -29
  22. data/lib/stripe/resources/bank_account.rb +0 -29
  23. data/lib/stripe/resources/billing/alert.rb +0 -22
  24. data/lib/stripe/resources/billing/alert_triggered.rb +0 -5
  25. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -12
  26. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -24
  27. data/lib/stripe/resources/billing/credit_grant.rb +0 -32
  28. data/lib/stripe/resources/billing/meter.rb +0 -25
  29. data/lib/stripe/resources/billing/meter_error_report.rb +0 -11
  30. data/lib/stripe/resources/billing/meter_event.rb +0 -10
  31. data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -8
  32. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -6
  33. data/lib/stripe/resources/billing_portal/configuration.rb +2 -79
  34. data/lib/stripe/resources/billing_portal/session.rb +0 -42
  35. data/lib/stripe/resources/capability.rb +2 -29
  36. data/lib/stripe/resources/capital/financing_offer.rb +0 -33
  37. data/lib/stripe/resources/capital/financing_summary.rb +0 -13
  38. data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
  39. data/lib/stripe/resources/card.rb +2 -34
  40. data/lib/stripe/resources/cash_balance.rb +0 -5
  41. data/lib/stripe/resources/charge.rb +8 -665
  42. data/lib/stripe/resources/checkout/session.rb +21 -513
  43. data/lib/stripe/resources/climate/order.rb +0 -40
  44. data/lib/stripe/resources/climate/product.rb +0 -13
  45. data/lib/stripe/resources/climate/supplier.rb +0 -13
  46. data/lib/stripe/resources/confirmation_token.rb +12 -337
  47. data/lib/stripe/resources/connect_collection_transfer.rb +0 -5
  48. data/lib/stripe/resources/country_spec.rb +0 -13
  49. data/lib/stripe/resources/coupon.rb +0 -39
  50. data/lib/stripe/resources/credit_note.rb +0 -138
  51. data/lib/stripe/resources/credit_note_line_item.rb +0 -24
  52. data/lib/stripe/resources/customer.rb +1 -156
  53. data/lib/stripe/resources/customer_balance_transaction.rb +0 -12
  54. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -27
  55. data/lib/stripe/resources/customer_session.rb +0 -24
  56. data/lib/stripe/resources/discount.rb +0 -12
  57. data/lib/stripe/resources/dispute.rb +4 -152
  58. data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
  59. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -3
  60. data/lib/stripe/resources/entitlements/feature.rb +0 -17
  61. data/lib/stripe/resources/ephemeral_key.rb +0 -5
  62. data/lib/stripe/resources/event.rb +0 -27
  63. data/lib/stripe/resources/exchange_rate.rb +0 -5
  64. data/lib/stripe/resources/file.rb +0 -23
  65. data/lib/stripe/resources/file_link.rb +0 -22
  66. data/lib/stripe/resources/financial_connections/account.rb +0 -47
  67. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -3
  68. data/lib/stripe/resources/financial_connections/account_owner.rb +0 -7
  69. data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -3
  70. data/lib/stripe/resources/financial_connections/institution.rb +0 -13
  71. data/lib/stripe/resources/financial_connections/session.rb +0 -28
  72. data/lib/stripe/resources/financial_connections/transaction.rb +1 -22
  73. data/lib/stripe/resources/forwarding/request.rb +0 -31
  74. data/lib/stripe/resources/funding_instructions.rb +0 -107
  75. data/lib/stripe/resources/gift_cards/card.rb +0 -28
  76. data/lib/stripe/resources/gift_cards/transaction.rb +0 -32
  77. data/lib/stripe/resources/identity/verification_report.rb +0 -69
  78. data/lib/stripe/resources/identity/verification_session.rb +0 -69
  79. data/lib/stripe/resources/invoice.rb +6 -1276
  80. data/lib/stripe/resources/invoice_item.rb +0 -91
  81. data/lib/stripe/resources/invoice_line_item.rb +0 -76
  82. data/lib/stripe/resources/invoice_payment.rb +0 -16
  83. data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
  84. data/lib/stripe/resources/issuing/authorization.rb +0 -199
  85. data/lib/stripe/resources/issuing/card.rb +0 -128
  86. data/lib/stripe/resources/issuing/cardholder.rb +0 -110
  87. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
  88. data/lib/stripe/resources/issuing/dispute.rb +0 -151
  89. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -14
  90. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -14
  91. data/lib/stripe/resources/issuing/personalization_design.rb +0 -48
  92. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
  93. data/lib/stripe/resources/issuing/settlement.rb +0 -16
  94. data/lib/stripe/resources/issuing/token.rb +0 -46
  95. data/lib/stripe/resources/issuing/transaction.rb +0 -171
  96. data/lib/stripe/resources/line_item.rb +0 -23
  97. data/lib/stripe/resources/login_link.rb +0 -2
  98. data/lib/stripe/resources/mandate.rb +0 -45
  99. data/lib/stripe/resources/margin.rb +0 -19
  100. data/lib/stripe/resources/order.rb +3 -391
  101. data/lib/stripe/resources/payment_attempt_record.rb +0 -42
  102. data/lib/stripe/resources/payment_intent.rb +48 -1768
  103. data/lib/stripe/resources/payment_link.rb +15 -213
  104. data/lib/stripe/resources/payment_method.rb +19 -345
  105. data/lib/stripe/resources/payment_method_configuration.rb +58 -292
  106. data/lib/stripe/resources/payment_method_domain.rb +0 -23
  107. data/lib/stripe/resources/payment_record.rb +0 -109
  108. data/lib/stripe/resources/payout.rb +0 -49
  109. data/lib/stripe/resources/person.rb +2 -92
  110. data/lib/stripe/resources/plan.rb +0 -69
  111. data/lib/stripe/resources/price.rb +0 -133
  112. data/lib/stripe/resources/product.rb +0 -100
  113. data/lib/stripe/resources/product_feature.rb +0 -4
  114. data/lib/stripe/resources/promotion_code.rb +0 -40
  115. data/lib/stripe/resources/quote.rb +0 -458
  116. data/lib/stripe/resources/quote_line.rb +0 -66
  117. data/lib/stripe/resources/quote_preview_invoice.rb +3 -184
  118. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -101
  119. data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -16
  120. data/lib/stripe/resources/radar/value_list.rb +0 -26
  121. data/lib/stripe/resources/radar/value_list_item.rb +0 -18
  122. data/lib/stripe/resources/refund.rb +0 -92
  123. data/lib/stripe/resources/reporting/report_run.rb +0 -32
  124. data/lib/stripe/resources/reporting/report_type.rb +0 -8
  125. data/lib/stripe/resources/reserve_transaction.rb +0 -4
  126. data/lib/stripe/resources/reversal.rb +0 -9
  127. data/lib/stripe/resources/review.rb +0 -27
  128. data/lib/stripe/resources/setup_attempt.rb +2 -103
  129. data/lib/stripe/resources/setup_intent.rb +23 -539
  130. data/lib/stripe/resources/shipping_rate.rb +0 -44
  131. data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -13
  132. data/lib/stripe/resources/source.rb +6 -338
  133. data/lib/stripe/resources/source_mandate_notification.rb +0 -13
  134. data/lib/stripe/resources/source_transaction.rb +0 -29
  135. data/lib/stripe/resources/subscription.rb +0 -338
  136. data/lib/stripe/resources/subscription_item.rb +0 -69
  137. data/lib/stripe/resources/subscription_schedule.rb +0 -388
  138. data/lib/stripe/resources/tax/association.rb +0 -11
  139. data/lib/stripe/resources/tax/calculation.rb +2 -89
  140. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -20
  141. data/lib/stripe/resources/tax/form.rb +2 -35
  142. data/lib/stripe/resources/tax/registration.rb +421 -213
  143. data/lib/stripe/resources/tax/settings.rb +0 -20
  144. data/lib/stripe/resources/tax/transaction.rb +1 -66
  145. data/lib/stripe/resources/tax/transaction_line_item.rb +0 -12
  146. data/lib/stripe/resources/tax_code.rb +0 -6
  147. data/lib/stripe/resources/tax_deducted_at_source.rb +0 -4
  148. data/lib/stripe/resources/tax_id.rb +2 -28
  149. data/lib/stripe/resources/tax_rate.rb +0 -45
  150. data/lib/stripe/resources/terminal/configuration.rb +46 -161
  151. data/lib/stripe/resources/terminal/connection_token.rb +0 -3
  152. data/lib/stripe/resources/terminal/location.rb +0 -33
  153. data/lib/stripe/resources/terminal/reader.rb +0 -129
  154. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -5
  155. data/lib/stripe/resources/test_helpers/test_clock.rb +0 -15
  156. data/lib/stripe/resources/token.rb +23 -192
  157. data/lib/stripe/resources/topup.rb +0 -36
  158. data/lib/stripe/resources/transfer.rb +0 -35
  159. data/lib/stripe/resources/treasury/credit_reversal.rb +0 -21
  160. data/lib/stripe/resources/treasury/debit_reversal.rb +0 -23
  161. data/lib/stripe/resources/treasury/financial_account.rb +77 -71
  162. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -46
  163. data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -50
  164. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -92
  165. data/lib/stripe/resources/treasury/outbound_transfer.rb +25 -66
  166. data/lib/stripe/resources/treasury/received_credit.rb +6 -58
  167. data/lib/stripe/resources/treasury/received_debit.rb +0 -54
  168. data/lib/stripe/resources/treasury/transaction.rb +0 -39
  169. data/lib/stripe/resources/treasury/transaction_entry.rb +0 -36
  170. data/lib/stripe/resources/usage_record.rb +0 -5
  171. data/lib/stripe/resources/usage_record_summary.rb +0 -7
  172. data/lib/stripe/resources/v2/billing/meter_event.rb +0 -6
  173. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -7
  174. data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -5
  175. data/lib/stripe/resources/v2/event.rb +0 -8
  176. data/lib/stripe/resources/v2/event_destination.rb +0 -19
  177. data/lib/stripe/resources/webhook_endpoint.rb +0 -26
  178. data/lib/stripe/services/account_capability_service.rb +0 -1
  179. data/lib/stripe/services/account_external_account_service.rb +0 -43
  180. data/lib/stripe/services/account_link_service.rb +0 -7
  181. data/lib/stripe/services/account_notice_service.rb +0 -9
  182. data/lib/stripe/services/account_person_service.rb +0 -139
  183. data/lib/stripe/services/account_service.rb +100 -521
  184. data/lib/stripe/services/account_session_service.rb +22 -80
  185. data/lib/stripe/services/apple_pay_domain_service.rb +0 -5
  186. data/lib/stripe/services/application_fee_refund_service.rb +0 -6
  187. data/lib/stripe/services/application_fee_service.rb +0 -8
  188. data/lib/stripe/services/apps/secret_service.rb +0 -16
  189. data/lib/stripe/services/balance_transaction_service.rb +0 -11
  190. data/lib/stripe/services/billing/alert_service.rb +0 -12
  191. data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -4
  192. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -5
  193. data/lib/stripe/services/billing/credit_grant_service.rb +0 -16
  194. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -3
  195. data/lib/stripe/services/billing/meter_event_service.rb +0 -4
  196. data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -7
  197. data/lib/stripe/services/billing/meter_service.rb +0 -12
  198. data/lib/stripe/services/billing_portal/configuration_service.rb +2 -50
  199. data/lib/stripe/services/billing_portal/session_service.rb +0 -19
  200. data/lib/stripe/services/capital/financing_offer_service.rb +0 -9
  201. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -7
  202. data/lib/stripe/services/charge_service.rb +0 -274
  203. data/lib/stripe/services/checkout/session_line_item_service.rb +0 -3
  204. data/lib/stripe/services/checkout/session_service.rb +9 -273
  205. data/lib/stripe/services/climate/order_service.rb +0 -11
  206. data/lib/stripe/services/climate/product_service.rb +0 -3
  207. data/lib/stripe/services/climate/supplier_service.rb +0 -3
  208. data/lib/stripe/services/country_spec_service.rb +0 -3
  209. data/lib/stripe/services/coupon_service.rb +0 -22
  210. data/lib/stripe/services/credit_note_line_item_service.rb +0 -3
  211. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -28
  212. data/lib/stripe/services/credit_note_service.rb +0 -61
  213. data/lib/stripe/services/customer_balance_transaction_service.rb +0 -9
  214. data/lib/stripe/services/customer_cash_balance_service.rb +0 -1
  215. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -3
  216. data/lib/stripe/services/customer_funding_instructions_service.rb +0 -5
  217. data/lib/stripe/services/customer_payment_method_service.rb +0 -5
  218. data/lib/stripe/services/customer_payment_source_service.rb +0 -29
  219. data/lib/stripe/services/customer_service.rb +1 -92
  220. data/lib/stripe/services/customer_session_service.rb +0 -10
  221. data/lib/stripe/services/customer_tax_id_service.rb +1 -6
  222. data/lib/stripe/services/dispute_service.rb +2 -67
  223. data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -4
  224. data/lib/stripe/services/entitlements/feature_service.rb +0 -11
  225. data/lib/stripe/services/ephemeral_key_service.rb +0 -4
  226. data/lib/stripe/services/event_service.rb +0 -10
  227. data/lib/stripe/services/exchange_rate_service.rb +0 -3
  228. data/lib/stripe/services/file_link_service.rb +0 -14
  229. data/lib/stripe/services/file_service.rb +0 -13
  230. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -3
  231. data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -4
  232. data/lib/stripe/services/financial_connections/account_service.rb +0 -9
  233. data/lib/stripe/services/financial_connections/institution_service.rb +0 -3
  234. data/lib/stripe/services/financial_connections/session_service.rb +0 -11
  235. data/lib/stripe/services/financial_connections/transaction_service.rb +1 -10
  236. data/lib/stripe/services/forwarding/request_service.rb +0 -14
  237. data/lib/stripe/services/gift_cards/card_service.rb +0 -13
  238. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -16
  239. data/lib/stripe/services/identity/verification_report_service.rb +0 -10
  240. data/lib/stripe/services/identity/verification_session_service.rb +0 -30
  241. data/lib/stripe/services/invoice_item_service.rb +0 -66
  242. data/lib/stripe/services/invoice_line_item_service.rb +0 -40
  243. data/lib/stripe/services/invoice_payment_service.rb +0 -3
  244. data/lib/stripe/services/invoice_rendering_template_service.rb +0 -5
  245. data/lib/stripe/services/invoice_service.rb +2 -810
  246. data/lib/stripe/services/invoice_upcoming_lines_service.rb +1 -279
  247. data/lib/stripe/services/issuing/authorization_service.rb +0 -14
  248. data/lib/stripe/services/issuing/card_service.rb +0 -70
  249. data/lib/stripe/services/issuing/cardholder_service.rb +0 -73
  250. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -56
  251. data/lib/stripe/services/issuing/dispute_service.rb +0 -98
  252. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -4
  253. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -7
  254. data/lib/stripe/services/issuing/personalization_design_service.rb +0 -29
  255. data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -5
  256. data/lib/stripe/services/issuing/token_service.rb +0 -10
  257. data/lib/stripe/services/issuing/transaction_service.rb +0 -12
  258. data/lib/stripe/services/margin_service.rb +0 -11
  259. data/lib/stripe/services/order_line_item_service.rb +0 -3
  260. data/lib/stripe/services/order_service.rb +2 -266
  261. data/lib/stripe/services/payment_attempt_record_service.rb +0 -1
  262. data/lib/stripe/services/payment_intent_service.rb +42 -1309
  263. data/lib/stripe/services/payment_link_line_item_service.rb +0 -3
  264. data/lib/stripe/services/payment_link_service.rb +15 -135
  265. data/lib/stripe/services/payment_method_configuration_service.rb +42 -102
  266. data/lib/stripe/services/payment_method_domain_service.rb +0 -8
  267. data/lib/stripe/services/payment_method_service.rb +14 -113
  268. data/lib/stripe/services/payment_record_service.rb +0 -68
  269. data/lib/stripe/services/payout_service.rb +0 -23
  270. data/lib/stripe/services/plan_service.rb +0 -43
  271. data/lib/stripe/services/price_service.rb +0 -87
  272. data/lib/stripe/services/product_feature_service.rb +0 -4
  273. data/lib/stripe/services/product_service.rb +0 -74
  274. data/lib/stripe/services/promotion_code_service.rb +0 -25
  275. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -3
  276. data/lib/stripe/services/quote_line_item_service.rb +0 -3
  277. data/lib/stripe/services/quote_line_service.rb +0 -3
  278. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -3
  279. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -3
  280. data/lib/stripe/services/quote_service.rb +0 -309
  281. data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -9
  282. data/lib/stripe/services/radar/value_list_item_service.rb +0 -11
  283. data/lib/stripe/services/radar/value_list_service.rb +0 -16
  284. data/lib/stripe/services/refund_service.rb +0 -21
  285. data/lib/stripe/services/reporting/report_run_service.rb +0 -16
  286. data/lib/stripe/services/review_service.rb +0 -7
  287. data/lib/stripe/services/setup_attempt_service.rb +0 -8
  288. data/lib/stripe/services/setup_intent_service.rb +21 -447
  289. data/lib/stripe/services/shipping_rate_service.rb +0 -27
  290. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -3
  291. data/lib/stripe/services/source_service.rb +0 -92
  292. data/lib/stripe/services/source_transaction_service.rb +0 -3
  293. data/lib/stripe/services/subscription_item_service.rb +0 -56
  294. data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -3
  295. data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -3
  296. data/lib/stripe/services/subscription_schedule_service.rb +0 -290
  297. data/lib/stripe/services/subscription_service.rb +0 -245
  298. data/lib/stripe/services/tax/association_service.rb +0 -1
  299. data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -3
  300. data/lib/stripe/services/tax/calculation_service.rb +1 -31
  301. data/lib/stripe/services/tax/form_service.rb +0 -7
  302. data/lib/stripe/services/tax/registration_service.rb +274 -108
  303. data/lib/stripe/services/tax/settings_service.rb +0 -8
  304. data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -3
  305. data/lib/stripe/services/tax/transaction_service.rb +0 -17
  306. data/lib/stripe/services/tax_code_service.rb +0 -3
  307. data/lib/stripe/services/tax_id_service.rb +1 -12
  308. data/lib/stripe/services/tax_rate_service.rb +0 -27
  309. data/lib/stripe/services/terminal/configuration_service.rb +36 -106
  310. data/lib/stripe/services/terminal/connection_token_service.rb +0 -1
  311. data/lib/stripe/services/terminal/location_service.rb +0 -21
  312. data/lib/stripe/services/terminal/reader_service.rb +0 -53
  313. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +7 -89
  314. data/lib/stripe/services/test_helpers/customer_service.rb +0 -3
  315. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -99
  316. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -2
  317. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -91
  318. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -4
  319. data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -6
  320. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -1
  321. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -6
  322. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -6
  323. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -11
  324. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -11
  325. data/lib/stripe/services/token_service.rb +23 -184
  326. data/lib/stripe/services/topup_service.rb +0 -21
  327. data/lib/stripe/services/transfer_reversal_service.rb +0 -8
  328. data/lib/stripe/services/transfer_service.rb +0 -19
  329. data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -8
  330. data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -9
  331. data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -10
  332. data/lib/stripe/services/treasury/financial_account_service.rb +64 -36
  333. data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -12
  334. data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -38
  335. data/lib/stripe/services/treasury/outbound_transfer_service.rb +16 -15
  336. data/lib/stripe/services/treasury/received_credit_service.rb +0 -6
  337. data/lib/stripe/services/treasury/received_debit_service.rb +0 -5
  338. data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -14
  339. data/lib/stripe/services/treasury/transaction_service.rb +0 -14
  340. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -2
  341. data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -3
  342. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -3
  343. data/lib/stripe/services/v2/core/event_destination_service.rb +0 -18
  344. data/lib/stripe/services/v2/core/event_service.rb +0 -2
  345. data/lib/stripe/services/webhook_endpoint_service.rb +0 -14
  346. data/lib/stripe/stripe_client.rb +7 -2
  347. data/lib/stripe/stripe_configuration.rb +21 -1
  348. data/lib/stripe/stripe_object.rb +3 -3
  349. data/lib/stripe/thin_event.rb +22 -2
  350. data/lib/stripe/util.rb +1 -1
  351. data/lib/stripe/version.rb +1 -1
  352. data/lib/stripe.rb +22 -0
  353. data/rbi/stripe/resources/account.rbi +120 -1007
  354. data/rbi/stripe/resources/account_link.rbi +0 -13
  355. data/rbi/stripe/resources/account_notice.rbi +0 -27
  356. data/rbi/stripe/resources/account_session.rbi +121 -172
  357. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -14
  358. data/rbi/stripe/resources/application.rbi +0 -3
  359. data/rbi/stripe/resources/application_fee.rbi +0 -28
  360. data/rbi/stripe/resources/application_fee_refund.rbi +0 -7
  361. data/rbi/stripe/resources/apps/secret.rbi +0 -34
  362. data/rbi/stripe/resources/balance.rbi +0 -33
  363. data/rbi/stripe/resources/balance_transaction.rbi +0 -33
  364. data/rbi/stripe/resources/bank_account.rbi +0 -29
  365. data/rbi/stripe/resources/billing/alert.rbi +0 -31
  366. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -5
  367. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -16
  368. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -27
  369. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -43
  370. data/rbi/stripe/resources/billing/meter.rbi +0 -35
  371. data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -11
  372. data/rbi/stripe/resources/billing/meter_event.rbi +0 -12
  373. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -11
  374. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -6
  375. data/rbi/stripe/resources/billing_portal/configuration.rbi +2 -108
  376. data/rbi/stripe/resources/billing_portal/session.rbi +0 -55
  377. data/rbi/stripe/resources/capability.rbi +2 -29
  378. data/rbi/stripe/resources/capital/financing_offer.rbi +0 -38
  379. data/rbi/stripe/resources/capital/financing_summary.rbi +0 -15
  380. data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -27
  381. data/rbi/stripe/resources/card.rbi +3 -34
  382. data/rbi/stripe/resources/cash_balance.rbi +0 -5
  383. data/rbi/stripe/resources/charge.rbi +10 -738
  384. data/rbi/stripe/resources/checkout/session.rbi +26 -638
  385. data/rbi/stripe/resources/climate/order.rbi +0 -48
  386. data/rbi/stripe/resources/climate/product.rbi +0 -16
  387. data/rbi/stripe/resources/climate/supplier.rbi +0 -16
  388. data/rbi/stripe/resources/confirmation_token.rbi +15 -365
  389. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -5
  390. data/rbi/stripe/resources/country_spec.rbi +0 -16
  391. data/rbi/stripe/resources/coupon.rbi +0 -48
  392. data/rbi/stripe/resources/credit_note.rbi +0 -159
  393. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -24
  394. data/rbi/stripe/resources/customer.rbi +1 -188
  395. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -12
  396. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -27
  397. data/rbi/stripe/resources/customer_session.rbi +0 -31
  398. data/rbi/stripe/resources/discount.rbi +0 -12
  399. data/rbi/stripe/resources/dispute.rbi +4 -166
  400. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -11
  401. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -3
  402. data/rbi/stripe/resources/entitlements/feature.rbi +0 -22
  403. data/rbi/stripe/resources/ephemeral_key.rbi +0 -7
  404. data/rbi/stripe/resources/event.rbi +0 -31
  405. data/rbi/stripe/resources/exchange_rate.rbi +0 -8
  406. data/rbi/stripe/resources/file.rbi +0 -29
  407. data/rbi/stripe/resources/file_link.rbi +0 -28
  408. data/rbi/stripe/resources/financial_connections/account.rbi +0 -56
  409. data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -3
  410. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -7
  411. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -3
  412. data/rbi/stripe/resources/financial_connections/institution.rbi +0 -16
  413. data/rbi/stripe/resources/financial_connections/session.rbi +0 -35
  414. data/rbi/stripe/resources/financial_connections/transaction.rbi +1 -27
  415. data/rbi/stripe/resources/forwarding/request.rbi +0 -38
  416. data/rbi/stripe/resources/funding_instructions.rbi +0 -107
  417. data/rbi/stripe/resources/gift_cards/card.rbi +0 -36
  418. data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -41
  419. data/rbi/stripe/resources/identity/verification_report.rbi +0 -73
  420. data/rbi/stripe/resources/identity/verification_session.rbi +0 -83
  421. data/rbi/stripe/resources/invoice.rbi +7 -1663
  422. data/rbi/stripe/resources/invoice_item.rbi +0 -107
  423. data/rbi/stripe/resources/invoice_line_item.rbi +0 -86
  424. data/rbi/stripe/resources/invoice_payment.rbi +0 -16
  425. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -17
  426. data/rbi/stripe/resources/issuing/authorization.rbi +0 -245
  427. data/rbi/stripe/resources/issuing/card.rbi +0 -153
  428. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -138
  429. data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -109
  430. data/rbi/stripe/resources/issuing/dispute.rbi +0 -177
  431. data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -17
  432. data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -18
  433. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -62
  434. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -16
  435. data/rbi/stripe/resources/issuing/settlement.rbi +0 -16
  436. data/rbi/stripe/resources/issuing/token.rbi +0 -51
  437. data/rbi/stripe/resources/issuing/transaction.rbi +0 -205
  438. data/rbi/stripe/resources/line_item.rbi +0 -23
  439. data/rbi/stripe/resources/login_link.rbi +0 -2
  440. data/rbi/stripe/resources/mandate.rbi +0 -47
  441. data/rbi/stripe/resources/margin.rbi +0 -24
  442. data/rbi/stripe/resources/order.rbi +3 -492
  443. data/rbi/stripe/resources/payment_attempt_record.rbi +0 -45
  444. data/rbi/stripe/resources/payment_intent.rbi +61 -2230
  445. data/rbi/stripe/resources/payment_link.rbi +14 -291
  446. data/rbi/stripe/resources/payment_method.rbi +23 -384
  447. data/rbi/stripe/resources/payment_method_configuration.rbi +75 -495
  448. data/rbi/stripe/resources/payment_method_domain.rbi +0 -29
  449. data/rbi/stripe/resources/payment_record.rbi +0 -134
  450. data/rbi/stripe/resources/payout.rbi +0 -58
  451. data/rbi/stripe/resources/person.rbi +2 -92
  452. data/rbi/stripe/resources/plan.rbi +0 -78
  453. data/rbi/stripe/resources/price.rbi +0 -153
  454. data/rbi/stripe/resources/product.rbi +0 -120
  455. data/rbi/stripe/resources/product_feature.rbi +0 -4
  456. data/rbi/stripe/resources/promotion_code.rbi +0 -50
  457. data/rbi/stripe/resources/quote.rbi +0 -593
  458. data/rbi/stripe/resources/quote_line.rbi +0 -66
  459. data/rbi/stripe/resources/quote_preview_invoice.rbi +4 -184
  460. data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -101
  461. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -20
  462. data/rbi/stripe/resources/radar/value_list.rbi +0 -32
  463. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -23
  464. data/rbi/stripe/resources/refund.rbi +0 -100
  465. data/rbi/stripe/resources/reporting/report_run.rbi +0 -38
  466. data/rbi/stripe/resources/reporting/report_type.rbi +0 -11
  467. data/rbi/stripe/resources/reserve_transaction.rbi +0 -4
  468. data/rbi/stripe/resources/reversal.rbi +0 -9
  469. data/rbi/stripe/resources/review.rbi +0 -32
  470. data/rbi/stripe/resources/setup_attempt.rbi +3 -106
  471. data/rbi/stripe/resources/setup_intent.rbi +27 -691
  472. data/rbi/stripe/resources/shipping_rate.rbi +0 -57
  473. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -16
  474. data/rbi/stripe/resources/source.rbi +9 -365
  475. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -13
  476. data/rbi/stripe/resources/source_transaction.rbi +0 -29
  477. data/rbi/stripe/resources/subscription.rbi +0 -431
  478. data/rbi/stripe/resources/subscription_item.rbi +0 -88
  479. data/rbi/stripe/resources/subscription_schedule.rbi +0 -504
  480. data/rbi/stripe/resources/tax/association.rbi +0 -13
  481. data/rbi/stripe/resources/tax/calculation.rbi +2 -100
  482. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -20
  483. data/rbi/stripe/resources/tax/form.rbi +2 -40
  484. data/rbi/stripe/resources/tax/registration.rbi +401 -317
  485. data/rbi/stripe/resources/tax/settings.rbi +0 -26
  486. data/rbi/stripe/resources/tax/transaction.rbi +1 -73
  487. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -12
  488. data/rbi/stripe/resources/tax_code.rbi +0 -9
  489. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -4
  490. data/rbi/stripe/resources/tax_id.rbi +2 -34
  491. data/rbi/stripe/resources/tax_rate.rbi +0 -51
  492. data/rbi/stripe/resources/terminal/configuration.rbi +54 -213
  493. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -5
  494. data/rbi/stripe/resources/terminal/location.rbi +0 -40
  495. data/rbi/stripe/resources/terminal/reader.rbi +0 -158
  496. data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -7
  497. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -20
  498. data/rbi/stripe/resources/token.rbi +22 -235
  499. data/rbi/stripe/resources/topup.rbi +0 -44
  500. data/rbi/stripe/resources/transfer.rbi +0 -41
  501. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -25
  502. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -27
  503. data/rbi/stripe/resources/treasury/financial_account.rbi +70 -124
  504. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -46
  505. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -59
  506. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -113
  507. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +28 -84
  508. data/rbi/stripe/resources/treasury/received_credit.rbi +7 -67
  509. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -62
  510. data/rbi/stripe/resources/treasury/transaction.rbi +0 -45
  511. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -41
  512. data/rbi/stripe/resources/usage_record.rbi +0 -5
  513. data/rbi/stripe/resources/usage_record_summary.rbi +0 -7
  514. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -6
  515. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -7
  516. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -5
  517. data/rbi/stripe/resources/v2/event.rbi +0 -8
  518. data/rbi/stripe/resources/v2/event_destination.rbi +0 -19
  519. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -31
  520. data/rbi/stripe/services/account_capability_service.rbi +0 -4
  521. data/rbi/stripe/services/account_external_account_service.rbi +0 -52
  522. data/rbi/stripe/services/account_link_service.rbi +0 -9
  523. data/rbi/stripe/services/account_login_link_service.rbi +0 -1
  524. data/rbi/stripe/services/account_notice_service.rbi +0 -13
  525. data/rbi/stripe/services/account_person_service.rbi +0 -174
  526. data/rbi/stripe/services/account_service.rbi +98 -779
  527. data/rbi/stripe/services/account_session_service.rbi +29 -122
  528. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -8
  529. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -10
  530. data/rbi/stripe/services/application_fee_service.rbi +0 -11
  531. data/rbi/stripe/services/apps/secret_service.rbi +0 -24
  532. data/rbi/stripe/services/balance_service.rbi +0 -1
  533. data/rbi/stripe/services/balance_transaction_service.rbi +0 -14
  534. data/rbi/stripe/services/billing/alert_service.rbi +0 -20
  535. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -7
  536. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -7
  537. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -26
  538. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -5
  539. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -5
  540. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -8
  541. data/rbi/stripe/services/billing/meter_service.rbi +0 -21
  542. data/rbi/stripe/services/billing_portal/configuration_service.rbi +2 -78
  543. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -31
  544. data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -13
  545. data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -1
  546. data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -9
  547. data/rbi/stripe/services/charge_service.rbi +0 -346
  548. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -4
  549. data/rbi/stripe/services/checkout/session_service.rbi +12 -396
  550. data/rbi/stripe/services/climate/order_service.rbi +0 -18
  551. data/rbi/stripe/services/climate/product_service.rbi +0 -5
  552. data/rbi/stripe/services/climate/supplier_service.rbi +0 -5
  553. data/rbi/stripe/services/confirmation_token_service.rbi +0 -1
  554. data/rbi/stripe/services/country_spec_service.rbi +0 -5
  555. data/rbi/stripe/services/coupon_service.rbi +0 -30
  556. data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -4
  557. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -33
  558. data/rbi/stripe/services/credit_note_service.rbi +0 -76
  559. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -13
  560. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -4
  561. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -5
  562. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -8
  563. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -7
  564. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -37
  565. data/rbi/stripe/services/customer_service.rbi +1 -117
  566. data/rbi/stripe/services/customer_session_service.rbi +0 -16
  567. data/rbi/stripe/services/customer_tax_id_service.rbi +1 -9
  568. data/rbi/stripe/services/dispute_service.rbi +2 -80
  569. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -6
  570. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -15
  571. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -6
  572. data/rbi/stripe/services/event_service.rbi +0 -13
  573. data/rbi/stripe/services/exchange_rate_service.rbi +0 -5
  574. data/rbi/stripe/services/file_link_service.rbi +0 -19
  575. data/rbi/stripe/services/file_service.rbi +0 -18
  576. data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -4
  577. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -5
  578. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -16
  579. data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -5
  580. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -17
  581. data/rbi/stripe/services/financial_connections/transaction_service.rbi +1 -14
  582. data/rbi/stripe/services/forwarding/request_service.rbi +0 -20
  583. data/rbi/stripe/services/gift_cards/card_service.rbi +0 -20
  584. data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -24
  585. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -13
  586. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -43
  587. data/rbi/stripe/services/invoice_item_service.rbi +0 -81
  588. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -50
  589. data/rbi/stripe/services/invoice_payment_service.rbi +0 -5
  590. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -9
  591. data/rbi/stripe/services/invoice_service.rbi +2 -1100
  592. data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +1 -375
  593. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -20
  594. data/rbi/stripe/services/issuing/card_service.rbi +0 -89
  595. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -100
  596. data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -82
  597. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -123
  598. data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -6
  599. data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -10
  600. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -38
  601. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -7
  602. data/rbi/stripe/services/issuing/token_service.rbi +0 -14
  603. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -16
  604. data/rbi/stripe/services/mandate_service.rbi +0 -1
  605. data/rbi/stripe/services/margin_service.rbi +0 -15
  606. data/rbi/stripe/services/order_line_item_service.rbi +0 -4
  607. data/rbi/stripe/services/order_service.rbi +2 -365
  608. data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -3
  609. data/rbi/stripe/services/payment_intent_service.rbi +54 -1770
  610. data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -4
  611. data/rbi/stripe/services/payment_link_service.rbi +14 -211
  612. data/rbi/stripe/services/payment_method_configuration_service.rbi +46 -296
  613. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
  614. data/rbi/stripe/services/payment_method_service.rbi +16 -151
  615. data/rbi/stripe/services/payment_record_service.rbi +0 -92
  616. data/rbi/stripe/services/payout_service.rbi +0 -31
  617. data/rbi/stripe/services/plan_service.rbi +0 -51
  618. data/rbi/stripe/services/price_service.rbi +0 -106
  619. data/rbi/stripe/services/product_feature_service.rbi +0 -7
  620. data/rbi/stripe/services/product_service.rbi +0 -93
  621. data/rbi/stripe/services/promotion_code_service.rbi +0 -34
  622. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -4
  623. data/rbi/stripe/services/quote_line_item_service.rbi +0 -4
  624. data/rbi/stripe/services/quote_line_service.rbi +0 -4
  625. data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -4
  626. data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -4
  627. data/rbi/stripe/services/quote_service.rbi +0 -440
  628. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -12
  629. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -15
  630. data/rbi/stripe/services/radar/value_list_service.rbi +0 -21
  631. data/rbi/stripe/services/refund_service.rbi +0 -27
  632. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -21
  633. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -2
  634. data/rbi/stripe/services/review_service.rbi +0 -11
  635. data/rbi/stripe/services/setup_attempt_service.rbi +0 -10
  636. data/rbi/stripe/services/setup_intent_service.rbi +24 -598
  637. data/rbi/stripe/services/shipping_rate_service.rbi +0 -39
  638. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -5
  639. data/rbi/stripe/services/source_service.rbi +0 -119
  640. data/rbi/stripe/services/source_transaction_service.rbi +0 -4
  641. data/rbi/stripe/services/subscription_item_service.rbi +0 -74
  642. data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -4
  643. data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -4
  644. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -405
  645. data/rbi/stripe/services/subscription_service.rbi +0 -337
  646. data/rbi/stripe/services/tax/association_service.rbi +0 -2
  647. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -4
  648. data/rbi/stripe/services/tax/calculation_service.rbi +1 -40
  649. data/rbi/stripe/services/tax/form_service.rbi +0 -11
  650. data/rbi/stripe/services/tax/registration_service.rbi +233 -211
  651. data/rbi/stripe/services/tax/settings_service.rbi +0 -13
  652. data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -4
  653. data/rbi/stripe/services/tax/transaction_service.rbi +0 -22
  654. data/rbi/stripe/services/tax_code_service.rbi +0 -5
  655. data/rbi/stripe/services/tax_id_service.rbi +1 -17
  656. data/rbi/stripe/services/tax_rate_service.rbi +0 -32
  657. data/rbi/stripe/services/terminal/configuration_service.rbi +40 -156
  658. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -2
  659. data/rbi/stripe/services/terminal/location_service.rbi +0 -27
  660. data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -1
  661. data/rbi/stripe/services/terminal/reader_service.rbi +0 -78
  662. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +10 -115
  663. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -4
  664. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -138
  665. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -5
  666. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -6
  667. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -120
  668. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -1
  669. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -7
  670. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -10
  671. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -5
  672. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -14
  673. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -14
  674. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -16
  675. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -16
  676. data/rbi/stripe/services/token_service.rbi +24 -226
  677. data/rbi/stripe/services/topup_service.rbi +0 -28
  678. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -12
  679. data/rbi/stripe/services/transfer_service.rbi +0 -24
  680. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -11
  681. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -12
  682. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -25
  683. data/rbi/stripe/services/treasury/financial_account_service.rbi +62 -73
  684. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -16
  685. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -50
  686. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +17 -24
  687. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -9
  688. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -7
  689. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -18
  690. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -19
  691. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -4
  692. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -4
  693. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -5
  694. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -25
  695. data/rbi/stripe/services/v2/core/event_service.rbi +0 -3
  696. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -18
  697. metadata +4 -2
@@ -38,10 +38,8 @@ module Stripe
38
38
  class AnnualRevenue < Stripe::StripeObject
39
39
  # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).
40
40
  attr_reader :amount
41
-
42
41
  # 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).
43
42
  attr_reader :currency
44
-
45
43
  # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
46
44
  attr_reader :fiscal_year_end
47
45
  end
@@ -49,7 +47,6 @@ module Stripe
49
47
  class MonthlyEstimatedRevenue < Stripe::StripeObject
50
48
  # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).
51
49
  attr_reader :amount
52
-
53
50
  # 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).
54
51
  attr_reader :currency
55
52
  end
@@ -57,52 +54,37 @@ module Stripe
57
54
  class SupportAddress < Stripe::StripeObject
58
55
  # City, district, suburb, town, or village.
59
56
  attr_reader :city
60
-
61
57
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
62
58
  attr_reader :country
63
-
64
59
  # Address line 1 (e.g., street, PO Box, or company name).
65
60
  attr_reader :line1
66
-
67
61
  # Address line 2 (e.g., apartment, suite, unit, or building).
68
62
  attr_reader :line2
69
-
70
63
  # ZIP or postal code.
71
64
  attr_reader :postal_code
72
-
73
65
  # State, county, province, or region.
74
66
  attr_reader :state
75
67
  end
76
68
  # The applicant's gross annual revenue for its preceding fiscal year.
77
69
  attr_reader :annual_revenue
78
-
79
70
  # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
80
71
  attr_reader :estimated_worker_count
81
-
82
72
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
83
73
  attr_reader :mcc
84
-
85
74
  # Attribute for field monthly_estimated_revenue
86
75
  attr_reader :monthly_estimated_revenue
87
-
88
76
  # The customer-facing business name.
89
77
  attr_reader :name
90
-
91
78
  # Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
92
79
  attr_reader :product_description
93
-
94
80
  # A publicly available mailing address for sending support issues to.
95
81
  attr_reader :support_address
96
-
97
82
  # A publicly available email address for sending support issues to.
98
83
  attr_reader :support_email
99
-
100
84
  # A publicly available phone number to call with support issues.
101
85
  attr_reader :support_phone
102
-
103
86
  # A publicly available website for handling support issues.
104
87
  attr_reader :support_url
105
-
106
88
  # The business's publicly available website.
107
89
  attr_reader :url
108
90
  end
@@ -110,199 +92,136 @@ module Stripe
110
92
  class Capabilities < Stripe::StripeObject
111
93
  # The status of the Canadian pre-authorized debits payments capability of the account, or whether the account can directly process Canadian pre-authorized debits charges.
112
94
  attr_reader :acss_debit_payments
113
-
114
95
  # The status of the Affirm capability of the account, or whether the account can directly process Affirm charges.
115
96
  attr_reader :affirm_payments
116
-
117
97
  # The status of the Afterpay Clearpay capability of the account, or whether the account can directly process Afterpay Clearpay charges.
118
98
  attr_reader :afterpay_clearpay_payments
119
-
120
99
  # The status of the Alma capability of the account, or whether the account can directly process Alma payments.
121
100
  attr_reader :alma_payments
122
-
123
101
  # The status of the AmazonPay capability of the account, or whether the account can directly process AmazonPay payments.
124
102
  attr_reader :amazon_pay_payments
125
-
126
103
  # The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.
127
104
  attr_reader :au_becs_debit_payments
128
-
129
105
  # The status of the automatic_indirect_tax capability of the account.
130
106
  attr_reader :automatic_indirect_tax
131
-
132
107
  # The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
133
108
  attr_reader :bacs_debit_payments
134
-
135
109
  # The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.
136
110
  attr_reader :bancontact_payments
137
-
138
111
  # The status of the customer_balance payments capability of the account, or whether the account can directly process customer_balance charges.
139
112
  attr_reader :bank_transfer_payments
140
-
141
113
  # The status of the blik payments capability of the account, or whether the account can directly process blik charges.
142
114
  attr_reader :blik_payments
143
-
144
115
  # The status of the boleto payments capability of the account, or whether the account can directly process boleto charges.
145
116
  attr_reader :boleto_payments
146
-
147
117
  # The status of the card issuing capability of the account, or whether you can use Issuing to distribute funds on cards
148
118
  attr_reader :card_issuing
149
-
150
119
  # The status of the card payments capability of the account, or whether the account can directly process credit and debit card charges.
151
120
  attr_reader :card_payments
152
-
153
121
  # The status of the Cartes Bancaires payments capability of the account, or whether the account can directly process Cartes Bancaires card charges in EUR currency.
154
122
  attr_reader :cartes_bancaires_payments
155
-
156
123
  # The status of the Cash App Pay capability of the account, or whether the account can directly process Cash App Pay payments.
157
124
  attr_reader :cashapp_payments
158
-
159
125
  # The status of the EPS payments capability of the account, or whether the account can directly process EPS charges.
160
126
  attr_reader :eps_payments
161
-
162
127
  # The status of the FPX payments capability of the account, or whether the account can directly process FPX charges.
163
128
  attr_reader :fpx_payments
164
-
165
129
  # The status of the GB customer_balance payments (GBP currency) capability of the account, or whether the account can directly process GB customer_balance charges.
166
130
  attr_reader :gb_bank_transfer_payments
167
-
168
131
  # The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
169
132
  attr_reader :giropay_payments
170
-
171
133
  # The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
172
134
  attr_reader :gopay_payments
173
-
174
135
  # The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
175
136
  attr_reader :grabpay_payments
176
-
177
137
  # The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
178
138
  attr_reader :id_bank_transfer_payments
179
-
180
139
  # The status of Bank BCA onboarding of the account.
181
140
  attr_reader :id_bank_transfer_payments_bca
182
-
183
141
  # The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
184
142
  attr_reader :ideal_payments
185
-
186
143
  # The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.
187
144
  attr_reader :india_international_payments
188
-
189
145
  # The status of the JCB payments capability of the account, or whether the account (Japan only) can directly process JCB credit card charges in JPY currency.
190
146
  attr_reader :jcb_payments
191
-
192
147
  # The status of the Japanese customer_balance payments (JPY currency) capability of the account, or whether the account can directly process Japanese customer_balance charges.
193
148
  attr_reader :jp_bank_transfer_payments
194
-
195
149
  # The status of the KakaoPay capability of the account, or whether the account can directly process KakaoPay payments.
196
150
  attr_reader :kakao_pay_payments
197
-
198
151
  # The status of the Klarna payments capability of the account, or whether the account can directly process Klarna charges.
199
152
  attr_reader :klarna_payments
200
-
201
153
  # The status of the konbini payments capability of the account, or whether the account can directly process konbini charges.
202
154
  attr_reader :konbini_payments
203
-
204
155
  # The status of the KrCard capability of the account, or whether the account can directly process KrCard payments.
205
156
  attr_reader :kr_card_payments
206
-
207
157
  # The status of the legacy payments capability of the account.
208
158
  attr_reader :legacy_payments
209
-
210
159
  # The status of the link_payments capability of the account, or whether the account can directly process Link charges.
211
160
  attr_reader :link_payments
212
-
213
161
  # The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
214
162
  attr_reader :mb_way_payments
215
-
216
163
  # The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
217
164
  attr_reader :mobilepay_payments
218
-
219
165
  # The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.
220
166
  attr_reader :multibanco_payments
221
-
222
167
  # The status of the Mexican customer_balance payments (MXN currency) capability of the account, or whether the account can directly process Mexican customer_balance charges.
223
168
  attr_reader :mx_bank_transfer_payments
224
-
225
169
  # The status of the NaverPay capability of the account, or whether the account can directly process NaverPay payments.
226
170
  attr_reader :naver_pay_payments
227
-
228
171
  # The status of the OXXO payments capability of the account, or whether the account can directly process OXXO charges.
229
172
  attr_reader :oxxo_payments
230
-
231
173
  # The status of the P24 payments capability of the account, or whether the account can directly process P24 charges.
232
174
  attr_reader :p24_payments
233
-
175
+ # The status of the pay_by_bank payments capability of the account, or whether the account can directly process pay_by_bank charges.
176
+ attr_reader :pay_by_bank_payments
234
177
  # The status of the Payco capability of the account, or whether the account can directly process Payco payments.
235
178
  attr_reader :payco_payments
236
-
237
179
  # The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
238
180
  attr_reader :paynow_payments
239
-
240
181
  # The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
241
182
  attr_reader :paypal_payments
242
-
243
183
  # The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
244
184
  attr_reader :payto_payments
245
-
246
185
  # The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
247
186
  attr_reader :promptpay_payments
248
-
249
187
  # The status of the Qris capability of the account, or whether the account can directly process Qris payments.
250
188
  attr_reader :qris_payments
251
-
252
189
  # The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
253
190
  attr_reader :rechnung_payments
254
-
255
191
  # The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
256
192
  attr_reader :revolut_pay_payments
257
-
258
193
  # The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
259
194
  attr_reader :samsung_pay_payments
260
-
261
195
  # The status of the SEPA customer_balance payments (EUR currency) capability of the account, or whether the account can directly process SEPA customer_balance charges.
262
196
  attr_reader :sepa_bank_transfer_payments
263
-
264
197
  # The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
265
198
  attr_reader :sepa_debit_payments
266
-
267
199
  # The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
268
200
  attr_reader :shopeepay_payments
269
-
270
201
  # The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
271
202
  attr_reader :sofort_payments
272
-
273
203
  # The status of the Swish capability of the account, or whether the account can directly process Swish payments.
274
204
  attr_reader :swish_payments
275
-
276
205
  # The status of the tax reporting 1099-K (US) capability of the account.
277
206
  attr_reader :tax_reporting_us_1099_k
278
-
279
207
  # The status of the tax reporting 1099-MISC (US) capability of the account.
280
208
  attr_reader :tax_reporting_us_1099_misc
281
-
282
209
  # The status of the transfers capability of the account, or whether your platform can transfer funds to the account.
283
210
  attr_reader :transfers
284
-
285
211
  # The status of the banking capability, or whether the account can have bank accounts.
286
212
  attr_reader :treasury
287
-
288
213
  # The status of the treasury_evolve capability of the account.
289
214
  attr_reader :treasury_evolve
290
-
291
215
  # The status of the treasury_fifth_third capability of the account.
292
216
  attr_reader :treasury_fifth_third
293
-
294
217
  # The status of the treasury_goldman_sachs capability of the account.
295
218
  attr_reader :treasury_goldman_sachs
296
-
297
219
  # The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
298
220
  attr_reader :twint_payments
299
-
300
221
  # The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
301
222
  attr_reader :us_bank_account_ach_payments
302
-
303
223
  # The status of the US customer_balance payments (USD currency) capability of the account, or whether the account can directly process US customer_balance charges.
304
224
  attr_reader :us_bank_transfer_payments
305
-
306
225
  # The status of the Zip capability of the account, or whether the account can directly process Zip charges.
307
226
  attr_reader :zip_payments
308
227
  end
@@ -311,19 +230,14 @@ module Stripe
311
230
  class Address < Stripe::StripeObject
312
231
  # City, district, suburb, town, or village.
313
232
  attr_reader :city
314
-
315
233
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
316
234
  attr_reader :country
317
-
318
235
  # Address line 1 (e.g., street, PO Box, or company name).
319
236
  attr_reader :line1
320
-
321
237
  # Address line 2 (e.g., apartment, suite, unit, or building).
322
238
  attr_reader :line2
323
-
324
239
  # ZIP or postal code.
325
240
  attr_reader :postal_code
326
-
327
241
  # State, county, province, or region.
328
242
  attr_reader :state
329
243
  end
@@ -331,22 +245,16 @@ module Stripe
331
245
  class AddressKana < Stripe::StripeObject
332
246
  # City/Ward.
333
247
  attr_reader :city
334
-
335
248
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
336
249
  attr_reader :country
337
-
338
250
  # Block/Building number.
339
251
  attr_reader :line1
340
-
341
252
  # Building details.
342
253
  attr_reader :line2
343
-
344
254
  # ZIP or postal code.
345
255
  attr_reader :postal_code
346
-
347
256
  # Prefecture.
348
257
  attr_reader :state
349
-
350
258
  # Town/cho-me.
351
259
  attr_reader :town
352
260
  end
@@ -354,33 +262,34 @@ module Stripe
354
262
  class AddressKanji < Stripe::StripeObject
355
263
  # City/Ward.
356
264
  attr_reader :city
357
-
358
265
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
359
266
  attr_reader :country
360
-
361
267
  # Block/Building number.
362
268
  attr_reader :line1
363
-
364
269
  # Building details.
365
270
  attr_reader :line2
366
-
367
271
  # ZIP or postal code.
368
272
  attr_reader :postal_code
369
-
370
273
  # Prefecture.
371
274
  attr_reader :state
372
-
373
275
  # Town/cho-me.
374
276
  attr_reader :town
375
277
  end
376
278
 
279
+ class DirectorshipDeclaration < Stripe::StripeObject
280
+ # The Unix timestamp marking when the directorship declaration attestation was made.
281
+ attr_reader :date
282
+ # The IP address from which the directorship declaration attestation was made.
283
+ attr_reader :ip
284
+ # The user-agent string from the browser where the directorship declaration attestation was made.
285
+ attr_reader :user_agent
286
+ end
287
+
377
288
  class OwnershipDeclaration < Stripe::StripeObject
378
289
  # The Unix timestamp marking when the beneficial owner attestation was made.
379
290
  attr_reader :date
380
-
381
291
  # The IP address from which the beneficial owner attestation was made.
382
292
  attr_reader :ip
383
-
384
293
  # The user-agent string from the browser where the beneficial owner attestation was made.
385
294
  attr_reader :user_agent
386
295
  end
@@ -389,13 +298,10 @@ module Stripe
389
298
  class Document < Stripe::StripeObject
390
299
  # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`.
391
300
  attr_reader :back
392
-
393
301
  # A user-displayable string describing the verification state of this document.
394
302
  attr_reader :details
395
-
396
303
  # One of `document_corrupt`, `document_expired`, `document_failed_copy`, `document_failed_greyscale`, `document_failed_other`, `document_failed_test_mode`, `document_fraudulent`, `document_incomplete`, `document_invalid`, `document_manipulated`, `document_not_readable`, `document_not_uploaded`, `document_type_not_supported`, or `document_too_large`. A machine-readable code specifying the verification state for this document.
397
304
  attr_reader :details_code
398
-
399
305
  # The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`.
400
306
  attr_reader :front
401
307
  end
@@ -404,55 +310,42 @@ module Stripe
404
310
  end
405
311
  # Attribute for field address
406
312
  attr_reader :address
407
-
408
313
  # The Kana variation of the company's primary address (Japan only).
409
314
  attr_reader :address_kana
410
-
411
315
  # The Kanji variation of the company's primary address (Japan only).
412
316
  attr_reader :address_kanji
413
-
414
317
  # Whether the company's directors have been provided. This Boolean will be `true` if you've manually indicated that all directors are provided via [the `directors_provided` parameter](https://stripe.com/docs/api/accounts/update#update_account-company-directors_provided).
415
318
  attr_reader :directors_provided
416
-
319
+ # This hash is used to attest that the director information provided to Stripe is both current and correct.
320
+ attr_reader :directorship_declaration
417
321
  # Whether the company's executives have been provided. This Boolean will be `true` if you've manually indicated that all executives are provided via [the `executives_provided` parameter](https://stripe.com/docs/api/accounts/update#update_account-company-executives_provided), or if Stripe determined that sufficient executives were provided.
418
322
  attr_reader :executives_provided
419
-
420
323
  # The export license ID number of the company, also referred as Import Export Code (India only).
421
324
  attr_reader :export_license_id
422
-
423
325
  # The purpose code to use for export transactions (India only).
424
326
  attr_reader :export_purpose_code
425
-
426
327
  # The company's legal name.
427
328
  attr_reader :name
428
-
429
329
  # The Kana variation of the company's legal name (Japan only).
430
330
  attr_reader :name_kana
431
-
432
331
  # The Kanji variation of the company's legal name (Japan only).
433
332
  attr_reader :name_kanji
434
-
435
333
  # Whether the company's owners have been provided. This Boolean will be `true` if you've manually indicated that all owners are provided via [the `owners_provided` parameter](https://stripe.com/docs/api/accounts/update#update_account-company-owners_provided), or if Stripe determined that sufficient owners were provided. Stripe determines ownership requirements using both the number of owners provided and their total percent ownership (calculated by adding the `percent_ownership` of each owner together).
436
334
  attr_reader :owners_provided
437
-
438
335
  # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
439
336
  attr_reader :ownership_declaration
440
-
337
+ # Attribute for field ownership_exemption_reason
338
+ attr_reader :ownership_exemption_reason
441
339
  # The company's phone number (used for verification).
442
340
  attr_reader :phone
443
-
444
341
  # The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.
445
342
  attr_reader :structure
446
-
447
343
  # Whether the company's business ID number was provided.
448
344
  attr_reader :tax_id_provided
449
-
450
345
  # The jurisdiction in which the `tax_id` is registered (Germany-based companies only).
451
346
  attr_reader :tax_id_registrar
452
-
453
347
  # Whether the company's business VAT number was provided.
454
348
  attr_reader :vat_id_provided
455
-
456
349
  # Information on the verification state of the company.
457
350
  attr_reader :verification
458
351
  end
@@ -461,10 +354,8 @@ module Stripe
461
354
  class Application < Stripe::StripeObject
462
355
  # `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
463
356
  attr_reader :loss_liable
464
-
465
357
  # `true` if the Connect application is responsible for onboarding the account.
466
358
  attr_reader :onboarding_owner
467
-
468
359
  # `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
469
360
  attr_reader :pricing_controls
470
361
  end
@@ -490,25 +381,18 @@ module Stripe
490
381
  end
491
382
  # Attribute for field application
492
383
  attr_reader :application
493
-
494
384
  # Attribute for field dashboard
495
385
  attr_reader :dashboard
496
-
497
386
  # Attribute for field fees
498
387
  attr_reader :fees
499
-
500
388
  # `true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://stripe.com/docs/connect/platform-controls-for-standard-accounts). Otherwise, this field is null.
501
389
  attr_reader :is_controller
502
-
503
390
  # Attribute for field losses
504
391
  attr_reader :losses
505
-
506
392
  # A value indicating responsibility for collecting requirements on this account. Only returned when the Connect application retrieving the resource controls the account.
507
393
  attr_reader :requirement_collection
508
-
509
394
  # Attribute for field stripe_dashboard
510
395
  attr_reader :stripe_dashboard
511
-
512
396
  # The controller type. Can be `application`, if a Connect application controls the account, or `account`, if the account controls itself.
513
397
  attr_reader :type
514
398
  end
@@ -517,7 +401,6 @@ module Stripe
517
401
  class Alternative < Stripe::StripeObject
518
402
  # Fields that can be provided to satisfy all fields in `original_fields_due`.
519
403
  attr_reader :alternative_fields_due
520
-
521
404
  # Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`.
522
405
  attr_reader :original_fields_due
523
406
  end
@@ -525,34 +408,25 @@ module Stripe
525
408
  class Error < Stripe::StripeObject
526
409
  # The code for the type of error.
527
410
  attr_reader :code
528
-
529
411
  # An informative message that indicates the error type and provides additional details about the error.
530
412
  attr_reader :reason
531
-
532
413
  # The specific user onboarding requirement field (in the requirements hash) that needs to be resolved.
533
414
  attr_reader :requirement
534
415
  end
535
416
  # Fields that are due and can be satisfied by providing the corresponding alternative fields instead.
536
417
  attr_reader :alternatives
537
-
538
418
  # Date on which `future_requirements` becomes the main `requirements` hash and `future_requirements` becomes empty. After the transition, `currently_due` requirements may immediately become `past_due`, but the account may also be given a grace period depending on its enablement state prior to transitioning.
539
419
  attr_reader :current_deadline
540
-
541
420
  # Fields that need to be collected to keep the account enabled. If not collected by `future_requirements[current_deadline]`, these fields will transition to the main `requirements` hash.
542
421
  attr_reader :currently_due
543
-
544
422
  # This is typed as an enum for consistency with `requirements.disabled_reason`.
545
423
  attr_reader :disabled_reason
546
-
547
424
  # Fields that are `currently_due` and need to be collected again because validation or verification failed.
548
425
  attr_reader :errors
549
-
550
- # Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well.
426
+ # Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well.
551
427
  attr_reader :eventually_due
552
-
553
428
  # Fields that weren't collected by `requirements.current_deadline`. These fields need to be collected to enable the capability on the account. New fields will never appear here; `future_requirements.past_due` will always be a subset of `requirements.past_due`.
554
429
  attr_reader :past_due
555
-
556
430
  # Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due` or `currently_due`. Fields might appear in `eventually_due` or `currently_due` and in `pending_verification` if verification fails but another verification is still pending.
557
431
  attr_reader :pending_verification
558
432
  end
@@ -566,7 +440,6 @@ module Stripe
566
440
  class Alternative < Stripe::StripeObject
567
441
  # Fields that can be provided to satisfy all fields in `original_fields_due`.
568
442
  attr_reader :alternative_fields_due
569
-
570
443
  # Fields that are due and can be satisfied by providing all fields in `alternative_fields_due`.
571
444
  attr_reader :original_fields_due
572
445
  end
@@ -574,34 +447,25 @@ module Stripe
574
447
  class Error < Stripe::StripeObject
575
448
  # The code for the type of error.
576
449
  attr_reader :code
577
-
578
450
  # An informative message that indicates the error type and provides additional details about the error.
579
451
  attr_reader :reason
580
-
581
452
  # The specific user onboarding requirement field (in the requirements hash) that needs to be resolved.
582
453
  attr_reader :requirement
583
454
  end
584
455
  # Fields that are due and can be satisfied by providing the corresponding alternative fields instead.
585
456
  attr_reader :alternatives
586
-
587
457
  # Date by which the fields in `currently_due` must be collected to keep the account enabled. These fields may disable the account sooner if the next threshold is reached before they are collected.
588
458
  attr_reader :current_deadline
589
-
590
459
  # Fields that need to be collected to keep the account enabled. If not collected by `current_deadline`, these fields appear in `past_due` as well, and the account is disabled.
591
460
  attr_reader :currently_due
592
-
593
461
  # If the account is disabled, this enum describes why. [Learn more about handling verification issues](https://stripe.com/docs/connect/handling-api-verification).
594
462
  attr_reader :disabled_reason
595
-
596
463
  # Fields that are `currently_due` and need to be collected again because validation or verification failed.
597
464
  attr_reader :errors
598
-
599
- # Fields that need to be collected assuming all volume thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.
465
+ # Fields you must collect when all thresholds are reached. As they become required, they appear in `currently_due` as well, and `current_deadline` becomes set.
600
466
  attr_reader :eventually_due
601
-
602
467
  # Fields that weren't collected by `current_deadline`. These fields need to be collected to enable the account.
603
468
  attr_reader :past_due
604
-
605
469
  # Fields that might become required depending on the results of verification or review. It's an empty array unless an asynchronous verification is pending. If verification fails, these fields move to `eventually_due`, `currently_due`, or `past_due`. Fields might appear in `eventually_due`, `currently_due`, or `past_due` and in `pending_verification` if verification fails but another verification is still pending.
606
470
  attr_reader :pending_verification
607
471
  end
@@ -618,7 +482,6 @@ module Stripe
618
482
  end
619
483
  # Attribute for field charges
620
484
  attr_reader :charges
621
-
622
485
  # Attribute for field payouts
623
486
  attr_reader :payouts
624
487
  end
@@ -627,7 +490,6 @@ module Stripe
627
490
  class BacsDebitPayments < Stripe::StripeObject
628
491
  # 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. The fee appears 5 business days after requesting Bacs. 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.
629
492
  attr_reader :display_name
630
-
631
493
  # The Bacs Direct Debit Service user number for this account. For payments made with Bacs Direct Debit, this number is a unique identifier of the account with our banking partners.
632
494
  attr_reader :service_user_number
633
495
  end
@@ -635,7 +497,6 @@ module Stripe
635
497
  class BankBcaOnboarding < Stripe::StripeObject
636
498
  # Bank BCA business account holder name.
637
499
  attr_reader :account_holder_name
638
-
639
500
  # Bank BCA business account number.
640
501
  attr_reader :business_account_number
641
502
  end
@@ -643,13 +504,10 @@ module Stripe
643
504
  class Branding < Stripe::StripeObject
644
505
  # (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.
645
506
  attr_reader :icon
646
-
647
507
  # (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.
648
508
  attr_reader :logo
649
-
650
509
  # A CSS hex color value representing the primary branding color for this account
651
510
  attr_reader :primary_color
652
-
653
511
  # A CSS hex color value representing the secondary branding color for this account
654
512
  attr_reader :secondary_color
655
513
  end
@@ -657,7 +515,6 @@ module Stripe
657
515
  class Capital < Stripe::StripeObject
658
516
  # Per-currency mapping of user-selected destination accounts used to pay out loans.
659
517
  attr_reader :payout_destination
660
-
661
518
  # Per-currency mapping of all destination accounts eligible to receive loan payouts.
662
519
  attr_reader :payout_destination_selector
663
520
  end
@@ -666,10 +523,8 @@ module Stripe
666
523
  class TosAcceptance < Stripe::StripeObject
667
524
  # The Unix timestamp marking when the account representative accepted the service agreement.
668
525
  attr_reader :date
669
-
670
526
  # The IP address from which the account representative accepted the service agreement.
671
527
  attr_reader :ip
672
-
673
528
  # The user agent of the browser from which the account representative accepted the service agreement.
674
529
  attr_reader :user_agent
675
530
  end
@@ -681,19 +536,15 @@ module Stripe
681
536
  class DeclineOn < Stripe::StripeObject
682
537
  # 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.
683
538
  attr_reader :avs_failure
684
-
685
539
  # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
686
540
  attr_reader :cvc_failure
687
541
  end
688
542
  # Attribute for field decline_on
689
543
  attr_reader :decline_on
690
-
691
544
  # 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.
692
545
  attr_reader :statement_descriptor_prefix
693
-
694
546
  # 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.
695
547
  attr_reader :statement_descriptor_prefix_kana
696
-
697
548
  # 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.
698
549
  attr_reader :statement_descriptor_prefix_kanji
699
550
  end
@@ -701,7 +552,6 @@ module Stripe
701
552
  class Dashboard < Stripe::StripeObject
702
553
  # The display name for this account. This is used on the Stripe Dashboard to differentiate between accounts.
703
554
  attr_reader :display_name
704
-
705
555
  # The timezone used in the Stripe Dashboard for this account. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones).
706
556
  attr_reader :timezone
707
557
  end
@@ -714,16 +564,12 @@ module Stripe
714
564
  class Payments < Stripe::StripeObject
715
565
  # 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.
716
566
  attr_reader :statement_descriptor
717
-
718
567
  # 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).
719
568
  attr_reader :statement_descriptor_kana
720
-
721
569
  # 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).
722
570
  attr_reader :statement_descriptor_kanji
723
-
724
571
  # The Kana variation of `statement_descriptor_prefix` used for card charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
725
572
  attr_reader :statement_descriptor_prefix_kana
726
-
727
573
  # The Kanji variation of `statement_descriptor_prefix` used for card charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
728
574
  attr_reader :statement_descriptor_prefix_kanji
729
575
  end
@@ -732,22 +578,17 @@ module Stripe
732
578
  class Schedule < Stripe::StripeObject
733
579
  # The number of days charges for the account will be held before being paid out.
734
580
  attr_reader :delay_days
735
-
736
581
  # How frequently funds will be paid out. One of `manual` (payouts only created via API call), `daily`, `weekly`, or `monthly`.
737
582
  attr_reader :interval
738
-
739
583
  # The day of the month funds will be paid out. Only shown if `interval` is monthly. Payouts scheduled between the 29th and 31st of the month are sent on the last day of shorter months.
740
584
  attr_reader :monthly_anchor
741
-
742
585
  # The day of the week funds will be paid out, of the style 'monday', 'tuesday', etc. Only shown if `interval` is weekly.
743
586
  attr_reader :weekly_anchor
744
587
  end
745
588
  # A Boolean indicating if Stripe should try to reclaim negative balances from an attached bank account. See [Understanding Connect account balances](/connect/account-balances) for details. The default value is `false` when [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, otherwise `true`.
746
589
  attr_reader :debit_negative_balances
747
-
748
590
  # Attribute for field schedule
749
591
  attr_reader :schedule
750
-
751
592
  # 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.
752
593
  attr_reader :statement_descriptor
753
594
  end
@@ -766,10 +607,8 @@ module Stripe
766
607
  class TosAcceptance < Stripe::StripeObject
767
608
  # The Unix timestamp marking when the account representative accepted the service agreement.
768
609
  attr_reader :date
769
-
770
610
  # The IP address from which the account representative accepted the service agreement.
771
611
  attr_reader :ip
772
-
773
612
  # The user agent of the browser from which the account representative accepted the service agreement.
774
613
  attr_reader :user_agent
775
614
  end
@@ -778,40 +617,28 @@ module Stripe
778
617
  end
779
618
  # Attribute for field bacs_debit_payments
780
619
  attr_reader :bacs_debit_payments
781
-
782
620
  # Attribute for field bank_bca_onboarding
783
621
  attr_reader :bank_bca_onboarding
784
-
785
622
  # Attribute for field branding
786
623
  attr_reader :branding
787
-
788
624
  # Attribute for field capital
789
625
  attr_reader :capital
790
-
791
626
  # Attribute for field card_issuing
792
627
  attr_reader :card_issuing
793
-
794
628
  # Attribute for field card_payments
795
629
  attr_reader :card_payments
796
-
797
630
  # Attribute for field dashboard
798
631
  attr_reader :dashboard
799
-
800
632
  # Attribute for field invoices
801
633
  attr_reader :invoices
802
-
803
634
  # Attribute for field payments
804
635
  attr_reader :payments
805
-
806
636
  # Attribute for field payouts
807
637
  attr_reader :payouts
808
-
809
638
  # Attribute for field sepa_debit_payments
810
639
  attr_reader :sepa_debit_payments
811
-
812
640
  # Attribute for field tax_forms
813
641
  attr_reader :tax_forms
814
-
815
642
  # Attribute for field treasury
816
643
  attr_reader :treasury
817
644
  end
@@ -819,13 +646,10 @@ module Stripe
819
646
  class TosAcceptance < Stripe::StripeObject
820
647
  # The Unix timestamp marking when the account representative accepted their service agreement
821
648
  attr_reader :date
822
-
823
649
  # The IP address from which the account representative accepted their service agreement
824
650
  attr_reader :ip
825
-
826
651
  # The user's service agreement type
827
652
  attr_reader :service_agreement
828
-
829
653
  # The user agent of the browser from which the account representative accepted their service agreement
830
654
  attr_reader :user_agent
831
655
  end
@@ -846,22 +670,16 @@ module Stripe
846
670
  class BankAccount < Stripe::RequestParams
847
671
  # Attribute for param field object
848
672
  attr_accessor :object
849
-
850
673
  # 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.
851
674
  attr_accessor :account_holder_name
852
-
853
675
  # 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.
854
676
  attr_accessor :account_holder_type
855
-
856
677
  # The account number for the bank account, in string form. Must be a checking account.
857
678
  attr_accessor :account_number
858
-
859
679
  # The country in which the bank account is located.
860
680
  attr_accessor :country
861
-
862
681
  # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
863
682
  attr_accessor :currency
864
-
865
683
  # 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.
866
684
  attr_accessor :routing_number
867
685
 
@@ -888,10 +706,8 @@ module Stripe
888
706
  class AnnualRevenue < Stripe::RequestParams
889
707
  # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).
890
708
  attr_accessor :amount
891
-
892
709
  # 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).
893
710
  attr_accessor :currency
894
-
895
711
  # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
896
712
  attr_accessor :fiscal_year_end
897
713
 
@@ -905,7 +721,6 @@ module Stripe
905
721
  class MonthlyEstimatedRevenue < Stripe::RequestParams
906
722
  # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).
907
723
  attr_accessor :amount
908
-
909
724
  # 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).
910
725
  attr_accessor :currency
911
726
 
@@ -918,19 +733,14 @@ module Stripe
918
733
  class SupportAddress < Stripe::RequestParams
919
734
  # City, district, suburb, town, or village.
920
735
  attr_accessor :city
921
-
922
736
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
923
737
  attr_accessor :country
924
-
925
738
  # Address line 1 (e.g., street, PO Box, or company name).
926
739
  attr_accessor :line1
927
-
928
740
  # Address line 2 (e.g., apartment, suite, unit, or building).
929
741
  attr_accessor :line2
930
-
931
742
  # ZIP or postal code.
932
743
  attr_accessor :postal_code
933
-
934
744
  # State, county, province, or region.
935
745
  attr_accessor :state
936
746
 
@@ -952,34 +762,24 @@ module Stripe
952
762
  end
953
763
  # The applicant's gross annual revenue for its preceding fiscal year.
954
764
  attr_accessor :annual_revenue
955
-
956
765
  # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
957
766
  attr_accessor :estimated_worker_count
958
-
959
767
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
960
768
  attr_accessor :mcc
961
-
962
769
  # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
963
770
  attr_accessor :monthly_estimated_revenue
964
-
965
771
  # The customer-facing business name.
966
772
  attr_accessor :name
967
-
968
773
  # Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
969
774
  attr_accessor :product_description
970
-
971
775
  # A publicly available mailing address for sending support issues to.
972
776
  attr_accessor :support_address
973
-
974
777
  # A publicly available email address for sending support issues to.
975
778
  attr_accessor :support_email
976
-
977
779
  # A publicly available phone number to call with support issues.
978
780
  attr_accessor :support_phone
979
-
980
781
  # A publicly available website for handling support issues.
981
782
  attr_accessor :support_url
982
-
983
783
  # The business's publicly available website.
984
784
  attr_accessor :url
985
785
 
@@ -1380,6 +1180,15 @@ module Stripe
1380
1180
  end
1381
1181
  end
1382
1182
 
1183
+ class PayByBankPayments < Stripe::RequestParams
1184
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1185
+ attr_accessor :requested
1186
+
1187
+ def initialize(requested: nil)
1188
+ @requested = requested
1189
+ end
1190
+ end
1191
+
1383
1192
  class PaycoPayments < Stripe::RequestParams
1384
1193
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1385
1194
  attr_accessor :requested
@@ -1606,199 +1415,136 @@ module Stripe
1606
1415
  end
1607
1416
  # The acss_debit_payments capability.
1608
1417
  attr_accessor :acss_debit_payments
1609
-
1610
1418
  # The affirm_payments capability.
1611
1419
  attr_accessor :affirm_payments
1612
-
1613
1420
  # The afterpay_clearpay_payments capability.
1614
1421
  attr_accessor :afterpay_clearpay_payments
1615
-
1616
1422
  # The alma_payments capability.
1617
1423
  attr_accessor :alma_payments
1618
-
1619
1424
  # The amazon_pay_payments capability.
1620
1425
  attr_accessor :amazon_pay_payments
1621
-
1622
1426
  # The au_becs_debit_payments capability.
1623
1427
  attr_accessor :au_becs_debit_payments
1624
-
1625
1428
  # The automatic_indirect_tax capability.
1626
1429
  attr_accessor :automatic_indirect_tax
1627
-
1628
1430
  # The bacs_debit_payments capability.
1629
1431
  attr_accessor :bacs_debit_payments
1630
-
1631
1432
  # The bancontact_payments capability.
1632
1433
  attr_accessor :bancontact_payments
1633
-
1634
1434
  # The bank_transfer_payments capability.
1635
1435
  attr_accessor :bank_transfer_payments
1636
-
1637
1436
  # The blik_payments capability.
1638
1437
  attr_accessor :blik_payments
1639
-
1640
1438
  # The boleto_payments capability.
1641
1439
  attr_accessor :boleto_payments
1642
-
1643
1440
  # The card_issuing capability.
1644
1441
  attr_accessor :card_issuing
1645
-
1646
1442
  # The card_payments capability.
1647
1443
  attr_accessor :card_payments
1648
-
1649
1444
  # The cartes_bancaires_payments capability.
1650
1445
  attr_accessor :cartes_bancaires_payments
1651
-
1652
1446
  # The cashapp_payments capability.
1653
1447
  attr_accessor :cashapp_payments
1654
-
1655
1448
  # The eps_payments capability.
1656
1449
  attr_accessor :eps_payments
1657
-
1658
1450
  # The fpx_payments capability.
1659
1451
  attr_accessor :fpx_payments
1660
-
1661
1452
  # The gb_bank_transfer_payments capability.
1662
1453
  attr_accessor :gb_bank_transfer_payments
1663
-
1664
1454
  # The giropay_payments capability.
1665
1455
  attr_accessor :giropay_payments
1666
-
1667
1456
  # The gopay_payments capability.
1668
1457
  attr_accessor :gopay_payments
1669
-
1670
1458
  # The grabpay_payments capability.
1671
1459
  attr_accessor :grabpay_payments
1672
-
1673
1460
  # The id_bank_transfer_payments capability.
1674
1461
  attr_accessor :id_bank_transfer_payments
1675
-
1676
1462
  # The id_bank_transfer_payments_bca capability.
1677
1463
  attr_accessor :id_bank_transfer_payments_bca
1678
-
1679
1464
  # The ideal_payments capability.
1680
1465
  attr_accessor :ideal_payments
1681
-
1682
1466
  # The india_international_payments capability.
1683
1467
  attr_accessor :india_international_payments
1684
-
1685
1468
  # The jcb_payments capability.
1686
1469
  attr_accessor :jcb_payments
1687
-
1688
1470
  # The jp_bank_transfer_payments capability.
1689
1471
  attr_accessor :jp_bank_transfer_payments
1690
-
1691
1472
  # The kakao_pay_payments capability.
1692
1473
  attr_accessor :kakao_pay_payments
1693
-
1694
1474
  # The klarna_payments capability.
1695
1475
  attr_accessor :klarna_payments
1696
-
1697
1476
  # The konbini_payments capability.
1698
1477
  attr_accessor :konbini_payments
1699
-
1700
1478
  # The kr_card_payments capability.
1701
1479
  attr_accessor :kr_card_payments
1702
-
1703
1480
  # The legacy_payments capability.
1704
1481
  attr_accessor :legacy_payments
1705
-
1706
1482
  # The link_payments capability.
1707
1483
  attr_accessor :link_payments
1708
-
1709
1484
  # The mb_way_payments capability.
1710
1485
  attr_accessor :mb_way_payments
1711
-
1712
1486
  # The mobilepay_payments capability.
1713
1487
  attr_accessor :mobilepay_payments
1714
-
1715
1488
  # The multibanco_payments capability.
1716
1489
  attr_accessor :multibanco_payments
1717
-
1718
1490
  # The mx_bank_transfer_payments capability.
1719
1491
  attr_accessor :mx_bank_transfer_payments
1720
-
1721
1492
  # The naver_pay_payments capability.
1722
1493
  attr_accessor :naver_pay_payments
1723
-
1724
1494
  # The oxxo_payments capability.
1725
1495
  attr_accessor :oxxo_payments
1726
-
1727
1496
  # The p24_payments capability.
1728
1497
  attr_accessor :p24_payments
1729
-
1498
+ # The pay_by_bank_payments capability.
1499
+ attr_accessor :pay_by_bank_payments
1730
1500
  # The payco_payments capability.
1731
1501
  attr_accessor :payco_payments
1732
-
1733
1502
  # The paynow_payments capability.
1734
1503
  attr_accessor :paynow_payments
1735
-
1736
1504
  # The paypal_payments capability.
1737
1505
  attr_accessor :paypal_payments
1738
-
1739
1506
  # The payto_payments capability.
1740
1507
  attr_accessor :payto_payments
1741
-
1742
1508
  # The promptpay_payments capability.
1743
1509
  attr_accessor :promptpay_payments
1744
-
1745
1510
  # The qris_payments capability.
1746
1511
  attr_accessor :qris_payments
1747
-
1748
1512
  # The rechnung_payments capability.
1749
1513
  attr_accessor :rechnung_payments
1750
-
1751
1514
  # The revolut_pay_payments capability.
1752
1515
  attr_accessor :revolut_pay_payments
1753
-
1754
1516
  # The samsung_pay_payments capability.
1755
1517
  attr_accessor :samsung_pay_payments
1756
-
1757
1518
  # The sepa_bank_transfer_payments capability.
1758
1519
  attr_accessor :sepa_bank_transfer_payments
1759
-
1760
1520
  # The sepa_debit_payments capability.
1761
1521
  attr_accessor :sepa_debit_payments
1762
-
1763
1522
  # The shopeepay_payments capability.
1764
1523
  attr_accessor :shopeepay_payments
1765
-
1766
1524
  # The sofort_payments capability.
1767
1525
  attr_accessor :sofort_payments
1768
-
1769
1526
  # The swish_payments capability.
1770
1527
  attr_accessor :swish_payments
1771
-
1772
1528
  # The tax_reporting_us_1099_k capability.
1773
1529
  attr_accessor :tax_reporting_us_1099_k
1774
-
1775
1530
  # The tax_reporting_us_1099_misc capability.
1776
1531
  attr_accessor :tax_reporting_us_1099_misc
1777
-
1778
1532
  # The transfers capability.
1779
1533
  attr_accessor :transfers
1780
-
1781
1534
  # The treasury capability.
1782
1535
  attr_accessor :treasury
1783
-
1784
1536
  # The treasury_evolve capability.
1785
1537
  attr_accessor :treasury_evolve
1786
-
1787
1538
  # The treasury_fifth_third capability.
1788
1539
  attr_accessor :treasury_fifth_third
1789
-
1790
1540
  # The treasury_goldman_sachs capability.
1791
1541
  attr_accessor :treasury_goldman_sachs
1792
-
1793
1542
  # The twint_payments capability.
1794
1543
  attr_accessor :twint_payments
1795
-
1796
1544
  # The us_bank_account_ach_payments capability.
1797
1545
  attr_accessor :us_bank_account_ach_payments
1798
-
1799
1546
  # The us_bank_transfer_payments capability.
1800
1547
  attr_accessor :us_bank_transfer_payments
1801
-
1802
1548
  # The zip_payments capability.
1803
1549
  attr_accessor :zip_payments
1804
1550
 
@@ -1844,6 +1590,7 @@ module Stripe
1844
1590
  naver_pay_payments: nil,
1845
1591
  oxxo_payments: nil,
1846
1592
  p24_payments: nil,
1593
+ pay_by_bank_payments: nil,
1847
1594
  payco_payments: nil,
1848
1595
  paynow_payments: nil,
1849
1596
  paypal_payments: nil,
@@ -1911,6 +1658,7 @@ module Stripe
1911
1658
  @naver_pay_payments = naver_pay_payments
1912
1659
  @oxxo_payments = oxxo_payments
1913
1660
  @p24_payments = p24_payments
1661
+ @pay_by_bank_payments = pay_by_bank_payments
1914
1662
  @payco_payments = payco_payments
1915
1663
  @paynow_payments = paynow_payments
1916
1664
  @paypal_payments = paypal_payments
@@ -1942,46 +1690,32 @@ module Stripe
1942
1690
  class Card < Stripe::RequestParams
1943
1691
  # Attribute for param field object
1944
1692
  attr_accessor :object
1945
-
1946
1693
  # Attribute for param field address_city
1947
1694
  attr_accessor :address_city
1948
-
1949
1695
  # Attribute for param field address_country
1950
1696
  attr_accessor :address_country
1951
-
1952
1697
  # Attribute for param field address_line1
1953
1698
  attr_accessor :address_line1
1954
-
1955
1699
  # Attribute for param field address_line2
1956
1700
  attr_accessor :address_line2
1957
-
1958
1701
  # Attribute for param field address_state
1959
1702
  attr_accessor :address_state
1960
-
1961
1703
  # Attribute for param field address_zip
1962
1704
  attr_accessor :address_zip
1963
-
1964
1705
  # Attribute for param field currency
1965
1706
  attr_accessor :currency
1966
-
1967
1707
  # Attribute for param field cvc
1968
1708
  attr_accessor :cvc
1969
-
1970
1709
  # Attribute for param field exp_month
1971
1710
  attr_accessor :exp_month
1972
-
1973
1711
  # Attribute for param field exp_year
1974
1712
  attr_accessor :exp_year
1975
-
1976
1713
  # Attribute for param field name
1977
1714
  attr_accessor :name
1978
-
1979
1715
  # Attribute for param field number
1980
1716
  attr_accessor :number
1981
-
1982
1717
  # 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.
1983
1718
  attr_accessor :metadata
1984
-
1985
1719
  # Attribute for param field default_for_currency
1986
1720
  attr_accessor :default_for_currency
1987
1721
 
@@ -2023,10 +1757,8 @@ module Stripe
2023
1757
  class CardToken < Stripe::RequestParams
2024
1758
  # Attribute for param field object
2025
1759
  attr_accessor :object
2026
-
2027
1760
  # Attribute for param field currency
2028
1761
  attr_accessor :currency
2029
-
2030
1762
  # Attribute for param field token
2031
1763
  attr_accessor :token
2032
1764
 
@@ -2041,19 +1773,14 @@ module Stripe
2041
1773
  class Address < Stripe::RequestParams
2042
1774
  # City, district, suburb, town, or village.
2043
1775
  attr_accessor :city
2044
-
2045
1776
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2046
1777
  attr_accessor :country
2047
-
2048
1778
  # Address line 1 (e.g., street, PO Box, or company name).
2049
1779
  attr_accessor :line1
2050
-
2051
1780
  # Address line 2 (e.g., apartment, suite, unit, or building).
2052
1781
  attr_accessor :line2
2053
-
2054
1782
  # ZIP or postal code.
2055
1783
  attr_accessor :postal_code
2056
-
2057
1784
  # State, county, province, or region.
2058
1785
  attr_accessor :state
2059
1786
 
@@ -2077,22 +1804,16 @@ module Stripe
2077
1804
  class AddressKana < Stripe::RequestParams
2078
1805
  # City or ward.
2079
1806
  attr_accessor :city
2080
-
2081
1807
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2082
1808
  attr_accessor :country
2083
-
2084
1809
  # Block or building number.
2085
1810
  attr_accessor :line1
2086
-
2087
1811
  # Building details.
2088
1812
  attr_accessor :line2
2089
-
2090
1813
  # Postal code.
2091
1814
  attr_accessor :postal_code
2092
-
2093
1815
  # Prefecture.
2094
1816
  attr_accessor :state
2095
-
2096
1817
  # Town or cho-me.
2097
1818
  attr_accessor :town
2098
1819
 
@@ -2118,22 +1839,16 @@ module Stripe
2118
1839
  class AddressKanji < Stripe::RequestParams
2119
1840
  # City or ward.
2120
1841
  attr_accessor :city
2121
-
2122
1842
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2123
1843
  attr_accessor :country
2124
-
2125
1844
  # Block or building number.
2126
1845
  attr_accessor :line1
2127
-
2128
1846
  # Building details.
2129
1847
  attr_accessor :line2
2130
-
2131
1848
  # Postal code.
2132
1849
  attr_accessor :postal_code
2133
-
2134
1850
  # Prefecture.
2135
1851
  attr_accessor :state
2136
-
2137
1852
  # Town or cho-me.
2138
1853
  attr_accessor :town
2139
1854
 
@@ -2156,13 +1871,26 @@ module Stripe
2156
1871
  end
2157
1872
  end
2158
1873
 
1874
+ class DirectorshipDeclaration < Stripe::RequestParams
1875
+ # The Unix timestamp marking when the directorship declaration attestation was made.
1876
+ attr_accessor :date
1877
+ # The IP address from which the directorship declaration attestation was made.
1878
+ attr_accessor :ip
1879
+ # The user agent of the browser from which the directorship declaration attestation was made.
1880
+ attr_accessor :user_agent
1881
+
1882
+ def initialize(date: nil, ip: nil, user_agent: nil)
1883
+ @date = date
1884
+ @ip = ip
1885
+ @user_agent = user_agent
1886
+ end
1887
+ end
1888
+
2159
1889
  class OwnershipDeclaration < Stripe::RequestParams
2160
1890
  # The Unix timestamp marking when the beneficial owner attestation was made.
2161
1891
  attr_accessor :date
2162
-
2163
1892
  # The IP address from which the beneficial owner attestation was made.
2164
1893
  attr_accessor :ip
2165
-
2166
1894
  # The user agent of the browser from which the beneficial owner attestation was made.
2167
1895
  attr_accessor :user_agent
2168
1896
 
@@ -2177,7 +1905,6 @@ module Stripe
2177
1905
  class Document < Stripe::RequestParams
2178
1906
  # 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.
2179
1907
  attr_accessor :back
2180
-
2181
1908
  # 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.
2182
1909
  attr_accessor :front
2183
1910
 
@@ -2195,58 +1922,44 @@ module Stripe
2195
1922
  end
2196
1923
  # The company's primary address.
2197
1924
  attr_accessor :address
2198
-
2199
1925
  # The Kana variation of the company's primary address (Japan only).
2200
1926
  attr_accessor :address_kana
2201
-
2202
1927
  # The Kanji variation of the company's primary address (Japan only).
2203
1928
  attr_accessor :address_kanji
2204
-
2205
1929
  # 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.
2206
1930
  attr_accessor :directors_provided
2207
-
1931
+ # This hash is used to attest that the directors information provided to Stripe is both current and correct.
1932
+ attr_accessor :directorship_declaration
2208
1933
  # 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.
2209
1934
  attr_accessor :executives_provided
2210
-
2211
1935
  # The export license ID number of the company, also referred as Import Export Code (India only).
2212
1936
  attr_accessor :export_license_id
2213
-
2214
1937
  # The purpose code to use for export transactions (India only).
2215
1938
  attr_accessor :export_purpose_code
2216
-
2217
1939
  # The company's legal name.
2218
1940
  attr_accessor :name
2219
-
2220
1941
  # The Kana variation of the company's legal name (Japan only).
2221
1942
  attr_accessor :name_kana
2222
-
2223
1943
  # The Kanji variation of the company's legal name (Japan only).
2224
1944
  attr_accessor :name_kanji
2225
-
2226
1945
  # 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.
2227
1946
  attr_accessor :owners_provided
2228
-
2229
1947
  # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
2230
1948
  attr_accessor :ownership_declaration
2231
-
1949
+ # Attribute for param field ownership_exemption_reason
1950
+ attr_accessor :ownership_exemption_reason
2232
1951
  # The company's phone number (used for verification).
2233
1952
  attr_accessor :phone
2234
-
2235
1953
  # 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).
2236
1954
  attr_accessor :registration_number
2237
-
2238
1955
  # 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.
2239
1956
  attr_accessor :structure
2240
-
2241
1957
  # 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.)
2242
1958
  attr_accessor :tax_id
2243
-
2244
1959
  # The jurisdiction in which the `tax_id` is registered (Germany-based companies only).
2245
1960
  attr_accessor :tax_id_registrar
2246
-
2247
1961
  # The VAT number of the company.
2248
1962
  attr_accessor :vat_id
2249
-
2250
1963
  # Information on the verification state of the company.
2251
1964
  attr_accessor :verification
2252
1965
 
@@ -2255,6 +1968,7 @@ module Stripe
2255
1968
  address_kana: nil,
2256
1969
  address_kanji: nil,
2257
1970
  directors_provided: nil,
1971
+ directorship_declaration: nil,
2258
1972
  executives_provided: nil,
2259
1973
  export_license_id: nil,
2260
1974
  export_purpose_code: nil,
@@ -2263,6 +1977,7 @@ module Stripe
2263
1977
  name_kanji: nil,
2264
1978
  owners_provided: nil,
2265
1979
  ownership_declaration: nil,
1980
+ ownership_exemption_reason: nil,
2266
1981
  phone: nil,
2267
1982
  registration_number: nil,
2268
1983
  structure: nil,
@@ -2275,6 +1990,7 @@ module Stripe
2275
1990
  @address_kana = address_kana
2276
1991
  @address_kanji = address_kanji
2277
1992
  @directors_provided = directors_provided
1993
+ @directorship_declaration = directorship_declaration
2278
1994
  @executives_provided = executives_provided
2279
1995
  @export_license_id = export_license_id
2280
1996
  @export_purpose_code = export_purpose_code
@@ -2283,6 +1999,7 @@ module Stripe
2283
1999
  @name_kanji = name_kanji
2284
2000
  @owners_provided = owners_provided
2285
2001
  @ownership_declaration = ownership_declaration
2002
+ @ownership_exemption_reason = ownership_exemption_reason
2286
2003
  @phone = phone
2287
2004
  @registration_number = registration_number
2288
2005
  @structure = structure
@@ -2356,26 +2073,31 @@ module Stripe
2356
2073
  @files = files
2357
2074
  end
2358
2075
  end
2076
+
2077
+ class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
2078
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
2079
+ attr_accessor :files
2080
+
2081
+ def initialize(files: nil)
2082
+ @files = files
2083
+ end
2084
+ end
2359
2085
  # 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.
2360
2086
  attr_accessor :bank_account_ownership_verification
2361
-
2362
2087
  # One or more documents that demonstrate proof of a company's license to operate.
2363
2088
  attr_accessor :company_license
2364
-
2365
2089
  # One or more documents showing the company's Memorandum of Association.
2366
2090
  attr_accessor :company_memorandum_of_association
2367
-
2368
2091
  # (Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.
2369
2092
  attr_accessor :company_ministerial_decree
2370
-
2371
2093
  # One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
2372
2094
  attr_accessor :company_registration_verification
2373
-
2374
2095
  # One or more documents that demonstrate proof of a company's tax ID.
2375
2096
  attr_accessor :company_tax_id_verification
2376
-
2377
2097
  # One or more documents showing the company’s proof of registration with the national business registry.
2378
2098
  attr_accessor :proof_of_registration
2099
+ # One or more documents that demonstrate proof of ultimate beneficial ownership.
2100
+ attr_accessor :proof_of_ultimate_beneficial_ownership
2379
2101
 
2380
2102
  def initialize(
2381
2103
  bank_account_ownership_verification: nil,
@@ -2384,7 +2106,8 @@ module Stripe
2384
2106
  company_ministerial_decree: nil,
2385
2107
  company_registration_verification: nil,
2386
2108
  company_tax_id_verification: nil,
2387
- proof_of_registration: nil
2109
+ proof_of_registration: nil,
2110
+ proof_of_ultimate_beneficial_ownership: nil
2388
2111
  )
2389
2112
  @bank_account_ownership_verification = bank_account_ownership_verification
2390
2113
  @company_license = company_license
@@ -2393,6 +2116,7 @@ module Stripe
2393
2116
  @company_registration_verification = company_registration_verification
2394
2117
  @company_tax_id_verification = company_tax_id_verification
2395
2118
  @proof_of_registration = proof_of_registration
2119
+ @proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
2396
2120
  end
2397
2121
  end
2398
2122
 
@@ -2409,19 +2133,14 @@ module Stripe
2409
2133
  class Address < Stripe::RequestParams
2410
2134
  # City, district, suburb, town, or village.
2411
2135
  attr_accessor :city
2412
-
2413
2136
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2414
2137
  attr_accessor :country
2415
-
2416
2138
  # Address line 1 (e.g., street, PO Box, or company name).
2417
2139
  attr_accessor :line1
2418
-
2419
2140
  # Address line 2 (e.g., apartment, suite, unit, or building).
2420
2141
  attr_accessor :line2
2421
-
2422
2142
  # ZIP or postal code.
2423
2143
  attr_accessor :postal_code
2424
-
2425
2144
  # State, county, province, or region.
2426
2145
  attr_accessor :state
2427
2146
 
@@ -2445,22 +2164,16 @@ module Stripe
2445
2164
  class AddressKana < Stripe::RequestParams
2446
2165
  # City or ward.
2447
2166
  attr_accessor :city
2448
-
2449
2167
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2450
2168
  attr_accessor :country
2451
-
2452
2169
  # Block or building number.
2453
2170
  attr_accessor :line1
2454
-
2455
2171
  # Building details.
2456
2172
  attr_accessor :line2
2457
-
2458
2173
  # Postal code.
2459
2174
  attr_accessor :postal_code
2460
-
2461
2175
  # Prefecture.
2462
2176
  attr_accessor :state
2463
-
2464
2177
  # Town or cho-me.
2465
2178
  attr_accessor :town
2466
2179
 
@@ -2486,22 +2199,16 @@ module Stripe
2486
2199
  class AddressKanji < Stripe::RequestParams
2487
2200
  # City or ward.
2488
2201
  attr_accessor :city
2489
-
2490
2202
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2491
2203
  attr_accessor :country
2492
-
2493
2204
  # Block or building number.
2494
2205
  attr_accessor :line1
2495
-
2496
2206
  # Building details.
2497
2207
  attr_accessor :line2
2498
-
2499
2208
  # Postal code.
2500
2209
  attr_accessor :postal_code
2501
-
2502
2210
  # Prefecture.
2503
2211
  attr_accessor :state
2504
-
2505
2212
  # Town or cho-me.
2506
2213
  attr_accessor :town
2507
2214
 
@@ -2527,10 +2234,8 @@ module Stripe
2527
2234
  class Dob < Stripe::RequestParams
2528
2235
  # The day of birth, between 1 and 31.
2529
2236
  attr_accessor :day
2530
-
2531
2237
  # The month of birth, between 1 and 12.
2532
2238
  attr_accessor :month
2533
-
2534
2239
  # The four-digit year of birth.
2535
2240
  attr_accessor :year
2536
2241
 
@@ -2544,19 +2249,14 @@ module Stripe
2544
2249
  class RegisteredAddress < Stripe::RequestParams
2545
2250
  # City, district, suburb, town, or village.
2546
2251
  attr_accessor :city
2547
-
2548
2252
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2549
2253
  attr_accessor :country
2550
-
2551
2254
  # Address line 1 (e.g., street, PO Box, or company name).
2552
2255
  attr_accessor :line1
2553
-
2554
2256
  # Address line 2 (e.g., apartment, suite, unit, or building).
2555
2257
  attr_accessor :line2
2556
-
2557
2258
  # ZIP or postal code.
2558
2259
  attr_accessor :postal_code
2559
-
2560
2260
  # State, county, province, or region.
2561
2261
  attr_accessor :state
2562
2262
 
@@ -2580,16 +2280,12 @@ module Stripe
2580
2280
  class Relationship < Stripe::RequestParams
2581
2281
  # 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.
2582
2282
  attr_accessor :director
2583
-
2584
2283
  # Whether the person has significant responsibility to control, manage, or direct the organization.
2585
2284
  attr_accessor :executive
2586
-
2587
2285
  # Whether the person is an owner of the account’s legal entity.
2588
2286
  attr_accessor :owner
2589
-
2590
2287
  # The percent owned by the person of the account's legal entity.
2591
2288
  attr_accessor :percent_ownership
2592
-
2593
2289
  # The person's title (e.g., CEO, Support Engineer).
2594
2290
  attr_accessor :title
2595
2291
 
@@ -2612,7 +2308,6 @@ module Stripe
2612
2308
  class AdditionalDocument < Stripe::RequestParams
2613
2309
  # 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.
2614
2310
  attr_accessor :back
2615
-
2616
2311
  # 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.
2617
2312
  attr_accessor :front
2618
2313
 
@@ -2625,7 +2320,6 @@ module Stripe
2625
2320
  class Document < Stripe::RequestParams
2626
2321
  # 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.
2627
2322
  attr_accessor :back
2628
-
2629
2323
  # 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.
2630
2324
  attr_accessor :front
2631
2325
 
@@ -2636,7 +2330,6 @@ module Stripe
2636
2330
  end
2637
2331
  # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
2638
2332
  attr_accessor :additional_document
2639
-
2640
2333
  # An identifying document, either a passport or local ID card.
2641
2334
  attr_accessor :document
2642
2335
 
@@ -2647,70 +2340,48 @@ module Stripe
2647
2340
  end
2648
2341
  # The individual's primary address.
2649
2342
  attr_accessor :address
2650
-
2651
2343
  # The Kana variation of the individual's primary address (Japan only).
2652
2344
  attr_accessor :address_kana
2653
-
2654
2345
  # The Kanji variation of the individual's primary address (Japan only).
2655
2346
  attr_accessor :address_kanji
2656
-
2657
2347
  # The individual's date of birth.
2658
2348
  attr_accessor :dob
2659
-
2660
2349
  # The individual's email address.
2661
2350
  attr_accessor :email
2662
-
2663
2351
  # The individual's first name.
2664
2352
  attr_accessor :first_name
2665
-
2666
2353
  # The Kana variation of the individual's first name (Japan only).
2667
2354
  attr_accessor :first_name_kana
2668
-
2669
2355
  # The Kanji variation of the individual's first name (Japan only).
2670
2356
  attr_accessor :first_name_kanji
2671
-
2672
2357
  # A list of alternate names or aliases that the individual is known by.
2673
2358
  attr_accessor :full_name_aliases
2674
-
2675
2359
  # The individual's gender
2676
2360
  attr_accessor :gender
2677
-
2678
2361
  # 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).
2679
2362
  attr_accessor :id_number
2680
-
2681
2363
  # 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).
2682
2364
  attr_accessor :id_number_secondary
2683
-
2684
2365
  # The individual's last name.
2685
2366
  attr_accessor :last_name
2686
-
2687
2367
  # The Kana variation of the individual's last name (Japan only).
2688
2368
  attr_accessor :last_name_kana
2689
-
2690
2369
  # The Kanji variation of the individual's last name (Japan only).
2691
2370
  attr_accessor :last_name_kanji
2692
-
2693
2371
  # The individual's maiden name.
2694
2372
  attr_accessor :maiden_name
2695
-
2696
2373
  # 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`.
2697
2374
  attr_accessor :metadata
2698
-
2699
2375
  # The individual's phone number.
2700
2376
  attr_accessor :phone
2701
-
2702
2377
  # 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.
2703
2378
  attr_accessor :political_exposure
2704
-
2705
2379
  # The individual's registered address.
2706
2380
  attr_accessor :registered_address
2707
-
2708
2381
  # Describes the person’s relationship to the account.
2709
2382
  attr_accessor :relationship
2710
-
2711
2383
  # The last four digits of the individual's Social Security Number (U.S. only).
2712
2384
  attr_accessor :ssn_last_4
2713
-
2714
2385
  # The individual's verification document information.
2715
2386
  attr_accessor :verification
2716
2387
 
@@ -2787,7 +2458,6 @@ module Stripe
2787
2458
  end
2788
2459
  # 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).
2789
2460
  attr_accessor :charges
2790
-
2791
2461
  # 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).
2792
2462
  attr_accessor :payouts
2793
2463
 
@@ -2810,7 +2480,6 @@ module Stripe
2810
2480
  class BankBcaOnboarding < Stripe::RequestParams
2811
2481
  # Bank BCA business account holder name
2812
2482
  attr_accessor :account_holder_name
2813
-
2814
2483
  # Bank BCA business account number
2815
2484
  attr_accessor :business_account_number
2816
2485
 
@@ -2823,13 +2492,10 @@ module Stripe
2823
2492
  class Branding < Stripe::RequestParams
2824
2493
  # (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.
2825
2494
  attr_accessor :icon
2826
-
2827
2495
  # (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.
2828
2496
  attr_accessor :logo
2829
-
2830
2497
  # A CSS hex color value representing the primary branding color for this account.
2831
2498
  attr_accessor :primary_color
2832
-
2833
2499
  # A CSS hex color value representing the secondary branding color for this account.
2834
2500
  attr_accessor :secondary_color
2835
2501
 
@@ -2844,7 +2510,6 @@ module Stripe
2844
2510
  class Capital < Stripe::RequestParams
2845
2511
  # Per-currency mapping of user-selected destination accounts used to pay out loans.
2846
2512
  attr_accessor :payout_destination
2847
-
2848
2513
  # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
2849
2514
  attr_accessor :payout_destination_selector
2850
2515
 
@@ -2858,10 +2523,8 @@ module Stripe
2858
2523
  class TosAcceptance < Stripe::RequestParams
2859
2524
  # The Unix timestamp marking when the account representative accepted the service agreement.
2860
2525
  attr_accessor :date
2861
-
2862
2526
  # The IP address from which the account representative accepted the service agreement.
2863
2527
  attr_accessor :ip
2864
-
2865
2528
  # The user agent of the browser from which the account representative accepted the service agreement.
2866
2529
  attr_accessor :user_agent
2867
2530
 
@@ -2883,7 +2546,6 @@ module Stripe
2883
2546
  class DeclineOn < Stripe::RequestParams
2884
2547
  # 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.
2885
2548
  attr_accessor :avs_failure
2886
-
2887
2549
  # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
2888
2550
  attr_accessor :cvc_failure
2889
2551
 
@@ -2894,13 +2556,10 @@ module Stripe
2894
2556
  end
2895
2557
  # Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
2896
2558
  attr_accessor :decline_on
2897
-
2898
2559
  # 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.
2899
2560
  attr_accessor :statement_descriptor_prefix
2900
-
2901
2561
  # 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.
2902
2562
  attr_accessor :statement_descriptor_prefix_kana
2903
-
2904
2563
  # 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.
2905
2564
  attr_accessor :statement_descriptor_prefix_kanji
2906
2565
 
@@ -2929,10 +2588,8 @@ module Stripe
2929
2588
  class Payments < Stripe::RequestParams
2930
2589
  # 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).
2931
2590
  attr_accessor :statement_descriptor
2932
-
2933
2591
  # 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).
2934
2592
  attr_accessor :statement_descriptor_kana
2935
-
2936
2593
  # 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).
2937
2594
  attr_accessor :statement_descriptor_kanji
2938
2595
 
@@ -2951,13 +2608,10 @@ module Stripe
2951
2608
  class Schedule < Stripe::RequestParams
2952
2609
  # 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).
2953
2610
  attr_accessor :delay_days
2954
-
2955
2611
  # How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.
2956
2612
  attr_accessor :interval
2957
-
2958
2613
  # 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`.
2959
2614
  attr_accessor :monthly_anchor
2960
-
2961
2615
  # The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)
2962
2616
  attr_accessor :weekly_anchor
2963
2617
 
@@ -2970,10 +2624,8 @@ module Stripe
2970
2624
  end
2971
2625
  # 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).
2972
2626
  attr_accessor :debit_negative_balances
2973
-
2974
2627
  # 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.
2975
2628
  attr_accessor :schedule
2976
-
2977
2629
  # 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.
2978
2630
  attr_accessor :statement_descriptor
2979
2631
 
@@ -2997,10 +2649,8 @@ module Stripe
2997
2649
  class TosAcceptance < Stripe::RequestParams
2998
2650
  # The Unix timestamp marking when the account representative accepted the service agreement.
2999
2651
  attr_accessor :date
3000
-
3001
2652
  # The IP address from which the account representative accepted the service agreement.
3002
2653
  attr_accessor :ip
3003
-
3004
2654
  # The user agent of the browser from which the account representative accepted the service agreement.
3005
2655
  attr_accessor :user_agent
3006
2656
 
@@ -3019,34 +2669,24 @@ module Stripe
3019
2669
  end
3020
2670
  # Settings specific to Bacs Direct Debit payments.
3021
2671
  attr_accessor :bacs_debit_payments
3022
-
3023
2672
  # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
3024
2673
  attr_accessor :bank_bca_onboarding
3025
-
3026
2674
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
3027
2675
  attr_accessor :branding
3028
-
3029
2676
  # Settings specific to the account's use of the Capital product.
3030
2677
  attr_accessor :capital
3031
-
3032
2678
  # Settings specific to the account's use of the Card Issuing product.
3033
2679
  attr_accessor :card_issuing
3034
-
3035
2680
  # Settings specific to card charging on the account.
3036
2681
  attr_accessor :card_payments
3037
-
3038
2682
  # Settings specific to the account's use of Invoices.
3039
2683
  attr_accessor :invoices
3040
-
3041
2684
  # Settings that apply across payment methods for charging on the account.
3042
2685
  attr_accessor :payments
3043
-
3044
2686
  # Settings specific to the account's payouts.
3045
2687
  attr_accessor :payouts
3046
-
3047
2688
  # Settings specific to the account's tax forms.
3048
2689
  attr_accessor :tax_forms
3049
-
3050
2690
  # Settings specific to the account's Treasury FinancialAccounts.
3051
2691
  attr_accessor :treasury
3052
2692
 
@@ -3080,13 +2720,10 @@ module Stripe
3080
2720
  class TosAcceptance < Stripe::RequestParams
3081
2721
  # The Unix timestamp marking when the account representative accepted their service agreement.
3082
2722
  attr_accessor :date
3083
-
3084
2723
  # The IP address from which the account representative accepted their service agreement.
3085
2724
  attr_accessor :ip
3086
-
3087
2725
  # The user's service agreement type.
3088
2726
  attr_accessor :service_agreement
3089
-
3090
2727
  # The user agent of the browser from which the account representative accepted their service agreement.
3091
2728
  attr_accessor :user_agent
3092
2729
 
@@ -3099,13 +2736,10 @@ module Stripe
3099
2736
  end
3100
2737
  # An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account.
3101
2738
  attr_accessor :account_token
3102
-
3103
2739
  # Business information about the account.
3104
2740
  attr_accessor :business_profile
3105
-
3106
2741
  # 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.
3107
2742
  attr_accessor :business_type
3108
-
3109
2743
  # Each key of the dictionary represents a capability, and each capability
3110
2744
  # maps to its settings (for example, whether it has been requested or not). Each
3111
2745
  # capability is inactive until you have provided its specific
@@ -3115,40 +2749,28 @@ module Stripe
3115
2749
  # Required when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)
3116
2750
  # is `none`, which includes Custom accounts.
3117
2751
  attr_accessor :capabilities
3118
-
3119
2752
  # 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.
3120
2753
  attr_accessor :company
3121
-
3122
2754
  # 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).
3123
2755
  attr_accessor :default_currency
3124
-
3125
2756
  # Documents that may be submitted to satisfy various informational requests.
3126
2757
  attr_accessor :documents
3127
-
3128
2758
  # 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.
3129
2759
  attr_accessor :email
3130
-
3131
2760
  # Specifies which fields in the response should be expanded.
3132
2761
  attr_accessor :expand
3133
-
3134
2762
  # 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.
3135
2763
  attr_accessor :external_account
3136
-
3137
2764
  # A hash of account group type to tokens. These are account groups this account should be added to.
3138
2765
  attr_accessor :groups
3139
-
3140
2766
  # 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.
3141
2767
  attr_accessor :individual
3142
-
3143
2768
  # 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`.
3144
2769
  attr_accessor :metadata
3145
-
3146
2770
  # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
3147
2771
  attr_accessor :risk_controls
3148
-
3149
2772
  # Options for customizing how the account functions within Stripe.
3150
2773
  attr_accessor :settings
3151
-
3152
2774
  # 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.
3153
2775
  attr_accessor :tos_acceptance
3154
2776
 
@@ -3193,13 +2815,10 @@ module Stripe
3193
2815
  class Created < Stripe::RequestParams
3194
2816
  # Minimum value to filter by (exclusive)
3195
2817
  attr_accessor :gt
3196
-
3197
2818
  # Minimum value to filter by (inclusive)
3198
2819
  attr_accessor :gte
3199
-
3200
2820
  # Maximum value to filter by (exclusive)
3201
2821
  attr_accessor :lt
3202
-
3203
2822
  # Maximum value to filter by (inclusive)
3204
2823
  attr_accessor :lte
3205
2824
 
@@ -3212,16 +2831,12 @@ module Stripe
3212
2831
  end
3213
2832
  # Only return connected accounts that were created during the given date interval.
3214
2833
  attr_accessor :created
3215
-
3216
2834
  # 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.
3217
2835
  attr_accessor :ending_before
3218
-
3219
2836
  # Specifies which fields in the response should be expanded.
3220
2837
  attr_accessor :expand
3221
-
3222
2838
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
3223
2839
  attr_accessor :limit
3224
-
3225
2840
  # 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.
3226
2841
  attr_accessor :starting_after
3227
2842
 
@@ -3238,22 +2853,16 @@ module Stripe
3238
2853
  class BankAccount < Stripe::RequestParams
3239
2854
  # Attribute for param field object
3240
2855
  attr_accessor :object
3241
-
3242
2856
  # 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.
3243
2857
  attr_accessor :account_holder_name
3244
-
3245
2858
  # 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.
3246
2859
  attr_accessor :account_holder_type
3247
-
3248
2860
  # The account number for the bank account, in string form. Must be a checking account.
3249
2861
  attr_accessor :account_number
3250
-
3251
2862
  # The country in which the bank account is located.
3252
2863
  attr_accessor :country
3253
-
3254
2864
  # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
3255
2865
  attr_accessor :currency
3256
-
3257
2866
  # 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.
3258
2867
  attr_accessor :routing_number
3259
2868
 
@@ -3280,10 +2889,8 @@ module Stripe
3280
2889
  class AnnualRevenue < Stripe::RequestParams
3281
2890
  # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).
3282
2891
  attr_accessor :amount
3283
-
3284
2892
  # 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).
3285
2893
  attr_accessor :currency
3286
-
3287
2894
  # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
3288
2895
  attr_accessor :fiscal_year_end
3289
2896
 
@@ -3297,7 +2904,6 @@ module Stripe
3297
2904
  class MonthlyEstimatedRevenue < Stripe::RequestParams
3298
2905
  # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).
3299
2906
  attr_accessor :amount
3300
-
3301
2907
  # 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).
3302
2908
  attr_accessor :currency
3303
2909
 
@@ -3310,19 +2916,14 @@ module Stripe
3310
2916
  class SupportAddress < Stripe::RequestParams
3311
2917
  # City, district, suburb, town, or village.
3312
2918
  attr_accessor :city
3313
-
3314
2919
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3315
2920
  attr_accessor :country
3316
-
3317
2921
  # Address line 1 (e.g., street, PO Box, or company name).
3318
2922
  attr_accessor :line1
3319
-
3320
2923
  # Address line 2 (e.g., apartment, suite, unit, or building).
3321
2924
  attr_accessor :line2
3322
-
3323
2925
  # ZIP or postal code.
3324
2926
  attr_accessor :postal_code
3325
-
3326
2927
  # State, county, province, or region.
3327
2928
  attr_accessor :state
3328
2929
 
@@ -3344,34 +2945,24 @@ module Stripe
3344
2945
  end
3345
2946
  # The applicant's gross annual revenue for its preceding fiscal year.
3346
2947
  attr_accessor :annual_revenue
3347
-
3348
2948
  # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
3349
2949
  attr_accessor :estimated_worker_count
3350
-
3351
2950
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
3352
2951
  attr_accessor :mcc
3353
-
3354
2952
  # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
3355
2953
  attr_accessor :monthly_estimated_revenue
3356
-
3357
2954
  # The customer-facing business name.
3358
2955
  attr_accessor :name
3359
-
3360
2956
  # Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
3361
2957
  attr_accessor :product_description
3362
-
3363
2958
  # A publicly available mailing address for sending support issues to.
3364
2959
  attr_accessor :support_address
3365
-
3366
2960
  # A publicly available email address for sending support issues to.
3367
2961
  attr_accessor :support_email
3368
-
3369
2962
  # A publicly available phone number to call with support issues.
3370
2963
  attr_accessor :support_phone
3371
-
3372
2964
  # A publicly available website for handling support issues.
3373
2965
  attr_accessor :support_url
3374
-
3375
2966
  # The business's publicly available website.
3376
2967
  attr_accessor :url
3377
2968
 
@@ -3772,6 +3363,15 @@ module Stripe
3772
3363
  end
3773
3364
  end
3774
3365
 
3366
+ class PayByBankPayments < Stripe::RequestParams
3367
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3368
+ attr_accessor :requested
3369
+
3370
+ def initialize(requested: nil)
3371
+ @requested = requested
3372
+ end
3373
+ end
3374
+
3775
3375
  class PaycoPayments < Stripe::RequestParams
3776
3376
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3777
3377
  attr_accessor :requested
@@ -3998,199 +3598,136 @@ module Stripe
3998
3598
  end
3999
3599
  # The acss_debit_payments capability.
4000
3600
  attr_accessor :acss_debit_payments
4001
-
4002
3601
  # The affirm_payments capability.
4003
3602
  attr_accessor :affirm_payments
4004
-
4005
3603
  # The afterpay_clearpay_payments capability.
4006
3604
  attr_accessor :afterpay_clearpay_payments
4007
-
4008
3605
  # The alma_payments capability.
4009
3606
  attr_accessor :alma_payments
4010
-
4011
3607
  # The amazon_pay_payments capability.
4012
3608
  attr_accessor :amazon_pay_payments
4013
-
4014
3609
  # The au_becs_debit_payments capability.
4015
3610
  attr_accessor :au_becs_debit_payments
4016
-
4017
3611
  # The automatic_indirect_tax capability.
4018
3612
  attr_accessor :automatic_indirect_tax
4019
-
4020
3613
  # The bacs_debit_payments capability.
4021
3614
  attr_accessor :bacs_debit_payments
4022
-
4023
3615
  # The bancontact_payments capability.
4024
3616
  attr_accessor :bancontact_payments
4025
-
4026
3617
  # The bank_transfer_payments capability.
4027
3618
  attr_accessor :bank_transfer_payments
4028
-
4029
3619
  # The blik_payments capability.
4030
3620
  attr_accessor :blik_payments
4031
-
4032
3621
  # The boleto_payments capability.
4033
3622
  attr_accessor :boleto_payments
4034
-
4035
3623
  # The card_issuing capability.
4036
3624
  attr_accessor :card_issuing
4037
-
4038
3625
  # The card_payments capability.
4039
3626
  attr_accessor :card_payments
4040
-
4041
3627
  # The cartes_bancaires_payments capability.
4042
3628
  attr_accessor :cartes_bancaires_payments
4043
-
4044
3629
  # The cashapp_payments capability.
4045
3630
  attr_accessor :cashapp_payments
4046
-
4047
3631
  # The eps_payments capability.
4048
3632
  attr_accessor :eps_payments
4049
-
4050
3633
  # The fpx_payments capability.
4051
3634
  attr_accessor :fpx_payments
4052
-
4053
3635
  # The gb_bank_transfer_payments capability.
4054
3636
  attr_accessor :gb_bank_transfer_payments
4055
-
4056
3637
  # The giropay_payments capability.
4057
3638
  attr_accessor :giropay_payments
4058
-
4059
3639
  # The gopay_payments capability.
4060
3640
  attr_accessor :gopay_payments
4061
-
4062
3641
  # The grabpay_payments capability.
4063
3642
  attr_accessor :grabpay_payments
4064
-
4065
3643
  # The id_bank_transfer_payments capability.
4066
3644
  attr_accessor :id_bank_transfer_payments
4067
-
4068
3645
  # The id_bank_transfer_payments_bca capability.
4069
3646
  attr_accessor :id_bank_transfer_payments_bca
4070
-
4071
3647
  # The ideal_payments capability.
4072
3648
  attr_accessor :ideal_payments
4073
-
4074
3649
  # The india_international_payments capability.
4075
3650
  attr_accessor :india_international_payments
4076
-
4077
3651
  # The jcb_payments capability.
4078
3652
  attr_accessor :jcb_payments
4079
-
4080
3653
  # The jp_bank_transfer_payments capability.
4081
3654
  attr_accessor :jp_bank_transfer_payments
4082
-
4083
3655
  # The kakao_pay_payments capability.
4084
3656
  attr_accessor :kakao_pay_payments
4085
-
4086
3657
  # The klarna_payments capability.
4087
3658
  attr_accessor :klarna_payments
4088
-
4089
3659
  # The konbini_payments capability.
4090
3660
  attr_accessor :konbini_payments
4091
-
4092
3661
  # The kr_card_payments capability.
4093
3662
  attr_accessor :kr_card_payments
4094
-
4095
3663
  # The legacy_payments capability.
4096
3664
  attr_accessor :legacy_payments
4097
-
4098
3665
  # The link_payments capability.
4099
3666
  attr_accessor :link_payments
4100
-
4101
3667
  # The mb_way_payments capability.
4102
3668
  attr_accessor :mb_way_payments
4103
-
4104
3669
  # The mobilepay_payments capability.
4105
3670
  attr_accessor :mobilepay_payments
4106
-
4107
3671
  # The multibanco_payments capability.
4108
3672
  attr_accessor :multibanco_payments
4109
-
4110
3673
  # The mx_bank_transfer_payments capability.
4111
3674
  attr_accessor :mx_bank_transfer_payments
4112
-
4113
3675
  # The naver_pay_payments capability.
4114
3676
  attr_accessor :naver_pay_payments
4115
-
4116
3677
  # The oxxo_payments capability.
4117
3678
  attr_accessor :oxxo_payments
4118
-
4119
3679
  # The p24_payments capability.
4120
3680
  attr_accessor :p24_payments
4121
-
3681
+ # The pay_by_bank_payments capability.
3682
+ attr_accessor :pay_by_bank_payments
4122
3683
  # The payco_payments capability.
4123
3684
  attr_accessor :payco_payments
4124
-
4125
3685
  # The paynow_payments capability.
4126
3686
  attr_accessor :paynow_payments
4127
-
4128
3687
  # The paypal_payments capability.
4129
3688
  attr_accessor :paypal_payments
4130
-
4131
3689
  # The payto_payments capability.
4132
3690
  attr_accessor :payto_payments
4133
-
4134
3691
  # The promptpay_payments capability.
4135
3692
  attr_accessor :promptpay_payments
4136
-
4137
3693
  # The qris_payments capability.
4138
3694
  attr_accessor :qris_payments
4139
-
4140
3695
  # The rechnung_payments capability.
4141
3696
  attr_accessor :rechnung_payments
4142
-
4143
3697
  # The revolut_pay_payments capability.
4144
3698
  attr_accessor :revolut_pay_payments
4145
-
4146
3699
  # The samsung_pay_payments capability.
4147
3700
  attr_accessor :samsung_pay_payments
4148
-
4149
3701
  # The sepa_bank_transfer_payments capability.
4150
3702
  attr_accessor :sepa_bank_transfer_payments
4151
-
4152
3703
  # The sepa_debit_payments capability.
4153
3704
  attr_accessor :sepa_debit_payments
4154
-
4155
3705
  # The shopeepay_payments capability.
4156
3706
  attr_accessor :shopeepay_payments
4157
-
4158
3707
  # The sofort_payments capability.
4159
3708
  attr_accessor :sofort_payments
4160
-
4161
3709
  # The swish_payments capability.
4162
3710
  attr_accessor :swish_payments
4163
-
4164
3711
  # The tax_reporting_us_1099_k capability.
4165
3712
  attr_accessor :tax_reporting_us_1099_k
4166
-
4167
3713
  # The tax_reporting_us_1099_misc capability.
4168
3714
  attr_accessor :tax_reporting_us_1099_misc
4169
-
4170
3715
  # The transfers capability.
4171
3716
  attr_accessor :transfers
4172
-
4173
3717
  # The treasury capability.
4174
3718
  attr_accessor :treasury
4175
-
4176
3719
  # The treasury_evolve capability.
4177
3720
  attr_accessor :treasury_evolve
4178
-
4179
3721
  # The treasury_fifth_third capability.
4180
3722
  attr_accessor :treasury_fifth_third
4181
-
4182
3723
  # The treasury_goldman_sachs capability.
4183
3724
  attr_accessor :treasury_goldman_sachs
4184
-
4185
3725
  # The twint_payments capability.
4186
3726
  attr_accessor :twint_payments
4187
-
4188
3727
  # The us_bank_account_ach_payments capability.
4189
3728
  attr_accessor :us_bank_account_ach_payments
4190
-
4191
3729
  # The us_bank_transfer_payments capability.
4192
3730
  attr_accessor :us_bank_transfer_payments
4193
-
4194
3731
  # The zip_payments capability.
4195
3732
  attr_accessor :zip_payments
4196
3733
 
@@ -4236,6 +3773,7 @@ module Stripe
4236
3773
  naver_pay_payments: nil,
4237
3774
  oxxo_payments: nil,
4238
3775
  p24_payments: nil,
3776
+ pay_by_bank_payments: nil,
4239
3777
  payco_payments: nil,
4240
3778
  paynow_payments: nil,
4241
3779
  paypal_payments: nil,
@@ -4303,6 +3841,7 @@ module Stripe
4303
3841
  @naver_pay_payments = naver_pay_payments
4304
3842
  @oxxo_payments = oxxo_payments
4305
3843
  @p24_payments = p24_payments
3844
+ @pay_by_bank_payments = pay_by_bank_payments
4306
3845
  @payco_payments = payco_payments
4307
3846
  @paynow_payments = paynow_payments
4308
3847
  @paypal_payments = paypal_payments
@@ -4334,46 +3873,32 @@ module Stripe
4334
3873
  class Card < Stripe::RequestParams
4335
3874
  # Attribute for param field object
4336
3875
  attr_accessor :object
4337
-
4338
3876
  # Attribute for param field address_city
4339
3877
  attr_accessor :address_city
4340
-
4341
3878
  # Attribute for param field address_country
4342
3879
  attr_accessor :address_country
4343
-
4344
3880
  # Attribute for param field address_line1
4345
3881
  attr_accessor :address_line1
4346
-
4347
3882
  # Attribute for param field address_line2
4348
3883
  attr_accessor :address_line2
4349
-
4350
3884
  # Attribute for param field address_state
4351
3885
  attr_accessor :address_state
4352
-
4353
3886
  # Attribute for param field address_zip
4354
3887
  attr_accessor :address_zip
4355
-
4356
3888
  # Attribute for param field currency
4357
3889
  attr_accessor :currency
4358
-
4359
3890
  # Attribute for param field cvc
4360
3891
  attr_accessor :cvc
4361
-
4362
3892
  # Attribute for param field exp_month
4363
3893
  attr_accessor :exp_month
4364
-
4365
3894
  # Attribute for param field exp_year
4366
3895
  attr_accessor :exp_year
4367
-
4368
3896
  # Attribute for param field name
4369
3897
  attr_accessor :name
4370
-
4371
3898
  # Attribute for param field number
4372
3899
  attr_accessor :number
4373
-
4374
3900
  # 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.
4375
3901
  attr_accessor :metadata
4376
-
4377
3902
  # Attribute for param field default_for_currency
4378
3903
  attr_accessor :default_for_currency
4379
3904
 
@@ -4415,10 +3940,8 @@ module Stripe
4415
3940
  class CardToken < Stripe::RequestParams
4416
3941
  # Attribute for param field object
4417
3942
  attr_accessor :object
4418
-
4419
3943
  # Attribute for param field currency
4420
3944
  attr_accessor :currency
4421
-
4422
3945
  # Attribute for param field token
4423
3946
  attr_accessor :token
4424
3947
 
@@ -4433,19 +3956,14 @@ module Stripe
4433
3956
  class Address < Stripe::RequestParams
4434
3957
  # City, district, suburb, town, or village.
4435
3958
  attr_accessor :city
4436
-
4437
3959
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4438
3960
  attr_accessor :country
4439
-
4440
3961
  # Address line 1 (e.g., street, PO Box, or company name).
4441
3962
  attr_accessor :line1
4442
-
4443
3963
  # Address line 2 (e.g., apartment, suite, unit, or building).
4444
3964
  attr_accessor :line2
4445
-
4446
3965
  # ZIP or postal code.
4447
3966
  attr_accessor :postal_code
4448
-
4449
3967
  # State, county, province, or region.
4450
3968
  attr_accessor :state
4451
3969
 
@@ -4469,22 +3987,16 @@ module Stripe
4469
3987
  class AddressKana < Stripe::RequestParams
4470
3988
  # City or ward.
4471
3989
  attr_accessor :city
4472
-
4473
3990
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4474
3991
  attr_accessor :country
4475
-
4476
3992
  # Block or building number.
4477
3993
  attr_accessor :line1
4478
-
4479
3994
  # Building details.
4480
3995
  attr_accessor :line2
4481
-
4482
3996
  # Postal code.
4483
3997
  attr_accessor :postal_code
4484
-
4485
3998
  # Prefecture.
4486
3999
  attr_accessor :state
4487
-
4488
4000
  # Town or cho-me.
4489
4001
  attr_accessor :town
4490
4002
 
@@ -4510,22 +4022,16 @@ module Stripe
4510
4022
  class AddressKanji < Stripe::RequestParams
4511
4023
  # City or ward.
4512
4024
  attr_accessor :city
4513
-
4514
4025
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4515
4026
  attr_accessor :country
4516
-
4517
4027
  # Block or building number.
4518
4028
  attr_accessor :line1
4519
-
4520
4029
  # Building details.
4521
4030
  attr_accessor :line2
4522
-
4523
4031
  # Postal code.
4524
4032
  attr_accessor :postal_code
4525
-
4526
4033
  # Prefecture.
4527
4034
  attr_accessor :state
4528
-
4529
4035
  # Town or cho-me.
4530
4036
  attr_accessor :town
4531
4037
 
@@ -4548,13 +4054,26 @@ module Stripe
4548
4054
  end
4549
4055
  end
4550
4056
 
4057
+ class DirectorshipDeclaration < Stripe::RequestParams
4058
+ # The Unix timestamp marking when the directorship declaration attestation was made.
4059
+ attr_accessor :date
4060
+ # The IP address from which the directorship declaration attestation was made.
4061
+ attr_accessor :ip
4062
+ # The user agent of the browser from which the directorship declaration attestation was made.
4063
+ attr_accessor :user_agent
4064
+
4065
+ def initialize(date: nil, ip: nil, user_agent: nil)
4066
+ @date = date
4067
+ @ip = ip
4068
+ @user_agent = user_agent
4069
+ end
4070
+ end
4071
+
4551
4072
  class OwnershipDeclaration < Stripe::RequestParams
4552
4073
  # The Unix timestamp marking when the beneficial owner attestation was made.
4553
4074
  attr_accessor :date
4554
-
4555
4075
  # The IP address from which the beneficial owner attestation was made.
4556
4076
  attr_accessor :ip
4557
-
4558
4077
  # The user agent of the browser from which the beneficial owner attestation was made.
4559
4078
  attr_accessor :user_agent
4560
4079
 
@@ -4569,7 +4088,6 @@ module Stripe
4569
4088
  class Document < Stripe::RequestParams
4570
4089
  # 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.
4571
4090
  attr_accessor :back
4572
-
4573
4091
  # 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.
4574
4092
  attr_accessor :front
4575
4093
 
@@ -4587,58 +4105,44 @@ module Stripe
4587
4105
  end
4588
4106
  # The company's primary address.
4589
4107
  attr_accessor :address
4590
-
4591
4108
  # The Kana variation of the company's primary address (Japan only).
4592
4109
  attr_accessor :address_kana
4593
-
4594
4110
  # The Kanji variation of the company's primary address (Japan only).
4595
4111
  attr_accessor :address_kanji
4596
-
4597
4112
  # 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.
4598
4113
  attr_accessor :directors_provided
4599
-
4114
+ # This hash is used to attest that the directors information provided to Stripe is both current and correct.
4115
+ attr_accessor :directorship_declaration
4600
4116
  # 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.
4601
4117
  attr_accessor :executives_provided
4602
-
4603
4118
  # The export license ID number of the company, also referred as Import Export Code (India only).
4604
4119
  attr_accessor :export_license_id
4605
-
4606
4120
  # The purpose code to use for export transactions (India only).
4607
4121
  attr_accessor :export_purpose_code
4608
-
4609
4122
  # The company's legal name.
4610
4123
  attr_accessor :name
4611
-
4612
4124
  # The Kana variation of the company's legal name (Japan only).
4613
4125
  attr_accessor :name_kana
4614
-
4615
4126
  # The Kanji variation of the company's legal name (Japan only).
4616
4127
  attr_accessor :name_kanji
4617
-
4618
4128
  # 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.
4619
4129
  attr_accessor :owners_provided
4620
-
4621
4130
  # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
4622
4131
  attr_accessor :ownership_declaration
4623
-
4132
+ # Attribute for param field ownership_exemption_reason
4133
+ attr_accessor :ownership_exemption_reason
4624
4134
  # The company's phone number (used for verification).
4625
4135
  attr_accessor :phone
4626
-
4627
4136
  # 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).
4628
4137
  attr_accessor :registration_number
4629
-
4630
4138
  # 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.
4631
4139
  attr_accessor :structure
4632
-
4633
4140
  # 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.)
4634
4141
  attr_accessor :tax_id
4635
-
4636
4142
  # The jurisdiction in which the `tax_id` is registered (Germany-based companies only).
4637
4143
  attr_accessor :tax_id_registrar
4638
-
4639
4144
  # The VAT number of the company.
4640
4145
  attr_accessor :vat_id
4641
-
4642
4146
  # Information on the verification state of the company.
4643
4147
  attr_accessor :verification
4644
4148
 
@@ -4647,6 +4151,7 @@ module Stripe
4647
4151
  address_kana: nil,
4648
4152
  address_kanji: nil,
4649
4153
  directors_provided: nil,
4154
+ directorship_declaration: nil,
4650
4155
  executives_provided: nil,
4651
4156
  export_license_id: nil,
4652
4157
  export_purpose_code: nil,
@@ -4655,6 +4160,7 @@ module Stripe
4655
4160
  name_kanji: nil,
4656
4161
  owners_provided: nil,
4657
4162
  ownership_declaration: nil,
4163
+ ownership_exemption_reason: nil,
4658
4164
  phone: nil,
4659
4165
  registration_number: nil,
4660
4166
  structure: nil,
@@ -4667,6 +4173,7 @@ module Stripe
4667
4173
  @address_kana = address_kana
4668
4174
  @address_kanji = address_kanji
4669
4175
  @directors_provided = directors_provided
4176
+ @directorship_declaration = directorship_declaration
4670
4177
  @executives_provided = executives_provided
4671
4178
  @export_license_id = export_license_id
4672
4179
  @export_purpose_code = export_purpose_code
@@ -4675,6 +4182,7 @@ module Stripe
4675
4182
  @name_kanji = name_kanji
4676
4183
  @owners_provided = owners_provided
4677
4184
  @ownership_declaration = ownership_declaration
4185
+ @ownership_exemption_reason = ownership_exemption_reason
4678
4186
  @phone = phone
4679
4187
  @registration_number = registration_number
4680
4188
  @structure = structure
@@ -4689,10 +4197,8 @@ module Stripe
4689
4197
  class Application < Stripe::RequestParams
4690
4198
  # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
4691
4199
  attr_accessor :loss_liable
4692
-
4693
4200
  # Whether the controller owns onboarding for this account.
4694
4201
  attr_accessor :onboarding_owner
4695
-
4696
4202
  # Whether the controller has pricing controls for this account.
4697
4203
  attr_accessor :pricing_controls
4698
4204
 
@@ -4740,19 +4246,14 @@ module Stripe
4740
4246
  end
4741
4247
  # A hash of configuration describing the Connect application that controls the account.
4742
4248
  attr_accessor :application
4743
-
4744
4249
  # Properties of the account's dashboard.
4745
4250
  attr_accessor :dashboard
4746
-
4747
4251
  # A hash of configuration for who pays Stripe fees for product usage on this account.
4748
4252
  attr_accessor :fees
4749
-
4750
4253
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
4751
4254
  attr_accessor :losses
4752
-
4753
4255
  # A value indicating responsibility for collecting updated information when requirements on the account are due or change. Defaults to `stripe`.
4754
4256
  attr_accessor :requirement_collection
4755
-
4756
4257
  # A hash of configuration for Stripe-hosted dashboards.
4757
4258
  attr_accessor :stripe_dashboard
4758
4259
 
@@ -4836,26 +4337,31 @@ module Stripe
4836
4337
  @files = files
4837
4338
  end
4838
4339
  end
4340
+
4341
+ class ProofOfUltimateBeneficialOwnership < Stripe::RequestParams
4342
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
4343
+ attr_accessor :files
4344
+
4345
+ def initialize(files: nil)
4346
+ @files = files
4347
+ end
4348
+ end
4839
4349
  # 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.
4840
4350
  attr_accessor :bank_account_ownership_verification
4841
-
4842
4351
  # One or more documents that demonstrate proof of a company's license to operate.
4843
4352
  attr_accessor :company_license
4844
-
4845
4353
  # One or more documents showing the company's Memorandum of Association.
4846
4354
  attr_accessor :company_memorandum_of_association
4847
-
4848
4355
  # (Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.
4849
4356
  attr_accessor :company_ministerial_decree
4850
-
4851
4357
  # One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
4852
4358
  attr_accessor :company_registration_verification
4853
-
4854
4359
  # One or more documents that demonstrate proof of a company's tax ID.
4855
4360
  attr_accessor :company_tax_id_verification
4856
-
4857
4361
  # One or more documents showing the company’s proof of registration with the national business registry.
4858
4362
  attr_accessor :proof_of_registration
4363
+ # One or more documents that demonstrate proof of ultimate beneficial ownership.
4364
+ attr_accessor :proof_of_ultimate_beneficial_ownership
4859
4365
 
4860
4366
  def initialize(
4861
4367
  bank_account_ownership_verification: nil,
@@ -4864,7 +4370,8 @@ module Stripe
4864
4370
  company_ministerial_decree: nil,
4865
4371
  company_registration_verification: nil,
4866
4372
  company_tax_id_verification: nil,
4867
- proof_of_registration: nil
4373
+ proof_of_registration: nil,
4374
+ proof_of_ultimate_beneficial_ownership: nil
4868
4375
  )
4869
4376
  @bank_account_ownership_verification = bank_account_ownership_verification
4870
4377
  @company_license = company_license
@@ -4873,6 +4380,7 @@ module Stripe
4873
4380
  @company_registration_verification = company_registration_verification
4874
4381
  @company_tax_id_verification = company_tax_id_verification
4875
4382
  @proof_of_registration = proof_of_registration
4383
+ @proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
4876
4384
  end
4877
4385
  end
4878
4386
 
@@ -4889,19 +4397,14 @@ module Stripe
4889
4397
  class Address < Stripe::RequestParams
4890
4398
  # City, district, suburb, town, or village.
4891
4399
  attr_accessor :city
4892
-
4893
4400
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4894
4401
  attr_accessor :country
4895
-
4896
4402
  # Address line 1 (e.g., street, PO Box, or company name).
4897
4403
  attr_accessor :line1
4898
-
4899
4404
  # Address line 2 (e.g., apartment, suite, unit, or building).
4900
4405
  attr_accessor :line2
4901
-
4902
4406
  # ZIP or postal code.
4903
4407
  attr_accessor :postal_code
4904
-
4905
4408
  # State, county, province, or region.
4906
4409
  attr_accessor :state
4907
4410
 
@@ -4925,22 +4428,16 @@ module Stripe
4925
4428
  class AddressKana < Stripe::RequestParams
4926
4429
  # City or ward.
4927
4430
  attr_accessor :city
4928
-
4929
4431
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4930
4432
  attr_accessor :country
4931
-
4932
4433
  # Block or building number.
4933
4434
  attr_accessor :line1
4934
-
4935
4435
  # Building details.
4936
4436
  attr_accessor :line2
4937
-
4938
4437
  # Postal code.
4939
4438
  attr_accessor :postal_code
4940
-
4941
4439
  # Prefecture.
4942
4440
  attr_accessor :state
4943
-
4944
4441
  # Town or cho-me.
4945
4442
  attr_accessor :town
4946
4443
 
@@ -4966,22 +4463,16 @@ module Stripe
4966
4463
  class AddressKanji < Stripe::RequestParams
4967
4464
  # City or ward.
4968
4465
  attr_accessor :city
4969
-
4970
4466
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4971
4467
  attr_accessor :country
4972
-
4973
4468
  # Block or building number.
4974
4469
  attr_accessor :line1
4975
-
4976
4470
  # Building details.
4977
4471
  attr_accessor :line2
4978
-
4979
4472
  # Postal code.
4980
4473
  attr_accessor :postal_code
4981
-
4982
4474
  # Prefecture.
4983
4475
  attr_accessor :state
4984
-
4985
4476
  # Town or cho-me.
4986
4477
  attr_accessor :town
4987
4478
 
@@ -5007,10 +4498,8 @@ module Stripe
5007
4498
  class Dob < Stripe::RequestParams
5008
4499
  # The day of birth, between 1 and 31.
5009
4500
  attr_accessor :day
5010
-
5011
4501
  # The month of birth, between 1 and 12.
5012
4502
  attr_accessor :month
5013
-
5014
4503
  # The four-digit year of birth.
5015
4504
  attr_accessor :year
5016
4505
 
@@ -5024,19 +4513,14 @@ module Stripe
5024
4513
  class RegisteredAddress < Stripe::RequestParams
5025
4514
  # City, district, suburb, town, or village.
5026
4515
  attr_accessor :city
5027
-
5028
4516
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
5029
4517
  attr_accessor :country
5030
-
5031
4518
  # Address line 1 (e.g., street, PO Box, or company name).
5032
4519
  attr_accessor :line1
5033
-
5034
4520
  # Address line 2 (e.g., apartment, suite, unit, or building).
5035
4521
  attr_accessor :line2
5036
-
5037
4522
  # ZIP or postal code.
5038
4523
  attr_accessor :postal_code
5039
-
5040
4524
  # State, county, province, or region.
5041
4525
  attr_accessor :state
5042
4526
 
@@ -5060,16 +4544,12 @@ module Stripe
5060
4544
  class Relationship < Stripe::RequestParams
5061
4545
  # 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.
5062
4546
  attr_accessor :director
5063
-
5064
4547
  # Whether the person has significant responsibility to control, manage, or direct the organization.
5065
4548
  attr_accessor :executive
5066
-
5067
4549
  # Whether the person is an owner of the account’s legal entity.
5068
4550
  attr_accessor :owner
5069
-
5070
4551
  # The percent owned by the person of the account's legal entity.
5071
4552
  attr_accessor :percent_ownership
5072
-
5073
4553
  # The person's title (e.g., CEO, Support Engineer).
5074
4554
  attr_accessor :title
5075
4555
 
@@ -5092,7 +4572,6 @@ module Stripe
5092
4572
  class AdditionalDocument < Stripe::RequestParams
5093
4573
  # 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.
5094
4574
  attr_accessor :back
5095
-
5096
4575
  # 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.
5097
4576
  attr_accessor :front
5098
4577
 
@@ -5105,7 +4584,6 @@ module Stripe
5105
4584
  class Document < Stripe::RequestParams
5106
4585
  # 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.
5107
4586
  attr_accessor :back
5108
-
5109
4587
  # 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.
5110
4588
  attr_accessor :front
5111
4589
 
@@ -5116,7 +4594,6 @@ module Stripe
5116
4594
  end
5117
4595
  # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
5118
4596
  attr_accessor :additional_document
5119
-
5120
4597
  # An identifying document, either a passport or local ID card.
5121
4598
  attr_accessor :document
5122
4599
 
@@ -5127,70 +4604,48 @@ module Stripe
5127
4604
  end
5128
4605
  # The individual's primary address.
5129
4606
  attr_accessor :address
5130
-
5131
4607
  # The Kana variation of the individual's primary address (Japan only).
5132
4608
  attr_accessor :address_kana
5133
-
5134
4609
  # The Kanji variation of the individual's primary address (Japan only).
5135
4610
  attr_accessor :address_kanji
5136
-
5137
4611
  # The individual's date of birth.
5138
4612
  attr_accessor :dob
5139
-
5140
4613
  # The individual's email address.
5141
4614
  attr_accessor :email
5142
-
5143
4615
  # The individual's first name.
5144
4616
  attr_accessor :first_name
5145
-
5146
4617
  # The Kana variation of the individual's first name (Japan only).
5147
4618
  attr_accessor :first_name_kana
5148
-
5149
4619
  # The Kanji variation of the individual's first name (Japan only).
5150
4620
  attr_accessor :first_name_kanji
5151
-
5152
4621
  # A list of alternate names or aliases that the individual is known by.
5153
4622
  attr_accessor :full_name_aliases
5154
-
5155
4623
  # The individual's gender
5156
4624
  attr_accessor :gender
5157
-
5158
4625
  # 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).
5159
4626
  attr_accessor :id_number
5160
-
5161
4627
  # 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).
5162
4628
  attr_accessor :id_number_secondary
5163
-
5164
4629
  # The individual's last name.
5165
4630
  attr_accessor :last_name
5166
-
5167
4631
  # The Kana variation of the individual's last name (Japan only).
5168
4632
  attr_accessor :last_name_kana
5169
-
5170
4633
  # The Kanji variation of the individual's last name (Japan only).
5171
4634
  attr_accessor :last_name_kanji
5172
-
5173
4635
  # The individual's maiden name.
5174
4636
  attr_accessor :maiden_name
5175
-
5176
4637
  # 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`.
5177
4638
  attr_accessor :metadata
5178
-
5179
4639
  # The individual's phone number.
5180
4640
  attr_accessor :phone
5181
-
5182
4641
  # 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.
5183
4642
  attr_accessor :political_exposure
5184
-
5185
4643
  # The individual's registered address.
5186
4644
  attr_accessor :registered_address
5187
-
5188
4645
  # Describes the person’s relationship to the account.
5189
4646
  attr_accessor :relationship
5190
-
5191
4647
  # The last four digits of the individual's Social Security Number (U.S. only).
5192
4648
  attr_accessor :ssn_last_4
5193
-
5194
4649
  # The individual's verification document information.
5195
4650
  attr_accessor :verification
5196
4651
 
@@ -5267,7 +4722,6 @@ module Stripe
5267
4722
  end
5268
4723
  # 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).
5269
4724
  attr_accessor :charges
5270
-
5271
4725
  # 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).
5272
4726
  attr_accessor :payouts
5273
4727
 
@@ -5290,7 +4744,6 @@ module Stripe
5290
4744
  class BankBcaOnboarding < Stripe::RequestParams
5291
4745
  # Bank BCA business account holder name
5292
4746
  attr_accessor :account_holder_name
5293
-
5294
4747
  # Bank BCA business account number
5295
4748
  attr_accessor :business_account_number
5296
4749
 
@@ -5303,13 +4756,10 @@ module Stripe
5303
4756
  class Branding < Stripe::RequestParams
5304
4757
  # (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.
5305
4758
  attr_accessor :icon
5306
-
5307
4759
  # (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.
5308
4760
  attr_accessor :logo
5309
-
5310
4761
  # A CSS hex color value representing the primary branding color for this account.
5311
4762
  attr_accessor :primary_color
5312
-
5313
4763
  # A CSS hex color value representing the secondary branding color for this account.
5314
4764
  attr_accessor :secondary_color
5315
4765
 
@@ -5324,7 +4774,6 @@ module Stripe
5324
4774
  class Capital < Stripe::RequestParams
5325
4775
  # Per-currency mapping of user-selected destination accounts used to pay out loans.
5326
4776
  attr_accessor :payout_destination
5327
-
5328
4777
  # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
5329
4778
  attr_accessor :payout_destination_selector
5330
4779
 
@@ -5338,10 +4787,8 @@ module Stripe
5338
4787
  class TosAcceptance < Stripe::RequestParams
5339
4788
  # The Unix timestamp marking when the account representative accepted the service agreement.
5340
4789
  attr_accessor :date
5341
-
5342
4790
  # The IP address from which the account representative accepted the service agreement.
5343
4791
  attr_accessor :ip
5344
-
5345
4792
  # The user agent of the browser from which the account representative accepted the service agreement.
5346
4793
  attr_accessor :user_agent
5347
4794
 
@@ -5363,7 +4810,6 @@ module Stripe
5363
4810
  class DeclineOn < Stripe::RequestParams
5364
4811
  # 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.
5365
4812
  attr_accessor :avs_failure
5366
-
5367
4813
  # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
5368
4814
  attr_accessor :cvc_failure
5369
4815
 
@@ -5374,13 +4820,10 @@ module Stripe
5374
4820
  end
5375
4821
  # Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
5376
4822
  attr_accessor :decline_on
5377
-
5378
4823
  # 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.
5379
4824
  attr_accessor :statement_descriptor_prefix
5380
-
5381
4825
  # 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.
5382
4826
  attr_accessor :statement_descriptor_prefix_kana
5383
-
5384
4827
  # 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.
5385
4828
  attr_accessor :statement_descriptor_prefix_kanji
5386
4829
 
@@ -5400,10 +4843,8 @@ module Stripe
5400
4843
  class Payments < Stripe::RequestParams
5401
4844
  # 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).
5402
4845
  attr_accessor :statement_descriptor
5403
-
5404
4846
  # 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).
5405
4847
  attr_accessor :statement_descriptor_kana
5406
-
5407
4848
  # 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).
5408
4849
  attr_accessor :statement_descriptor_kanji
5409
4850
 
@@ -5422,13 +4863,10 @@ module Stripe
5422
4863
  class Schedule < Stripe::RequestParams
5423
4864
  # 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).
5424
4865
  attr_accessor :delay_days
5425
-
5426
4866
  # How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.
5427
4867
  attr_accessor :interval
5428
-
5429
4868
  # 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`.
5430
4869
  attr_accessor :monthly_anchor
5431
-
5432
4870
  # The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)
5433
4871
  attr_accessor :weekly_anchor
5434
4872
 
@@ -5441,10 +4879,8 @@ module Stripe
5441
4879
  end
5442
4880
  # 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).
5443
4881
  attr_accessor :debit_negative_balances
5444
-
5445
4882
  # 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.
5446
4883
  attr_accessor :schedule
5447
-
5448
4884
  # 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.
5449
4885
  attr_accessor :statement_descriptor
5450
4886
 
@@ -5468,10 +4904,8 @@ module Stripe
5468
4904
  class TosAcceptance < Stripe::RequestParams
5469
4905
  # The Unix timestamp marking when the account representative accepted the service agreement.
5470
4906
  attr_accessor :date
5471
-
5472
4907
  # The IP address from which the account representative accepted the service agreement.
5473
4908
  attr_accessor :ip
5474
-
5475
4909
  # The user agent of the browser from which the account representative accepted the service agreement.
5476
4910
  attr_accessor :user_agent
5477
4911
 
@@ -5490,31 +4924,22 @@ module Stripe
5490
4924
  end
5491
4925
  # Settings specific to Bacs Direct Debit.
5492
4926
  attr_accessor :bacs_debit_payments
5493
-
5494
4927
  # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
5495
4928
  attr_accessor :bank_bca_onboarding
5496
-
5497
4929
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
5498
4930
  attr_accessor :branding
5499
-
5500
4931
  # Settings specific to the account's use of the Capital product.
5501
4932
  attr_accessor :capital
5502
-
5503
4933
  # Settings specific to the account's use of the Card Issuing product.
5504
4934
  attr_accessor :card_issuing
5505
-
5506
4935
  # Settings specific to card charging on the account.
5507
4936
  attr_accessor :card_payments
5508
-
5509
4937
  # Settings that apply across payment methods for charging on the account.
5510
4938
  attr_accessor :payments
5511
-
5512
4939
  # Settings specific to the account's payouts.
5513
4940
  attr_accessor :payouts
5514
-
5515
4941
  # Settings specific to the account's tax forms.
5516
4942
  attr_accessor :tax_forms
5517
-
5518
4943
  # Settings specific to the account's Treasury FinancialAccounts.
5519
4944
  attr_accessor :treasury
5520
4945
 
@@ -5546,13 +4971,10 @@ module Stripe
5546
4971
  class TosAcceptance < Stripe::RequestParams
5547
4972
  # The Unix timestamp marking when the account representative accepted their service agreement.
5548
4973
  attr_accessor :date
5549
-
5550
4974
  # The IP address from which the account representative accepted their service agreement.
5551
4975
  attr_accessor :ip
5552
-
5553
4976
  # The user's service agreement type.
5554
4977
  attr_accessor :service_agreement
5555
-
5556
4978
  # The user agent of the browser from which the account representative accepted their service agreement.
5557
4979
  attr_accessor :user_agent
5558
4980
 
@@ -5565,13 +4987,10 @@ module Stripe
5565
4987
  end
5566
4988
  # An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account.
5567
4989
  attr_accessor :account_token
5568
-
5569
4990
  # Business information about the account.
5570
4991
  attr_accessor :business_profile
5571
-
5572
4992
  # 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.
5573
4993
  attr_accessor :business_type
5574
-
5575
4994
  # Each key of the dictionary represents a capability, and each capability
5576
4995
  # maps to its settings (for example, whether it has been requested or not). Each
5577
4996
  # capability is inactive until you have provided its specific
@@ -5581,49 +5000,34 @@ module Stripe
5581
5000
  # Required when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)
5582
5001
  # is `none`, which includes Custom accounts.
5583
5002
  attr_accessor :capabilities
5584
-
5585
5003
  # 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.
5586
5004
  attr_accessor :company
5587
-
5588
5005
  # A hash of configuration describing the account controller's attributes.
5589
5006
  attr_accessor :controller
5590
-
5591
5007
  # 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.
5592
5008
  attr_accessor :country
5593
-
5594
5009
  # 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).
5595
5010
  attr_accessor :default_currency
5596
-
5597
5011
  # Documents that may be submitted to satisfy various informational requests.
5598
5012
  attr_accessor :documents
5599
-
5600
5013
  # 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.
5601
5014
  attr_accessor :email
5602
-
5603
5015
  # Specifies which fields in the response should be expanded.
5604
5016
  attr_accessor :expand
5605
-
5606
5017
  # 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.
5607
5018
  attr_accessor :external_account
5608
-
5609
5019
  # A hash of account group type to tokens. These are account groups this account should be added to.
5610
5020
  attr_accessor :groups
5611
-
5612
5021
  # 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.
5613
5022
  attr_accessor :individual
5614
-
5615
5023
  # 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`.
5616
5024
  attr_accessor :metadata
5617
-
5618
5025
  # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
5619
5026
  attr_accessor :risk_controls
5620
-
5621
5027
  # Options for customizing how the account functions within Stripe.
5622
5028
  attr_accessor :settings
5623
-
5624
5029
  # 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.
5625
5030
  attr_accessor :tos_acceptance
5626
-
5627
5031
  # The type of Stripe account to create. May be one of `custom`, `express` or `standard`.
5628
5032
  attr_accessor :type
5629
5033
 
@@ -5674,19 +5078,14 @@ module Stripe
5674
5078
  class Relationship < Stripe::RequestParams
5675
5079
  # A filter on the list of people returned based on whether these people are authorizers of the account's representative.
5676
5080
  attr_accessor :authorizer
5677
-
5678
5081
  # A filter on the list of people returned based on whether these people are directors of the account's company.
5679
5082
  attr_accessor :director
5680
-
5681
5083
  # A filter on the list of people returned based on whether these people are executives of the account's company.
5682
5084
  attr_accessor :executive
5683
-
5684
5085
  # A filter on the list of people returned based on whether these people are legal guardians of the account's representative.
5685
5086
  attr_accessor :legal_guardian
5686
-
5687
5087
  # A filter on the list of people returned based on whether these people are owners of the account's company.
5688
5088
  attr_accessor :owner
5689
-
5690
5089
  # A filter on the list of people returned based on whether these people are the representative of the account's company.
5691
5090
  attr_accessor :representative
5692
5091
 
@@ -5708,16 +5107,12 @@ module Stripe
5708
5107
  end
5709
5108
  # 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.
5710
5109
  attr_accessor :ending_before
5711
-
5712
5110
  # Specifies which fields in the response should be expanded.
5713
5111
  attr_accessor :expand
5714
-
5715
5112
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
5716
5113
  attr_accessor :limit
5717
-
5718
5114
  # Filters on the list of people returned based on the person's relationship to the account's company.
5719
5115
  attr_accessor :relationship
5720
-
5721
5116
  # 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.
5722
5117
  attr_accessor :starting_after
5723
5118
 
@@ -5739,7 +5134,6 @@ module Stripe
5739
5134
  class RejectParams < Stripe::RequestParams
5740
5135
  # Specifies which fields in the response should be expanded.
5741
5136
  attr_accessor :expand
5742
-
5743
5137
  # The reason for rejecting the account. Can be `fraud`, `terms_of_service`, or `other`.
5744
5138
  attr_accessor :reason
5745
5139
 
@@ -5750,80 +5144,56 @@ module Stripe
5750
5144
  end
5751
5145
  # Business information about the account.
5752
5146
  attr_reader :business_profile
5753
-
5754
5147
  # The business type. After you create an [Account Link](/api/account_links) or [Account Session](/api/account_sessions), this property is only returned for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
5755
5148
  attr_reader :business_type
5756
-
5757
5149
  # Attribute for field capabilities
5758
5150
  attr_reader :capabilities
5759
-
5760
5151
  # Whether the account can process charges.
5761
5152
  attr_reader :charges_enabled
5762
-
5763
5153
  # Attribute for field company
5764
5154
  attr_reader :company
5765
-
5766
5155
  # Attribute for field controller
5767
5156
  attr_reader :controller
5768
-
5769
5157
  # The account's country.
5770
5158
  attr_reader :country
5771
-
5772
5159
  # Time at which the account was connected. Measured in seconds since the Unix epoch.
5773
5160
  attr_reader :created
5774
-
5775
5161
  # 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://stripe.com/docs/payouts).
5776
5162
  attr_reader :default_currency
5777
-
5778
5163
  # Whether account details have been submitted. Accounts with Stripe Dashboard access, which includes Standard accounts, cannot receive payouts before this is true. Accounts where this is false should be directed to [an onboarding flow](/connect/onboarding) to finish submitting account details.
5779
5164
  attr_reader :details_submitted
5780
-
5781
5165
  # An email address associated with the account. It's not used for authentication and Stripe doesn't market to this field without explicit approval from the platform.
5782
5166
  attr_reader :email
5783
-
5784
5167
  # External accounts (bank accounts and debit cards) currently attached to this account. External accounts are only returned for requests where `controller[is_controller]` is true.
5785
5168
  attr_reader :external_accounts
5786
-
5787
5169
  # Attribute for field future_requirements
5788
5170
  attr_reader :future_requirements
5789
-
5790
5171
  # The groups associated with the account.
5791
5172
  attr_reader :groups
5792
-
5793
5173
  # Unique identifier for the object.
5794
5174
  attr_reader :id
5795
-
5796
5175
  # This is an object representing a person associated with a Stripe account.
5797
5176
  #
5798
5177
  # A platform cannot access a person for an account where [account.controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`, which includes Standard and Express accounts, after creating an Account Link or Account Session to start Connect onboarding.
5799
5178
  #
5800
5179
  # See the [Standard onboarding](/connect/standard-accounts) or [Express onboarding](/connect/express-accounts) documentation for information about prefilling information and account onboarding steps. Learn more about [handling identity verification with the API](/connect/handling-api-verification#person-information).
5801
5180
  attr_reader :individual
5802
-
5803
5181
  # 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.
5804
5182
  attr_reader :metadata
5805
-
5806
5183
  # String representing the object's type. Objects of the same type share the same value.
5807
5184
  attr_reader :object
5808
-
5809
5185
  # Whether the funds in this account can be paid out.
5810
5186
  attr_reader :payouts_enabled
5811
-
5812
5187
  # Attribute for field requirements
5813
5188
  attr_reader :requirements
5814
-
5815
5189
  # Attribute for field risk_controls
5816
5190
  attr_reader :risk_controls
5817
-
5818
5191
  # Options for customizing how the account functions within Stripe.
5819
5192
  attr_reader :settings
5820
-
5821
5193
  # Attribute for field tos_acceptance
5822
5194
  attr_reader :tos_acceptance
5823
-
5824
5195
  # The Stripe account type. Can be `standard`, `express`, `custom`, or `none`.
5825
5196
  attr_reader :type
5826
-
5827
5197
  # Always true for a deleted object
5828
5198
  attr_reader :deleted
5829
5199