stripe 13.4.0.pre.beta.1 → 13.4.0.pre.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (688) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -1
  3. data/OPENAPI_VERSION +1 -1
  4. data/VERSION +1 -1
  5. data/lib/stripe/resources/account.rb +23 -745
  6. data/lib/stripe/resources/account_link.rb +0 -10
  7. data/lib/stripe/resources/account_notice.rb +0 -22
  8. data/lib/stripe/resources/account_session.rb +0 -125
  9. data/lib/stripe/resources/apple_pay_domain.rb +0 -10
  10. data/lib/stripe/resources/application.rb +0 -3
  11. data/lib/stripe/resources/application_fee.rb +0 -24
  12. data/lib/stripe/resources/application_fee_refund.rb +0 -7
  13. data/lib/stripe/resources/apps/secret.rb +0 -25
  14. data/lib/stripe/resources/balance.rb +0 -31
  15. data/lib/stripe/resources/balance_transaction.rb +0 -29
  16. data/lib/stripe/resources/bank_account.rb +0 -29
  17. data/lib/stripe/resources/billing/alert.rb +0 -22
  18. data/lib/stripe/resources/billing/alert_triggered.rb +0 -5
  19. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -12
  20. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -24
  21. data/lib/stripe/resources/billing/credit_grant.rb +0 -32
  22. data/lib/stripe/resources/billing/meter.rb +0 -25
  23. data/lib/stripe/resources/billing/meter_error_report.rb +0 -11
  24. data/lib/stripe/resources/billing/meter_event.rb +0 -10
  25. data/lib/stripe/resources/billing/meter_event_adjustment.rb +0 -8
  26. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -6
  27. data/lib/stripe/resources/billing_portal/configuration.rb +0 -77
  28. data/lib/stripe/resources/billing_portal/session.rb +0 -42
  29. data/lib/stripe/resources/capability.rb +2 -29
  30. data/lib/stripe/resources/capital/financing_offer.rb +0 -33
  31. data/lib/stripe/resources/capital/financing_summary.rb +0 -13
  32. data/lib/stripe/resources/capital/financing_transaction.rb +0 -24
  33. data/lib/stripe/resources/card.rb +2 -34
  34. data/lib/stripe/resources/cash_balance.rb +0 -5
  35. data/lib/stripe/resources/charge.rb +4 -665
  36. data/lib/stripe/resources/checkout/session.rb +4 -512
  37. data/lib/stripe/resources/climate/order.rb +0 -40
  38. data/lib/stripe/resources/climate/product.rb +0 -13
  39. data/lib/stripe/resources/climate/supplier.rb +0 -13
  40. data/lib/stripe/resources/confirmation_token.rb +2 -337
  41. data/lib/stripe/resources/connect_collection_transfer.rb +0 -5
  42. data/lib/stripe/resources/country_spec.rb +0 -13
  43. data/lib/stripe/resources/coupon.rb +0 -39
  44. data/lib/stripe/resources/credit_note.rb +0 -138
  45. data/lib/stripe/resources/credit_note_line_item.rb +0 -24
  46. data/lib/stripe/resources/customer.rb +1 -156
  47. data/lib/stripe/resources/customer_balance_transaction.rb +0 -12
  48. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -27
  49. data/lib/stripe/resources/customer_session.rb +0 -24
  50. data/lib/stripe/resources/discount.rb +0 -12
  51. data/lib/stripe/resources/dispute.rb +4 -152
  52. data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -8
  53. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +0 -3
  54. data/lib/stripe/resources/entitlements/feature.rb +0 -17
  55. data/lib/stripe/resources/ephemeral_key.rb +0 -5
  56. data/lib/stripe/resources/event.rb +0 -27
  57. data/lib/stripe/resources/exchange_rate.rb +0 -5
  58. data/lib/stripe/resources/file.rb +0 -23
  59. data/lib/stripe/resources/file_link.rb +0 -22
  60. data/lib/stripe/resources/financial_connections/account.rb +0 -47
  61. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -3
  62. data/lib/stripe/resources/financial_connections/account_owner.rb +0 -7
  63. data/lib/stripe/resources/financial_connections/account_ownership.rb +0 -3
  64. data/lib/stripe/resources/financial_connections/institution.rb +0 -13
  65. data/lib/stripe/resources/financial_connections/session.rb +0 -28
  66. data/lib/stripe/resources/financial_connections/transaction.rb +0 -21
  67. data/lib/stripe/resources/forwarding/request.rb +0 -31
  68. data/lib/stripe/resources/funding_instructions.rb +0 -107
  69. data/lib/stripe/resources/gift_cards/card.rb +0 -28
  70. data/lib/stripe/resources/gift_cards/transaction.rb +0 -32
  71. data/lib/stripe/resources/identity/verification_report.rb +0 -69
  72. data/lib/stripe/resources/identity/verification_session.rb +0 -69
  73. data/lib/stripe/resources/invoice.rb +6 -1276
  74. data/lib/stripe/resources/invoice_item.rb +0 -91
  75. data/lib/stripe/resources/invoice_line_item.rb +0 -76
  76. data/lib/stripe/resources/invoice_payment.rb +0 -16
  77. data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
  78. data/lib/stripe/resources/issuing/authorization.rb +0 -199
  79. data/lib/stripe/resources/issuing/card.rb +0 -128
  80. data/lib/stripe/resources/issuing/cardholder.rb +0 -110
  81. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -82
  82. data/lib/stripe/resources/issuing/dispute.rb +0 -151
  83. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -14
  84. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -14
  85. data/lib/stripe/resources/issuing/personalization_design.rb +0 -48
  86. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -13
  87. data/lib/stripe/resources/issuing/settlement.rb +0 -16
  88. data/lib/stripe/resources/issuing/token.rb +0 -46
  89. data/lib/stripe/resources/issuing/transaction.rb +0 -171
  90. data/lib/stripe/resources/line_item.rb +0 -23
  91. data/lib/stripe/resources/login_link.rb +0 -2
  92. data/lib/stripe/resources/mandate.rb +0 -45
  93. data/lib/stripe/resources/margin.rb +0 -19
  94. data/lib/stripe/resources/order.rb +3 -391
  95. data/lib/stripe/resources/payment_attempt_record.rb +0 -42
  96. data/lib/stripe/resources/payment_intent.rb +2 -1768
  97. data/lib/stripe/resources/payment_link.rb +15 -213
  98. data/lib/stripe/resources/payment_method.rb +2 -345
  99. data/lib/stripe/resources/payment_method_configuration.rb +0 -293
  100. data/lib/stripe/resources/payment_method_domain.rb +0 -23
  101. data/lib/stripe/resources/payment_record.rb +0 -109
  102. data/lib/stripe/resources/payout.rb +0 -49
  103. data/lib/stripe/resources/person.rb +2 -92
  104. data/lib/stripe/resources/plan.rb +0 -69
  105. data/lib/stripe/resources/price.rb +0 -133
  106. data/lib/stripe/resources/product.rb +0 -100
  107. data/lib/stripe/resources/product_feature.rb +0 -4
  108. data/lib/stripe/resources/promotion_code.rb +0 -40
  109. data/lib/stripe/resources/quote.rb +0 -458
  110. data/lib/stripe/resources/quote_line.rb +0 -66
  111. data/lib/stripe/resources/quote_preview_invoice.rb +3 -184
  112. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -101
  113. data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -16
  114. data/lib/stripe/resources/radar/value_list.rb +0 -26
  115. data/lib/stripe/resources/radar/value_list_item.rb +0 -18
  116. data/lib/stripe/resources/refund.rb +0 -92
  117. data/lib/stripe/resources/reporting/report_run.rb +0 -32
  118. data/lib/stripe/resources/reporting/report_type.rb +0 -8
  119. data/lib/stripe/resources/reserve_transaction.rb +0 -4
  120. data/lib/stripe/resources/reversal.rb +0 -9
  121. data/lib/stripe/resources/review.rb +0 -27
  122. data/lib/stripe/resources/setup_attempt.rb +2 -103
  123. data/lib/stripe/resources/setup_intent.rb +2 -539
  124. data/lib/stripe/resources/shipping_rate.rb +0 -44
  125. data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -13
  126. data/lib/stripe/resources/source.rb +6 -338
  127. data/lib/stripe/resources/source_mandate_notification.rb +0 -13
  128. data/lib/stripe/resources/source_transaction.rb +0 -29
  129. data/lib/stripe/resources/subscription.rb +0 -338
  130. data/lib/stripe/resources/subscription_item.rb +0 -69
  131. data/lib/stripe/resources/subscription_schedule.rb +0 -388
  132. data/lib/stripe/resources/tax/association.rb +0 -11
  133. data/lib/stripe/resources/tax/calculation.rb +2 -89
  134. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -20
  135. data/lib/stripe/resources/tax/form.rb +2 -35
  136. data/lib/stripe/resources/tax/registration.rb +421 -213
  137. data/lib/stripe/resources/tax/settings.rb +0 -20
  138. data/lib/stripe/resources/tax/transaction.rb +1 -66
  139. data/lib/stripe/resources/tax/transaction_line_item.rb +0 -12
  140. data/lib/stripe/resources/tax_code.rb +0 -6
  141. data/lib/stripe/resources/tax_deducted_at_source.rb +0 -4
  142. data/lib/stripe/resources/tax_id.rb +2 -28
  143. data/lib/stripe/resources/tax_rate.rb +0 -45
  144. data/lib/stripe/resources/terminal/configuration.rb +0 -164
  145. data/lib/stripe/resources/terminal/connection_token.rb +0 -3
  146. data/lib/stripe/resources/terminal/location.rb +0 -33
  147. data/lib/stripe/resources/terminal/reader.rb +0 -129
  148. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -5
  149. data/lib/stripe/resources/test_helpers/test_clock.rb +0 -15
  150. data/lib/stripe/resources/token.rb +4 -192
  151. data/lib/stripe/resources/topup.rb +0 -36
  152. data/lib/stripe/resources/transfer.rb +0 -35
  153. data/lib/stripe/resources/treasury/credit_reversal.rb +0 -21
  154. data/lib/stripe/resources/treasury/debit_reversal.rb +0 -23
  155. data/lib/stripe/resources/treasury/financial_account.rb +77 -71
  156. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -46
  157. data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -50
  158. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -92
  159. data/lib/stripe/resources/treasury/outbound_transfer.rb +25 -66
  160. data/lib/stripe/resources/treasury/received_credit.rb +6 -58
  161. data/lib/stripe/resources/treasury/received_debit.rb +0 -54
  162. data/lib/stripe/resources/treasury/transaction.rb +0 -39
  163. data/lib/stripe/resources/treasury/transaction_entry.rb +0 -36
  164. data/lib/stripe/resources/usage_record.rb +0 -5
  165. data/lib/stripe/resources/usage_record_summary.rb +0 -7
  166. data/lib/stripe/resources/v2/billing/meter_event.rb +0 -6
  167. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +0 -7
  168. data/lib/stripe/resources/v2/billing/meter_event_session.rb +0 -5
  169. data/lib/stripe/resources/v2/event.rb +0 -8
  170. data/lib/stripe/resources/v2/event_destination.rb +0 -19
  171. data/lib/stripe/resources/webhook_endpoint.rb +0 -26
  172. data/lib/stripe/services/account_capability_service.rb +0 -1
  173. data/lib/stripe/services/account_external_account_service.rb +0 -43
  174. data/lib/stripe/services/account_link_service.rb +0 -7
  175. data/lib/stripe/services/account_notice_service.rb +0 -9
  176. data/lib/stripe/services/account_person_service.rb +0 -139
  177. data/lib/stripe/services/account_service.rb +8 -519
  178. data/lib/stripe/services/account_session_service.rb +0 -76
  179. data/lib/stripe/services/apple_pay_domain_service.rb +0 -5
  180. data/lib/stripe/services/application_fee_refund_service.rb +0 -6
  181. data/lib/stripe/services/application_fee_service.rb +0 -8
  182. data/lib/stripe/services/apps/secret_service.rb +0 -16
  183. data/lib/stripe/services/balance_transaction_service.rb +0 -11
  184. data/lib/stripe/services/billing/alert_service.rb +0 -12
  185. data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -4
  186. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -5
  187. data/lib/stripe/services/billing/credit_grant_service.rb +0 -16
  188. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -3
  189. data/lib/stripe/services/billing/meter_event_service.rb +0 -4
  190. data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -7
  191. data/lib/stripe/services/billing/meter_service.rb +0 -12
  192. data/lib/stripe/services/billing_portal/configuration_service.rb +0 -48
  193. data/lib/stripe/services/billing_portal/session_service.rb +0 -19
  194. data/lib/stripe/services/capital/financing_offer_service.rb +0 -9
  195. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -7
  196. data/lib/stripe/services/charge_service.rb +0 -274
  197. data/lib/stripe/services/checkout/session_line_item_service.rb +0 -3
  198. data/lib/stripe/services/checkout/session_service.rb +2 -273
  199. data/lib/stripe/services/climate/order_service.rb +0 -11
  200. data/lib/stripe/services/climate/product_service.rb +0 -3
  201. data/lib/stripe/services/climate/supplier_service.rb +0 -3
  202. data/lib/stripe/services/country_spec_service.rb +0 -3
  203. data/lib/stripe/services/coupon_service.rb +0 -22
  204. data/lib/stripe/services/credit_note_line_item_service.rb +0 -3
  205. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -28
  206. data/lib/stripe/services/credit_note_service.rb +0 -61
  207. data/lib/stripe/services/customer_balance_transaction_service.rb +0 -9
  208. data/lib/stripe/services/customer_cash_balance_service.rb +0 -1
  209. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -3
  210. data/lib/stripe/services/customer_funding_instructions_service.rb +0 -5
  211. data/lib/stripe/services/customer_payment_method_service.rb +0 -5
  212. data/lib/stripe/services/customer_payment_source_service.rb +0 -29
  213. data/lib/stripe/services/customer_service.rb +1 -92
  214. data/lib/stripe/services/customer_session_service.rb +0 -10
  215. data/lib/stripe/services/customer_tax_id_service.rb +1 -6
  216. data/lib/stripe/services/dispute_service.rb +2 -67
  217. data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -4
  218. data/lib/stripe/services/entitlements/feature_service.rb +0 -11
  219. data/lib/stripe/services/ephemeral_key_service.rb +0 -4
  220. data/lib/stripe/services/event_service.rb +0 -10
  221. data/lib/stripe/services/exchange_rate_service.rb +0 -3
  222. data/lib/stripe/services/file_link_service.rb +0 -14
  223. data/lib/stripe/services/file_service.rb +0 -13
  224. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -3
  225. data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -4
  226. data/lib/stripe/services/financial_connections/account_service.rb +0 -9
  227. data/lib/stripe/services/financial_connections/institution_service.rb +0 -3
  228. data/lib/stripe/services/financial_connections/session_service.rb +0 -11
  229. data/lib/stripe/services/financial_connections/transaction_service.rb +0 -9
  230. data/lib/stripe/services/forwarding/request_service.rb +0 -14
  231. data/lib/stripe/services/gift_cards/card_service.rb +0 -13
  232. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -16
  233. data/lib/stripe/services/identity/verification_report_service.rb +0 -10
  234. data/lib/stripe/services/identity/verification_session_service.rb +0 -30
  235. data/lib/stripe/services/invoice_item_service.rb +0 -66
  236. data/lib/stripe/services/invoice_line_item_service.rb +0 -40
  237. data/lib/stripe/services/invoice_payment_service.rb +0 -3
  238. data/lib/stripe/services/invoice_rendering_template_service.rb +0 -5
  239. data/lib/stripe/services/invoice_service.rb +2 -810
  240. data/lib/stripe/services/invoice_upcoming_lines_service.rb +1 -279
  241. data/lib/stripe/services/issuing/authorization_service.rb +0 -14
  242. data/lib/stripe/services/issuing/card_service.rb +0 -70
  243. data/lib/stripe/services/issuing/cardholder_service.rb +0 -73
  244. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -56
  245. data/lib/stripe/services/issuing/dispute_service.rb +0 -98
  246. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -4
  247. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -7
  248. data/lib/stripe/services/issuing/personalization_design_service.rb +0 -29
  249. data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -5
  250. data/lib/stripe/services/issuing/token_service.rb +0 -10
  251. data/lib/stripe/services/issuing/transaction_service.rb +0 -12
  252. data/lib/stripe/services/margin_service.rb +0 -11
  253. data/lib/stripe/services/order_line_item_service.rb +0 -3
  254. data/lib/stripe/services/order_service.rb +2 -266
  255. data/lib/stripe/services/payment_attempt_record_service.rb +0 -1
  256. data/lib/stripe/services/payment_intent_service.rb +0 -1309
  257. data/lib/stripe/services/payment_link_line_item_service.rb +0 -3
  258. data/lib/stripe/services/payment_link_service.rb +15 -135
  259. data/lib/stripe/services/payment_method_configuration_service.rb +0 -102
  260. data/lib/stripe/services/payment_method_domain_service.rb +0 -8
  261. data/lib/stripe/services/payment_method_service.rb +0 -113
  262. data/lib/stripe/services/payment_record_service.rb +0 -68
  263. data/lib/stripe/services/payout_service.rb +0 -23
  264. data/lib/stripe/services/plan_service.rb +0 -43
  265. data/lib/stripe/services/price_service.rb +0 -87
  266. data/lib/stripe/services/product_feature_service.rb +0 -4
  267. data/lib/stripe/services/product_service.rb +0 -74
  268. data/lib/stripe/services/promotion_code_service.rb +0 -25
  269. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -3
  270. data/lib/stripe/services/quote_line_item_service.rb +0 -3
  271. data/lib/stripe/services/quote_line_service.rb +0 -3
  272. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -3
  273. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -3
  274. data/lib/stripe/services/quote_service.rb +0 -309
  275. data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -9
  276. data/lib/stripe/services/radar/value_list_item_service.rb +0 -11
  277. data/lib/stripe/services/radar/value_list_service.rb +0 -16
  278. data/lib/stripe/services/refund_service.rb +0 -21
  279. data/lib/stripe/services/reporting/report_run_service.rb +0 -16
  280. data/lib/stripe/services/review_service.rb +0 -7
  281. data/lib/stripe/services/setup_attempt_service.rb +0 -8
  282. data/lib/stripe/services/setup_intent_service.rb +0 -447
  283. data/lib/stripe/services/shipping_rate_service.rb +0 -27
  284. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -3
  285. data/lib/stripe/services/source_service.rb +0 -92
  286. data/lib/stripe/services/source_transaction_service.rb +0 -3
  287. data/lib/stripe/services/subscription_item_service.rb +0 -56
  288. data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -3
  289. data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -3
  290. data/lib/stripe/services/subscription_schedule_service.rb +0 -290
  291. data/lib/stripe/services/subscription_service.rb +0 -245
  292. data/lib/stripe/services/tax/association_service.rb +0 -1
  293. data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -3
  294. data/lib/stripe/services/tax/calculation_service.rb +1 -31
  295. data/lib/stripe/services/tax/form_service.rb +0 -7
  296. data/lib/stripe/services/tax/registration_service.rb +274 -108
  297. data/lib/stripe/services/tax/settings_service.rb +0 -8
  298. data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -3
  299. data/lib/stripe/services/tax/transaction_service.rb +0 -17
  300. data/lib/stripe/services/tax_code_service.rb +0 -3
  301. data/lib/stripe/services/tax_id_service.rb +1 -12
  302. data/lib/stripe/services/tax_rate_service.rb +0 -27
  303. data/lib/stripe/services/terminal/configuration_service.rb +0 -108
  304. data/lib/stripe/services/terminal/connection_token_service.rb +0 -1
  305. data/lib/stripe/services/terminal/location_service.rb +0 -21
  306. data/lib/stripe/services/terminal/reader_service.rb +0 -53
  307. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -89
  308. data/lib/stripe/services/test_helpers/customer_service.rb +0 -3
  309. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -99
  310. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -2
  311. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -91
  312. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -4
  313. data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -6
  314. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -1
  315. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -6
  316. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -6
  317. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -11
  318. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -11
  319. data/lib/stripe/services/token_service.rb +4 -184
  320. data/lib/stripe/services/topup_service.rb +0 -21
  321. data/lib/stripe/services/transfer_reversal_service.rb +0 -8
  322. data/lib/stripe/services/transfer_service.rb +0 -19
  323. data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -8
  324. data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -9
  325. data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -10
  326. data/lib/stripe/services/treasury/financial_account_service.rb +64 -36
  327. data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -12
  328. data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -38
  329. data/lib/stripe/services/treasury/outbound_transfer_service.rb +16 -15
  330. data/lib/stripe/services/treasury/received_credit_service.rb +0 -6
  331. data/lib/stripe/services/treasury/received_debit_service.rb +0 -5
  332. data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -14
  333. data/lib/stripe/services/treasury/transaction_service.rb +0 -14
  334. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -2
  335. data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -3
  336. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -3
  337. data/lib/stripe/services/v2/core/event_destination_service.rb +0 -18
  338. data/lib/stripe/services/v2/core/event_service.rb +0 -2
  339. data/lib/stripe/services/webhook_endpoint_service.rb +0 -14
  340. data/lib/stripe/stripe_client.rb +1 -1
  341. data/lib/stripe/stripe_object.rb +3 -3
  342. data/lib/stripe/util.rb +1 -1
  343. data/lib/stripe/version.rb +1 -1
  344. data/rbi/stripe/resources/account.rbi +29 -1001
  345. data/rbi/stripe/resources/account_link.rbi +0 -13
  346. data/rbi/stripe/resources/account_notice.rbi +0 -27
  347. data/rbi/stripe/resources/account_session.rbi +0 -166
  348. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -14
  349. data/rbi/stripe/resources/application.rbi +0 -3
  350. data/rbi/stripe/resources/application_fee.rbi +0 -28
  351. data/rbi/stripe/resources/application_fee_refund.rbi +0 -7
  352. data/rbi/stripe/resources/apps/secret.rbi +0 -34
  353. data/rbi/stripe/resources/balance.rbi +0 -33
  354. data/rbi/stripe/resources/balance_transaction.rbi +0 -33
  355. data/rbi/stripe/resources/bank_account.rbi +0 -29
  356. data/rbi/stripe/resources/billing/alert.rbi +0 -31
  357. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -5
  358. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -16
  359. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -27
  360. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -43
  361. data/rbi/stripe/resources/billing/meter.rbi +0 -35
  362. data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -11
  363. data/rbi/stripe/resources/billing/meter_event.rbi +0 -12
  364. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -11
  365. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -6
  366. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -106
  367. data/rbi/stripe/resources/billing_portal/session.rbi +0 -55
  368. data/rbi/stripe/resources/capability.rbi +2 -29
  369. data/rbi/stripe/resources/capital/financing_offer.rbi +0 -38
  370. data/rbi/stripe/resources/capital/financing_summary.rbi +0 -15
  371. data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -27
  372. data/rbi/stripe/resources/card.rbi +3 -34
  373. data/rbi/stripe/resources/cash_balance.rbi +0 -5
  374. data/rbi/stripe/resources/charge.rbi +6 -738
  375. data/rbi/stripe/resources/checkout/session.rbi +4 -636
  376. data/rbi/stripe/resources/climate/order.rbi +0 -48
  377. data/rbi/stripe/resources/climate/product.rbi +0 -16
  378. data/rbi/stripe/resources/climate/supplier.rbi +0 -16
  379. data/rbi/stripe/resources/confirmation_token.rbi +3 -364
  380. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -5
  381. data/rbi/stripe/resources/country_spec.rbi +0 -16
  382. data/rbi/stripe/resources/coupon.rbi +0 -48
  383. data/rbi/stripe/resources/credit_note.rbi +0 -159
  384. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -24
  385. data/rbi/stripe/resources/customer.rbi +1 -188
  386. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -12
  387. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -27
  388. data/rbi/stripe/resources/customer_session.rbi +0 -31
  389. data/rbi/stripe/resources/discount.rbi +0 -12
  390. data/rbi/stripe/resources/dispute.rbi +4 -166
  391. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -11
  392. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -3
  393. data/rbi/stripe/resources/entitlements/feature.rbi +0 -22
  394. data/rbi/stripe/resources/ephemeral_key.rbi +0 -7
  395. data/rbi/stripe/resources/event.rbi +0 -31
  396. data/rbi/stripe/resources/exchange_rate.rbi +0 -8
  397. data/rbi/stripe/resources/file.rbi +0 -29
  398. data/rbi/stripe/resources/file_link.rbi +0 -28
  399. data/rbi/stripe/resources/financial_connections/account.rbi +0 -56
  400. data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -3
  401. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -7
  402. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -3
  403. data/rbi/stripe/resources/financial_connections/institution.rbi +0 -16
  404. data/rbi/stripe/resources/financial_connections/session.rbi +0 -35
  405. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -26
  406. data/rbi/stripe/resources/forwarding/request.rbi +0 -38
  407. data/rbi/stripe/resources/funding_instructions.rbi +0 -107
  408. data/rbi/stripe/resources/gift_cards/card.rbi +0 -36
  409. data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -41
  410. data/rbi/stripe/resources/identity/verification_report.rbi +0 -73
  411. data/rbi/stripe/resources/identity/verification_session.rbi +0 -83
  412. data/rbi/stripe/resources/invoice.rbi +7 -1663
  413. data/rbi/stripe/resources/invoice_item.rbi +0 -107
  414. data/rbi/stripe/resources/invoice_line_item.rbi +0 -86
  415. data/rbi/stripe/resources/invoice_payment.rbi +0 -16
  416. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -17
  417. data/rbi/stripe/resources/issuing/authorization.rbi +0 -245
  418. data/rbi/stripe/resources/issuing/card.rbi +0 -153
  419. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -138
  420. data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -109
  421. data/rbi/stripe/resources/issuing/dispute.rbi +0 -177
  422. data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -17
  423. data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -18
  424. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -62
  425. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -16
  426. data/rbi/stripe/resources/issuing/settlement.rbi +0 -16
  427. data/rbi/stripe/resources/issuing/token.rbi +0 -51
  428. data/rbi/stripe/resources/issuing/transaction.rbi +0 -205
  429. data/rbi/stripe/resources/line_item.rbi +0 -23
  430. data/rbi/stripe/resources/login_link.rbi +0 -2
  431. data/rbi/stripe/resources/mandate.rbi +0 -47
  432. data/rbi/stripe/resources/margin.rbi +0 -24
  433. data/rbi/stripe/resources/order.rbi +3 -492
  434. data/rbi/stripe/resources/payment_attempt_record.rbi +0 -45
  435. data/rbi/stripe/resources/payment_intent.rbi +3 -2224
  436. data/rbi/stripe/resources/payment_link.rbi +14 -291
  437. data/rbi/stripe/resources/payment_method.rbi +3 -382
  438. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -486
  439. data/rbi/stripe/resources/payment_method_domain.rbi +0 -29
  440. data/rbi/stripe/resources/payment_record.rbi +0 -134
  441. data/rbi/stripe/resources/payout.rbi +0 -58
  442. data/rbi/stripe/resources/person.rbi +2 -92
  443. data/rbi/stripe/resources/plan.rbi +0 -78
  444. data/rbi/stripe/resources/price.rbi +0 -153
  445. data/rbi/stripe/resources/product.rbi +0 -120
  446. data/rbi/stripe/resources/product_feature.rbi +0 -4
  447. data/rbi/stripe/resources/promotion_code.rbi +0 -50
  448. data/rbi/stripe/resources/quote.rbi +0 -593
  449. data/rbi/stripe/resources/quote_line.rbi +0 -66
  450. data/rbi/stripe/resources/quote_preview_invoice.rbi +4 -184
  451. data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -101
  452. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -20
  453. data/rbi/stripe/resources/radar/value_list.rbi +0 -32
  454. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -23
  455. data/rbi/stripe/resources/refund.rbi +0 -100
  456. data/rbi/stripe/resources/reporting/report_run.rbi +0 -38
  457. data/rbi/stripe/resources/reporting/report_type.rbi +0 -11
  458. data/rbi/stripe/resources/reserve_transaction.rbi +0 -4
  459. data/rbi/stripe/resources/reversal.rbi +0 -9
  460. data/rbi/stripe/resources/review.rbi +0 -32
  461. data/rbi/stripe/resources/setup_attempt.rbi +3 -106
  462. data/rbi/stripe/resources/setup_intent.rbi +3 -688
  463. data/rbi/stripe/resources/shipping_rate.rbi +0 -57
  464. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -16
  465. data/rbi/stripe/resources/source.rbi +9 -365
  466. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -13
  467. data/rbi/stripe/resources/source_transaction.rbi +0 -29
  468. data/rbi/stripe/resources/subscription.rbi +0 -431
  469. data/rbi/stripe/resources/subscription_item.rbi +0 -88
  470. data/rbi/stripe/resources/subscription_schedule.rbi +0 -504
  471. data/rbi/stripe/resources/tax/association.rbi +0 -13
  472. data/rbi/stripe/resources/tax/calculation.rbi +2 -100
  473. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -20
  474. data/rbi/stripe/resources/tax/form.rbi +2 -40
  475. data/rbi/stripe/resources/tax/registration.rbi +401 -317
  476. data/rbi/stripe/resources/tax/settings.rbi +0 -26
  477. data/rbi/stripe/resources/tax/transaction.rbi +1 -73
  478. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -12
  479. data/rbi/stripe/resources/tax_code.rbi +0 -9
  480. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -4
  481. data/rbi/stripe/resources/tax_id.rbi +2 -34
  482. data/rbi/stripe/resources/tax_rate.rbi +0 -51
  483. data/rbi/stripe/resources/terminal/configuration.rbi +0 -211
  484. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -5
  485. data/rbi/stripe/resources/terminal/location.rbi +0 -40
  486. data/rbi/stripe/resources/terminal/reader.rbi +0 -158
  487. data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -7
  488. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -20
  489. data/rbi/stripe/resources/token.rbi +5 -235
  490. data/rbi/stripe/resources/topup.rbi +0 -44
  491. data/rbi/stripe/resources/transfer.rbi +0 -41
  492. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -25
  493. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -27
  494. data/rbi/stripe/resources/treasury/financial_account.rbi +70 -124
  495. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -46
  496. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -59
  497. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -113
  498. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +28 -84
  499. data/rbi/stripe/resources/treasury/received_credit.rbi +7 -67
  500. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -62
  501. data/rbi/stripe/resources/treasury/transaction.rbi +0 -45
  502. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -41
  503. data/rbi/stripe/resources/usage_record.rbi +0 -5
  504. data/rbi/stripe/resources/usage_record_summary.rbi +0 -7
  505. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -6
  506. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -7
  507. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -5
  508. data/rbi/stripe/resources/v2/event.rbi +0 -8
  509. data/rbi/stripe/resources/v2/event_destination.rbi +0 -19
  510. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -31
  511. data/rbi/stripe/services/account_capability_service.rbi +0 -4
  512. data/rbi/stripe/services/account_external_account_service.rbi +0 -52
  513. data/rbi/stripe/services/account_link_service.rbi +0 -9
  514. data/rbi/stripe/services/account_login_link_service.rbi +0 -1
  515. data/rbi/stripe/services/account_notice_service.rbi +0 -13
  516. data/rbi/stripe/services/account_person_service.rbi +0 -174
  517. data/rbi/stripe/services/account_service.rbi +10 -773
  518. data/rbi/stripe/services/account_session_service.rbi +0 -116
  519. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -8
  520. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -10
  521. data/rbi/stripe/services/application_fee_service.rbi +0 -11
  522. data/rbi/stripe/services/apps/secret_service.rbi +0 -24
  523. data/rbi/stripe/services/balance_service.rbi +0 -1
  524. data/rbi/stripe/services/balance_transaction_service.rbi +0 -14
  525. data/rbi/stripe/services/billing/alert_service.rbi +0 -20
  526. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -7
  527. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -7
  528. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -26
  529. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -5
  530. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -5
  531. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -8
  532. data/rbi/stripe/services/billing/meter_service.rbi +0 -21
  533. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -76
  534. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -31
  535. data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -13
  536. data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -1
  537. data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -9
  538. data/rbi/stripe/services/charge_service.rbi +0 -346
  539. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -4
  540. data/rbi/stripe/services/checkout/session_service.rbi +2 -395
  541. data/rbi/stripe/services/climate/order_service.rbi +0 -18
  542. data/rbi/stripe/services/climate/product_service.rbi +0 -5
  543. data/rbi/stripe/services/climate/supplier_service.rbi +0 -5
  544. data/rbi/stripe/services/confirmation_token_service.rbi +0 -1
  545. data/rbi/stripe/services/country_spec_service.rbi +0 -5
  546. data/rbi/stripe/services/coupon_service.rbi +0 -30
  547. data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -4
  548. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -33
  549. data/rbi/stripe/services/credit_note_service.rbi +0 -76
  550. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -13
  551. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -4
  552. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -5
  553. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -8
  554. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -7
  555. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -37
  556. data/rbi/stripe/services/customer_service.rbi +1 -117
  557. data/rbi/stripe/services/customer_session_service.rbi +0 -16
  558. data/rbi/stripe/services/customer_tax_id_service.rbi +1 -9
  559. data/rbi/stripe/services/dispute_service.rbi +2 -80
  560. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -6
  561. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -15
  562. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -6
  563. data/rbi/stripe/services/event_service.rbi +0 -13
  564. data/rbi/stripe/services/exchange_rate_service.rbi +0 -5
  565. data/rbi/stripe/services/file_link_service.rbi +0 -19
  566. data/rbi/stripe/services/file_service.rbi +0 -18
  567. data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -4
  568. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -5
  569. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -16
  570. data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -5
  571. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -17
  572. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -13
  573. data/rbi/stripe/services/forwarding/request_service.rbi +0 -20
  574. data/rbi/stripe/services/gift_cards/card_service.rbi +0 -20
  575. data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -24
  576. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -13
  577. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -43
  578. data/rbi/stripe/services/invoice_item_service.rbi +0 -81
  579. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -50
  580. data/rbi/stripe/services/invoice_payment_service.rbi +0 -5
  581. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -9
  582. data/rbi/stripe/services/invoice_service.rbi +2 -1100
  583. data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +1 -375
  584. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -20
  585. data/rbi/stripe/services/issuing/card_service.rbi +0 -89
  586. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -100
  587. data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -82
  588. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -123
  589. data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -6
  590. data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -10
  591. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -38
  592. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -7
  593. data/rbi/stripe/services/issuing/token_service.rbi +0 -14
  594. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -16
  595. data/rbi/stripe/services/mandate_service.rbi +0 -1
  596. data/rbi/stripe/services/margin_service.rbi +0 -15
  597. data/rbi/stripe/services/order_line_item_service.rbi +0 -4
  598. data/rbi/stripe/services/order_service.rbi +2 -365
  599. data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -3
  600. data/rbi/stripe/services/payment_intent_service.rbi +0 -1764
  601. data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -4
  602. data/rbi/stripe/services/payment_link_service.rbi +14 -211
  603. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -294
  604. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -13
  605. data/rbi/stripe/services/payment_method_service.rbi +0 -149
  606. data/rbi/stripe/services/payment_record_service.rbi +0 -92
  607. data/rbi/stripe/services/payout_service.rbi +0 -31
  608. data/rbi/stripe/services/plan_service.rbi +0 -51
  609. data/rbi/stripe/services/price_service.rbi +0 -106
  610. data/rbi/stripe/services/product_feature_service.rbi +0 -7
  611. data/rbi/stripe/services/product_service.rbi +0 -93
  612. data/rbi/stripe/services/promotion_code_service.rbi +0 -34
  613. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -4
  614. data/rbi/stripe/services/quote_line_item_service.rbi +0 -4
  615. data/rbi/stripe/services/quote_line_service.rbi +0 -4
  616. data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -4
  617. data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -4
  618. data/rbi/stripe/services/quote_service.rbi +0 -440
  619. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -12
  620. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -15
  621. data/rbi/stripe/services/radar/value_list_service.rbi +0 -21
  622. data/rbi/stripe/services/refund_service.rbi +0 -27
  623. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -21
  624. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -2
  625. data/rbi/stripe/services/review_service.rbi +0 -11
  626. data/rbi/stripe/services/setup_attempt_service.rbi +0 -10
  627. data/rbi/stripe/services/setup_intent_service.rbi +0 -595
  628. data/rbi/stripe/services/shipping_rate_service.rbi +0 -39
  629. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -5
  630. data/rbi/stripe/services/source_service.rbi +0 -119
  631. data/rbi/stripe/services/source_transaction_service.rbi +0 -4
  632. data/rbi/stripe/services/subscription_item_service.rbi +0 -74
  633. data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -4
  634. data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -4
  635. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -405
  636. data/rbi/stripe/services/subscription_service.rbi +0 -337
  637. data/rbi/stripe/services/tax/association_service.rbi +0 -2
  638. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -4
  639. data/rbi/stripe/services/tax/calculation_service.rbi +1 -40
  640. data/rbi/stripe/services/tax/form_service.rbi +0 -11
  641. data/rbi/stripe/services/tax/registration_service.rbi +233 -211
  642. data/rbi/stripe/services/tax/settings_service.rbi +0 -13
  643. data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -4
  644. data/rbi/stripe/services/tax/transaction_service.rbi +0 -22
  645. data/rbi/stripe/services/tax_code_service.rbi +0 -5
  646. data/rbi/stripe/services/tax_id_service.rbi +1 -17
  647. data/rbi/stripe/services/tax_rate_service.rbi +0 -32
  648. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -154
  649. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -2
  650. data/rbi/stripe/services/terminal/location_service.rbi +0 -27
  651. data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -1
  652. data/rbi/stripe/services/terminal/reader_service.rbi +0 -78
  653. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -114
  654. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -4
  655. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -138
  656. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -5
  657. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -6
  658. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -120
  659. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -1
  660. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -7
  661. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -10
  662. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -5
  663. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -14
  664. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -14
  665. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -16
  666. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -16
  667. data/rbi/stripe/services/token_service.rbi +5 -226
  668. data/rbi/stripe/services/topup_service.rbi +0 -28
  669. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -12
  670. data/rbi/stripe/services/transfer_service.rbi +0 -24
  671. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -11
  672. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -12
  673. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -25
  674. data/rbi/stripe/services/treasury/financial_account_service.rbi +62 -73
  675. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -16
  676. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -50
  677. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +17 -24
  678. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -9
  679. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -7
  680. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -18
  681. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -19
  682. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -4
  683. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -4
  684. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -5
  685. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -25
  686. data/rbi/stripe/services/v2/core/event_service.rbi +0 -3
  687. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -18
  688. metadata +2 -2
@@ -29,22 +29,16 @@ module Stripe
29
29
  class BankAccount < Stripe::RequestParams
30
30
  # Attribute for param field object
31
31
  attr_accessor :object
32
-
33
32
  # The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object.
34
33
  attr_accessor :account_holder_name
35
-
36
34
  # The type of entity that holds the account. It can be `company` or `individual`. This field is required when attaching the bank account to a `Customer` object.
37
35
  attr_accessor :account_holder_type
38
-
39
36
  # The account number for the bank account, in string form. Must be a checking account.
40
37
  attr_accessor :account_number
41
-
42
38
  # The country in which the bank account is located.
43
39
  attr_accessor :country
44
-
45
40
  # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
46
41
  attr_accessor :currency
47
-
48
42
  # The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
49
43
  attr_accessor :routing_number
50
44
 
@@ -71,10 +65,8 @@ module Stripe
71
65
  class AnnualRevenue < Stripe::RequestParams
72
66
  # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).
73
67
  attr_accessor :amount
74
-
75
68
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
76
69
  attr_accessor :currency
77
-
78
70
  # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
79
71
  attr_accessor :fiscal_year_end
80
72
 
@@ -88,7 +80,6 @@ module Stripe
88
80
  class MonthlyEstimatedRevenue < Stripe::RequestParams
89
81
  # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).
90
82
  attr_accessor :amount
91
-
92
83
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
93
84
  attr_accessor :currency
94
85
 
@@ -101,19 +92,14 @@ module Stripe
101
92
  class SupportAddress < Stripe::RequestParams
102
93
  # City, district, suburb, town, or village.
103
94
  attr_accessor :city
104
-
105
95
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
106
96
  attr_accessor :country
107
-
108
97
  # Address line 1 (e.g., street, PO Box, or company name).
109
98
  attr_accessor :line1
110
-
111
99
  # Address line 2 (e.g., apartment, suite, unit, or building).
112
100
  attr_accessor :line2
113
-
114
101
  # ZIP or postal code.
115
102
  attr_accessor :postal_code
116
-
117
103
  # State, county, province, or region.
118
104
  attr_accessor :state
119
105
 
@@ -135,34 +121,24 @@ module Stripe
135
121
  end
136
122
  # The applicant's gross annual revenue for its preceding fiscal year.
137
123
  attr_accessor :annual_revenue
138
-
139
124
  # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
140
125
  attr_accessor :estimated_worker_count
141
-
142
126
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
143
127
  attr_accessor :mcc
144
-
145
128
  # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
146
129
  attr_accessor :monthly_estimated_revenue
147
-
148
130
  # The customer-facing business name.
149
131
  attr_accessor :name
150
-
151
132
  # Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
152
133
  attr_accessor :product_description
153
-
154
134
  # A publicly available mailing address for sending support issues to.
155
135
  attr_accessor :support_address
156
-
157
136
  # A publicly available email address for sending support issues to.
158
137
  attr_accessor :support_email
159
-
160
138
  # A publicly available phone number to call with support issues.
161
139
  attr_accessor :support_phone
162
-
163
140
  # A publicly available website for handling support issues.
164
141
  attr_accessor :support_url
165
-
166
142
  # The business's publicly available website.
167
143
  attr_accessor :url
168
144
 
@@ -789,199 +765,134 @@ module Stripe
789
765
  end
790
766
  # The acss_debit_payments capability.
791
767
  attr_accessor :acss_debit_payments
792
-
793
768
  # The affirm_payments capability.
794
769
  attr_accessor :affirm_payments
795
-
796
770
  # The afterpay_clearpay_payments capability.
797
771
  attr_accessor :afterpay_clearpay_payments
798
-
799
772
  # The alma_payments capability.
800
773
  attr_accessor :alma_payments
801
-
802
774
  # The amazon_pay_payments capability.
803
775
  attr_accessor :amazon_pay_payments
804
-
805
776
  # The au_becs_debit_payments capability.
806
777
  attr_accessor :au_becs_debit_payments
807
-
808
778
  # The automatic_indirect_tax capability.
809
779
  attr_accessor :automatic_indirect_tax
810
-
811
780
  # The bacs_debit_payments capability.
812
781
  attr_accessor :bacs_debit_payments
813
-
814
782
  # The bancontact_payments capability.
815
783
  attr_accessor :bancontact_payments
816
-
817
784
  # The bank_transfer_payments capability.
818
785
  attr_accessor :bank_transfer_payments
819
-
820
786
  # The blik_payments capability.
821
787
  attr_accessor :blik_payments
822
-
823
788
  # The boleto_payments capability.
824
789
  attr_accessor :boleto_payments
825
-
826
790
  # The card_issuing capability.
827
791
  attr_accessor :card_issuing
828
-
829
792
  # The card_payments capability.
830
793
  attr_accessor :card_payments
831
-
832
794
  # The cartes_bancaires_payments capability.
833
795
  attr_accessor :cartes_bancaires_payments
834
-
835
796
  # The cashapp_payments capability.
836
797
  attr_accessor :cashapp_payments
837
-
838
798
  # The eps_payments capability.
839
799
  attr_accessor :eps_payments
840
-
841
800
  # The fpx_payments capability.
842
801
  attr_accessor :fpx_payments
843
-
844
802
  # The gb_bank_transfer_payments capability.
845
803
  attr_accessor :gb_bank_transfer_payments
846
-
847
804
  # The giropay_payments capability.
848
805
  attr_accessor :giropay_payments
849
-
850
806
  # The gopay_payments capability.
851
807
  attr_accessor :gopay_payments
852
-
853
808
  # The grabpay_payments capability.
854
809
  attr_accessor :grabpay_payments
855
-
856
810
  # The id_bank_transfer_payments capability.
857
811
  attr_accessor :id_bank_transfer_payments
858
-
859
812
  # The id_bank_transfer_payments_bca capability.
860
813
  attr_accessor :id_bank_transfer_payments_bca
861
-
862
814
  # The ideal_payments capability.
863
815
  attr_accessor :ideal_payments
864
-
865
816
  # The india_international_payments capability.
866
817
  attr_accessor :india_international_payments
867
-
868
818
  # The jcb_payments capability.
869
819
  attr_accessor :jcb_payments
870
-
871
820
  # The jp_bank_transfer_payments capability.
872
821
  attr_accessor :jp_bank_transfer_payments
873
-
874
822
  # The kakao_pay_payments capability.
875
823
  attr_accessor :kakao_pay_payments
876
-
877
824
  # The klarna_payments capability.
878
825
  attr_accessor :klarna_payments
879
-
880
826
  # The konbini_payments capability.
881
827
  attr_accessor :konbini_payments
882
-
883
828
  # The kr_card_payments capability.
884
829
  attr_accessor :kr_card_payments
885
-
886
830
  # The legacy_payments capability.
887
831
  attr_accessor :legacy_payments
888
-
889
832
  # The link_payments capability.
890
833
  attr_accessor :link_payments
891
-
892
834
  # The mb_way_payments capability.
893
835
  attr_accessor :mb_way_payments
894
-
895
836
  # The mobilepay_payments capability.
896
837
  attr_accessor :mobilepay_payments
897
-
898
838
  # The multibanco_payments capability.
899
839
  attr_accessor :multibanco_payments
900
-
901
840
  # The mx_bank_transfer_payments capability.
902
841
  attr_accessor :mx_bank_transfer_payments
903
-
904
842
  # The naver_pay_payments capability.
905
843
  attr_accessor :naver_pay_payments
906
-
907
844
  # The oxxo_payments capability.
908
845
  attr_accessor :oxxo_payments
909
-
910
846
  # The p24_payments capability.
911
847
  attr_accessor :p24_payments
912
-
913
848
  # The payco_payments capability.
914
849
  attr_accessor :payco_payments
915
-
916
850
  # The paynow_payments capability.
917
851
  attr_accessor :paynow_payments
918
-
919
852
  # The paypal_payments capability.
920
853
  attr_accessor :paypal_payments
921
-
922
854
  # The payto_payments capability.
923
855
  attr_accessor :payto_payments
924
-
925
856
  # The promptpay_payments capability.
926
857
  attr_accessor :promptpay_payments
927
-
928
858
  # The qris_payments capability.
929
859
  attr_accessor :qris_payments
930
-
931
860
  # The rechnung_payments capability.
932
861
  attr_accessor :rechnung_payments
933
-
934
862
  # The revolut_pay_payments capability.
935
863
  attr_accessor :revolut_pay_payments
936
-
937
864
  # The samsung_pay_payments capability.
938
865
  attr_accessor :samsung_pay_payments
939
-
940
866
  # The sepa_bank_transfer_payments capability.
941
867
  attr_accessor :sepa_bank_transfer_payments
942
-
943
868
  # The sepa_debit_payments capability.
944
869
  attr_accessor :sepa_debit_payments
945
-
946
870
  # The shopeepay_payments capability.
947
871
  attr_accessor :shopeepay_payments
948
-
949
872
  # The sofort_payments capability.
950
873
  attr_accessor :sofort_payments
951
-
952
874
  # The swish_payments capability.
953
875
  attr_accessor :swish_payments
954
-
955
876
  # The tax_reporting_us_1099_k capability.
956
877
  attr_accessor :tax_reporting_us_1099_k
957
-
958
878
  # The tax_reporting_us_1099_misc capability.
959
879
  attr_accessor :tax_reporting_us_1099_misc
960
-
961
880
  # The transfers capability.
962
881
  attr_accessor :transfers
963
-
964
882
  # The treasury capability.
965
883
  attr_accessor :treasury
966
-
967
884
  # The treasury_evolve capability.
968
885
  attr_accessor :treasury_evolve
969
-
970
886
  # The treasury_fifth_third capability.
971
887
  attr_accessor :treasury_fifth_third
972
-
973
888
  # The treasury_goldman_sachs capability.
974
889
  attr_accessor :treasury_goldman_sachs
975
-
976
890
  # The twint_payments capability.
977
891
  attr_accessor :twint_payments
978
-
979
892
  # The us_bank_account_ach_payments capability.
980
893
  attr_accessor :us_bank_account_ach_payments
981
-
982
894
  # The us_bank_transfer_payments capability.
983
895
  attr_accessor :us_bank_transfer_payments
984
-
985
896
  # The zip_payments capability.
986
897
  attr_accessor :zip_payments
987
898
 
@@ -1125,46 +1036,32 @@ module Stripe
1125
1036
  class Card < Stripe::RequestParams
1126
1037
  # Attribute for param field object
1127
1038
  attr_accessor :object
1128
-
1129
1039
  # Attribute for param field address_city
1130
1040
  attr_accessor :address_city
1131
-
1132
1041
  # Attribute for param field address_country
1133
1042
  attr_accessor :address_country
1134
-
1135
1043
  # Attribute for param field address_line1
1136
1044
  attr_accessor :address_line1
1137
-
1138
1045
  # Attribute for param field address_line2
1139
1046
  attr_accessor :address_line2
1140
-
1141
1047
  # Attribute for param field address_state
1142
1048
  attr_accessor :address_state
1143
-
1144
1049
  # Attribute for param field address_zip
1145
1050
  attr_accessor :address_zip
1146
-
1147
1051
  # Attribute for param field currency
1148
1052
  attr_accessor :currency
1149
-
1150
1053
  # Attribute for param field cvc
1151
1054
  attr_accessor :cvc
1152
-
1153
1055
  # Attribute for param field exp_month
1154
1056
  attr_accessor :exp_month
1155
-
1156
1057
  # Attribute for param field exp_year
1157
1058
  attr_accessor :exp_year
1158
-
1159
1059
  # Attribute for param field name
1160
1060
  attr_accessor :name
1161
-
1162
1061
  # Attribute for param field number
1163
1062
  attr_accessor :number
1164
-
1165
1063
  # 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.
1166
1064
  attr_accessor :metadata
1167
-
1168
1065
  # Attribute for param field default_for_currency
1169
1066
  attr_accessor :default_for_currency
1170
1067
 
@@ -1206,10 +1103,8 @@ module Stripe
1206
1103
  class CardToken < Stripe::RequestParams
1207
1104
  # Attribute for param field object
1208
1105
  attr_accessor :object
1209
-
1210
1106
  # Attribute for param field currency
1211
1107
  attr_accessor :currency
1212
-
1213
1108
  # Attribute for param field token
1214
1109
  attr_accessor :token
1215
1110
 
@@ -1224,19 +1119,14 @@ module Stripe
1224
1119
  class Address < Stripe::RequestParams
1225
1120
  # City, district, suburb, town, or village.
1226
1121
  attr_accessor :city
1227
-
1228
1122
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1229
1123
  attr_accessor :country
1230
-
1231
1124
  # Address line 1 (e.g., street, PO Box, or company name).
1232
1125
  attr_accessor :line1
1233
-
1234
1126
  # Address line 2 (e.g., apartment, suite, unit, or building).
1235
1127
  attr_accessor :line2
1236
-
1237
1128
  # ZIP or postal code.
1238
1129
  attr_accessor :postal_code
1239
-
1240
1130
  # State, county, province, or region.
1241
1131
  attr_accessor :state
1242
1132
 
@@ -1260,22 +1150,16 @@ module Stripe
1260
1150
  class AddressKana < Stripe::RequestParams
1261
1151
  # City or ward.
1262
1152
  attr_accessor :city
1263
-
1264
1153
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1265
1154
  attr_accessor :country
1266
-
1267
1155
  # Block or building number.
1268
1156
  attr_accessor :line1
1269
-
1270
1157
  # Building details.
1271
1158
  attr_accessor :line2
1272
-
1273
1159
  # Postal code.
1274
1160
  attr_accessor :postal_code
1275
-
1276
1161
  # Prefecture.
1277
1162
  attr_accessor :state
1278
-
1279
1163
  # Town or cho-me.
1280
1164
  attr_accessor :town
1281
1165
 
@@ -1301,22 +1185,16 @@ module Stripe
1301
1185
  class AddressKanji < Stripe::RequestParams
1302
1186
  # City or ward.
1303
1187
  attr_accessor :city
1304
-
1305
1188
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1306
1189
  attr_accessor :country
1307
-
1308
1190
  # Block or building number.
1309
1191
  attr_accessor :line1
1310
-
1311
1192
  # Building details.
1312
1193
  attr_accessor :line2
1313
-
1314
1194
  # Postal code.
1315
1195
  attr_accessor :postal_code
1316
-
1317
1196
  # Prefecture.
1318
1197
  attr_accessor :state
1319
-
1320
1198
  # Town or cho-me.
1321
1199
  attr_accessor :town
1322
1200
 
@@ -1342,10 +1220,8 @@ module Stripe
1342
1220
  class OwnershipDeclaration < Stripe::RequestParams
1343
1221
  # The Unix timestamp marking when the beneficial owner attestation was made.
1344
1222
  attr_accessor :date
1345
-
1346
1223
  # The IP address from which the beneficial owner attestation was made.
1347
1224
  attr_accessor :ip
1348
-
1349
1225
  # The user agent of the browser from which the beneficial owner attestation was made.
1350
1226
  attr_accessor :user_agent
1351
1227
 
@@ -1360,7 +1236,6 @@ module Stripe
1360
1236
  class Document < Stripe::RequestParams
1361
1237
  # 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.
1362
1238
  attr_accessor :back
1363
-
1364
1239
  # 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.
1365
1240
  attr_accessor :front
1366
1241
 
@@ -1378,58 +1253,42 @@ module Stripe
1378
1253
  end
1379
1254
  # The company's primary address.
1380
1255
  attr_accessor :address
1381
-
1382
1256
  # The Kana variation of the company's primary address (Japan only).
1383
1257
  attr_accessor :address_kana
1384
-
1385
1258
  # The Kanji variation of the company's primary address (Japan only).
1386
1259
  attr_accessor :address_kanji
1387
-
1388
1260
  # 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.
1389
1261
  attr_accessor :directors_provided
1390
-
1391
1262
  # 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.
1392
1263
  attr_accessor :executives_provided
1393
-
1394
1264
  # The export license ID number of the company, also referred as Import Export Code (India only).
1395
1265
  attr_accessor :export_license_id
1396
-
1397
1266
  # The purpose code to use for export transactions (India only).
1398
1267
  attr_accessor :export_purpose_code
1399
-
1400
1268
  # The company's legal name.
1401
1269
  attr_accessor :name
1402
-
1403
1270
  # The Kana variation of the company's legal name (Japan only).
1404
1271
  attr_accessor :name_kana
1405
-
1406
1272
  # The Kanji variation of the company's legal name (Japan only).
1407
1273
  attr_accessor :name_kanji
1408
-
1409
1274
  # 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.
1410
1275
  attr_accessor :owners_provided
1411
-
1412
1276
  # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
1413
1277
  attr_accessor :ownership_declaration
1414
-
1278
+ # Attribute for param field ownership_exemption_reason
1279
+ attr_accessor :ownership_exemption_reason
1415
1280
  # The company's phone number (used for verification).
1416
1281
  attr_accessor :phone
1417
-
1418
1282
  # 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).
1419
1283
  attr_accessor :registration_number
1420
-
1421
1284
  # 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.
1422
1285
  attr_accessor :structure
1423
-
1424
1286
  # 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.)
1425
1287
  attr_accessor :tax_id
1426
-
1427
1288
  # The jurisdiction in which the `tax_id` is registered (Germany-based companies only).
1428
1289
  attr_accessor :tax_id_registrar
1429
-
1430
1290
  # The VAT number of the company.
1431
1291
  attr_accessor :vat_id
1432
-
1433
1292
  # Information on the verification state of the company.
1434
1293
  attr_accessor :verification
1435
1294
 
@@ -1446,6 +1305,7 @@ module Stripe
1446
1305
  name_kanji: nil,
1447
1306
  owners_provided: nil,
1448
1307
  ownership_declaration: nil,
1308
+ ownership_exemption_reason: nil,
1449
1309
  phone: nil,
1450
1310
  registration_number: nil,
1451
1311
  structure: nil,
@@ -1466,6 +1326,7 @@ module Stripe
1466
1326
  @name_kanji = name_kanji
1467
1327
  @owners_provided = owners_provided
1468
1328
  @ownership_declaration = ownership_declaration
1329
+ @ownership_exemption_reason = ownership_exemption_reason
1469
1330
  @phone = phone
1470
1331
  @registration_number = registration_number
1471
1332
  @structure = structure
@@ -1541,22 +1402,16 @@ module Stripe
1541
1402
  end
1542
1403
  # 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.
1543
1404
  attr_accessor :bank_account_ownership_verification
1544
-
1545
1405
  # One or more documents that demonstrate proof of a company's license to operate.
1546
1406
  attr_accessor :company_license
1547
-
1548
1407
  # One or more documents showing the company's Memorandum of Association.
1549
1408
  attr_accessor :company_memorandum_of_association
1550
-
1551
1409
  # (Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.
1552
1410
  attr_accessor :company_ministerial_decree
1553
-
1554
1411
  # One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
1555
1412
  attr_accessor :company_registration_verification
1556
-
1557
1413
  # One or more documents that demonstrate proof of a company's tax ID.
1558
1414
  attr_accessor :company_tax_id_verification
1559
-
1560
1415
  # One or more documents showing the company’s proof of registration with the national business registry.
1561
1416
  attr_accessor :proof_of_registration
1562
1417
 
@@ -1592,19 +1447,14 @@ module Stripe
1592
1447
  class Address < Stripe::RequestParams
1593
1448
  # City, district, suburb, town, or village.
1594
1449
  attr_accessor :city
1595
-
1596
1450
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1597
1451
  attr_accessor :country
1598
-
1599
1452
  # Address line 1 (e.g., street, PO Box, or company name).
1600
1453
  attr_accessor :line1
1601
-
1602
1454
  # Address line 2 (e.g., apartment, suite, unit, or building).
1603
1455
  attr_accessor :line2
1604
-
1605
1456
  # ZIP or postal code.
1606
1457
  attr_accessor :postal_code
1607
-
1608
1458
  # State, county, province, or region.
1609
1459
  attr_accessor :state
1610
1460
 
@@ -1628,22 +1478,16 @@ module Stripe
1628
1478
  class AddressKana < Stripe::RequestParams
1629
1479
  # City or ward.
1630
1480
  attr_accessor :city
1631
-
1632
1481
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1633
1482
  attr_accessor :country
1634
-
1635
1483
  # Block or building number.
1636
1484
  attr_accessor :line1
1637
-
1638
1485
  # Building details.
1639
1486
  attr_accessor :line2
1640
-
1641
1487
  # Postal code.
1642
1488
  attr_accessor :postal_code
1643
-
1644
1489
  # Prefecture.
1645
1490
  attr_accessor :state
1646
-
1647
1491
  # Town or cho-me.
1648
1492
  attr_accessor :town
1649
1493
 
@@ -1669,22 +1513,16 @@ module Stripe
1669
1513
  class AddressKanji < Stripe::RequestParams
1670
1514
  # City or ward.
1671
1515
  attr_accessor :city
1672
-
1673
1516
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1674
1517
  attr_accessor :country
1675
-
1676
1518
  # Block or building number.
1677
1519
  attr_accessor :line1
1678
-
1679
1520
  # Building details.
1680
1521
  attr_accessor :line2
1681
-
1682
1522
  # Postal code.
1683
1523
  attr_accessor :postal_code
1684
-
1685
1524
  # Prefecture.
1686
1525
  attr_accessor :state
1687
-
1688
1526
  # Town or cho-me.
1689
1527
  attr_accessor :town
1690
1528
 
@@ -1710,10 +1548,8 @@ module Stripe
1710
1548
  class Dob < Stripe::RequestParams
1711
1549
  # The day of birth, between 1 and 31.
1712
1550
  attr_accessor :day
1713
-
1714
1551
  # The month of birth, between 1 and 12.
1715
1552
  attr_accessor :month
1716
-
1717
1553
  # The four-digit year of birth.
1718
1554
  attr_accessor :year
1719
1555
 
@@ -1727,19 +1563,14 @@ module Stripe
1727
1563
  class RegisteredAddress < Stripe::RequestParams
1728
1564
  # City, district, suburb, town, or village.
1729
1565
  attr_accessor :city
1730
-
1731
1566
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1732
1567
  attr_accessor :country
1733
-
1734
1568
  # Address line 1 (e.g., street, PO Box, or company name).
1735
1569
  attr_accessor :line1
1736
-
1737
1570
  # Address line 2 (e.g., apartment, suite, unit, or building).
1738
1571
  attr_accessor :line2
1739
-
1740
1572
  # ZIP or postal code.
1741
1573
  attr_accessor :postal_code
1742
-
1743
1574
  # State, county, province, or region.
1744
1575
  attr_accessor :state
1745
1576
 
@@ -1763,16 +1594,12 @@ module Stripe
1763
1594
  class Relationship < Stripe::RequestParams
1764
1595
  # 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.
1765
1596
  attr_accessor :director
1766
-
1767
1597
  # Whether the person has significant responsibility to control, manage, or direct the organization.
1768
1598
  attr_accessor :executive
1769
-
1770
1599
  # Whether the person is an owner of the account’s legal entity.
1771
1600
  attr_accessor :owner
1772
-
1773
1601
  # The percent owned by the person of the account's legal entity.
1774
1602
  attr_accessor :percent_ownership
1775
-
1776
1603
  # The person's title (e.g., CEO, Support Engineer).
1777
1604
  attr_accessor :title
1778
1605
 
@@ -1795,7 +1622,6 @@ module Stripe
1795
1622
  class AdditionalDocument < Stripe::RequestParams
1796
1623
  # 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.
1797
1624
  attr_accessor :back
1798
-
1799
1625
  # 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.
1800
1626
  attr_accessor :front
1801
1627
 
@@ -1808,7 +1634,6 @@ module Stripe
1808
1634
  class Document < Stripe::RequestParams
1809
1635
  # 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.
1810
1636
  attr_accessor :back
1811
-
1812
1637
  # 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.
1813
1638
  attr_accessor :front
1814
1639
 
@@ -1819,7 +1644,6 @@ module Stripe
1819
1644
  end
1820
1645
  # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
1821
1646
  attr_accessor :additional_document
1822
-
1823
1647
  # An identifying document, either a passport or local ID card.
1824
1648
  attr_accessor :document
1825
1649
 
@@ -1830,70 +1654,48 @@ module Stripe
1830
1654
  end
1831
1655
  # The individual's primary address.
1832
1656
  attr_accessor :address
1833
-
1834
1657
  # The Kana variation of the individual's primary address (Japan only).
1835
1658
  attr_accessor :address_kana
1836
-
1837
1659
  # The Kanji variation of the individual's primary address (Japan only).
1838
1660
  attr_accessor :address_kanji
1839
-
1840
1661
  # The individual's date of birth.
1841
1662
  attr_accessor :dob
1842
-
1843
1663
  # The individual's email address.
1844
1664
  attr_accessor :email
1845
-
1846
1665
  # The individual's first name.
1847
1666
  attr_accessor :first_name
1848
-
1849
1667
  # The Kana variation of the individual's first name (Japan only).
1850
1668
  attr_accessor :first_name_kana
1851
-
1852
1669
  # The Kanji variation of the individual's first name (Japan only).
1853
1670
  attr_accessor :first_name_kanji
1854
-
1855
1671
  # A list of alternate names or aliases that the individual is known by.
1856
1672
  attr_accessor :full_name_aliases
1857
-
1858
1673
  # The individual's gender
1859
1674
  attr_accessor :gender
1860
-
1861
1675
  # 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).
1862
1676
  attr_accessor :id_number
1863
-
1864
1677
  # 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).
1865
1678
  attr_accessor :id_number_secondary
1866
-
1867
1679
  # The individual's last name.
1868
1680
  attr_accessor :last_name
1869
-
1870
1681
  # The Kana variation of the individual's last name (Japan only).
1871
1682
  attr_accessor :last_name_kana
1872
-
1873
1683
  # The Kanji variation of the individual's last name (Japan only).
1874
1684
  attr_accessor :last_name_kanji
1875
-
1876
1685
  # The individual's maiden name.
1877
1686
  attr_accessor :maiden_name
1878
-
1879
1687
  # 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`.
1880
1688
  attr_accessor :metadata
1881
-
1882
1689
  # The individual's phone number.
1883
1690
  attr_accessor :phone
1884
-
1885
1691
  # 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.
1886
1692
  attr_accessor :political_exposure
1887
-
1888
1693
  # The individual's registered address.
1889
1694
  attr_accessor :registered_address
1890
-
1891
1695
  # Describes the person’s relationship to the account.
1892
1696
  attr_accessor :relationship
1893
-
1894
1697
  # The last four digits of the individual's Social Security Number (U.S. only).
1895
1698
  attr_accessor :ssn_last_4
1896
-
1897
1699
  # The individual's verification document information.
1898
1700
  attr_accessor :verification
1899
1701
 
@@ -1970,7 +1772,6 @@ module Stripe
1970
1772
  end
1971
1773
  # 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).
1972
1774
  attr_accessor :charges
1973
-
1974
1775
  # 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).
1975
1776
  attr_accessor :payouts
1976
1777
 
@@ -1993,7 +1794,6 @@ module Stripe
1993
1794
  class BankBcaOnboarding < Stripe::RequestParams
1994
1795
  # Bank BCA business account holder name
1995
1796
  attr_accessor :account_holder_name
1996
-
1997
1797
  # Bank BCA business account number
1998
1798
  attr_accessor :business_account_number
1999
1799
 
@@ -2006,13 +1806,10 @@ module Stripe
2006
1806
  class Branding < Stripe::RequestParams
2007
1807
  # (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.
2008
1808
  attr_accessor :icon
2009
-
2010
1809
  # (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.
2011
1810
  attr_accessor :logo
2012
-
2013
1811
  # A CSS hex color value representing the primary branding color for this account.
2014
1812
  attr_accessor :primary_color
2015
-
2016
1813
  # A CSS hex color value representing the secondary branding color for this account.
2017
1814
  attr_accessor :secondary_color
2018
1815
 
@@ -2027,7 +1824,6 @@ module Stripe
2027
1824
  class Capital < Stripe::RequestParams
2028
1825
  # Per-currency mapping of user-selected destination accounts used to pay out loans.
2029
1826
  attr_accessor :payout_destination
2030
-
2031
1827
  # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
2032
1828
  attr_accessor :payout_destination_selector
2033
1829
 
@@ -2041,10 +1837,8 @@ module Stripe
2041
1837
  class TosAcceptance < Stripe::RequestParams
2042
1838
  # The Unix timestamp marking when the account representative accepted the service agreement.
2043
1839
  attr_accessor :date
2044
-
2045
1840
  # The IP address from which the account representative accepted the service agreement.
2046
1841
  attr_accessor :ip
2047
-
2048
1842
  # The user agent of the browser from which the account representative accepted the service agreement.
2049
1843
  attr_accessor :user_agent
2050
1844
 
@@ -2066,7 +1860,6 @@ module Stripe
2066
1860
  class DeclineOn < Stripe::RequestParams
2067
1861
  # 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.
2068
1862
  attr_accessor :avs_failure
2069
-
2070
1863
  # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
2071
1864
  attr_accessor :cvc_failure
2072
1865
 
@@ -2077,13 +1870,10 @@ module Stripe
2077
1870
  end
2078
1871
  # Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
2079
1872
  attr_accessor :decline_on
2080
-
2081
1873
  # 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.
2082
1874
  attr_accessor :statement_descriptor_prefix
2083
-
2084
1875
  # 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.
2085
1876
  attr_accessor :statement_descriptor_prefix_kana
2086
-
2087
1877
  # 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.
2088
1878
  attr_accessor :statement_descriptor_prefix_kanji
2089
1879
 
@@ -2112,10 +1902,8 @@ module Stripe
2112
1902
  class Payments < Stripe::RequestParams
2113
1903
  # 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).
2114
1904
  attr_accessor :statement_descriptor
2115
-
2116
1905
  # 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).
2117
1906
  attr_accessor :statement_descriptor_kana
2118
-
2119
1907
  # 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).
2120
1908
  attr_accessor :statement_descriptor_kanji
2121
1909
 
@@ -2134,13 +1922,10 @@ module Stripe
2134
1922
  class Schedule < Stripe::RequestParams
2135
1923
  # 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).
2136
1924
  attr_accessor :delay_days
2137
-
2138
1925
  # How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.
2139
1926
  attr_accessor :interval
2140
-
2141
1927
  # 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`.
2142
1928
  attr_accessor :monthly_anchor
2143
-
2144
1929
  # The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)
2145
1930
  attr_accessor :weekly_anchor
2146
1931
 
@@ -2153,10 +1938,8 @@ module Stripe
2153
1938
  end
2154
1939
  # 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).
2155
1940
  attr_accessor :debit_negative_balances
2156
-
2157
1941
  # 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.
2158
1942
  attr_accessor :schedule
2159
-
2160
1943
  # 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.
2161
1944
  attr_accessor :statement_descriptor
2162
1945
 
@@ -2180,10 +1963,8 @@ module Stripe
2180
1963
  class TosAcceptance < Stripe::RequestParams
2181
1964
  # The Unix timestamp marking when the account representative accepted the service agreement.
2182
1965
  attr_accessor :date
2183
-
2184
1966
  # The IP address from which the account representative accepted the service agreement.
2185
1967
  attr_accessor :ip
2186
-
2187
1968
  # The user agent of the browser from which the account representative accepted the service agreement.
2188
1969
  attr_accessor :user_agent
2189
1970
 
@@ -2202,34 +1983,24 @@ module Stripe
2202
1983
  end
2203
1984
  # Settings specific to Bacs Direct Debit payments.
2204
1985
  attr_accessor :bacs_debit_payments
2205
-
2206
1986
  # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2207
1987
  attr_accessor :bank_bca_onboarding
2208
-
2209
1988
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2210
1989
  attr_accessor :branding
2211
-
2212
1990
  # Settings specific to the account's use of the Capital product.
2213
1991
  attr_accessor :capital
2214
-
2215
1992
  # Settings specific to the account's use of the Card Issuing product.
2216
1993
  attr_accessor :card_issuing
2217
-
2218
1994
  # Settings specific to card charging on the account.
2219
1995
  attr_accessor :card_payments
2220
-
2221
1996
  # Settings specific to the account's use of Invoices.
2222
1997
  attr_accessor :invoices
2223
-
2224
1998
  # Settings that apply across payment methods for charging on the account.
2225
1999
  attr_accessor :payments
2226
-
2227
2000
  # Settings specific to the account's payouts.
2228
2001
  attr_accessor :payouts
2229
-
2230
2002
  # Settings specific to the account's tax forms.
2231
2003
  attr_accessor :tax_forms
2232
-
2233
2004
  # Settings specific to the account's Treasury FinancialAccounts.
2234
2005
  attr_accessor :treasury
2235
2006
 
@@ -2263,13 +2034,10 @@ module Stripe
2263
2034
  class TosAcceptance < Stripe::RequestParams
2264
2035
  # The Unix timestamp marking when the account representative accepted their service agreement.
2265
2036
  attr_accessor :date
2266
-
2267
2037
  # The IP address from which the account representative accepted their service agreement.
2268
2038
  attr_accessor :ip
2269
-
2270
2039
  # The user's service agreement type.
2271
2040
  attr_accessor :service_agreement
2272
-
2273
2041
  # The user agent of the browser from which the account representative accepted their service agreement.
2274
2042
  attr_accessor :user_agent
2275
2043
 
@@ -2282,13 +2050,10 @@ module Stripe
2282
2050
  end
2283
2051
  # An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account.
2284
2052
  attr_accessor :account_token
2285
-
2286
2053
  # Business information about the account.
2287
2054
  attr_accessor :business_profile
2288
-
2289
2055
  # 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.
2290
2056
  attr_accessor :business_type
2291
-
2292
2057
  # Each key of the dictionary represents a capability, and each capability
2293
2058
  # maps to its settings (for example, whether it has been requested or not). Each
2294
2059
  # capability is inactive until you have provided its specific
@@ -2298,40 +2063,28 @@ module Stripe
2298
2063
  # Required when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)
2299
2064
  # is `none`, which includes Custom accounts.
2300
2065
  attr_accessor :capabilities
2301
-
2302
2066
  # 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.
2303
2067
  attr_accessor :company
2304
-
2305
2068
  # 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).
2306
2069
  attr_accessor :default_currency
2307
-
2308
2070
  # Documents that may be submitted to satisfy various informational requests.
2309
2071
  attr_accessor :documents
2310
-
2311
2072
  # The email address of the account holder. This is only to make the account easier to identify to you. If [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, Stripe doesn't email the account without your consent.
2312
2073
  attr_accessor :email
2313
-
2314
2074
  # Specifies which fields in the response should be expanded.
2315
2075
  attr_accessor :expand
2316
-
2317
2076
  # 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.
2318
2077
  attr_accessor :external_account
2319
-
2320
2078
  # A hash of account group type to tokens. These are account groups this account should be added to.
2321
2079
  attr_accessor :groups
2322
-
2323
2080
  # 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.
2324
2081
  attr_accessor :individual
2325
-
2326
2082
  # 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`.
2327
2083
  attr_accessor :metadata
2328
-
2329
2084
  # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2330
2085
  attr_accessor :risk_controls
2331
-
2332
2086
  # Options for customizing how the account functions within Stripe.
2333
2087
  attr_accessor :settings
2334
-
2335
2088
  # 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.
2336
2089
  attr_accessor :tos_acceptance
2337
2090
 
@@ -2385,13 +2138,10 @@ module Stripe
2385
2138
  class Created < Stripe::RequestParams
2386
2139
  # Minimum value to filter by (exclusive)
2387
2140
  attr_accessor :gt
2388
-
2389
2141
  # Minimum value to filter by (inclusive)
2390
2142
  attr_accessor :gte
2391
-
2392
2143
  # Maximum value to filter by (exclusive)
2393
2144
  attr_accessor :lt
2394
-
2395
2145
  # Maximum value to filter by (inclusive)
2396
2146
  attr_accessor :lte
2397
2147
 
@@ -2404,16 +2154,12 @@ module Stripe
2404
2154
  end
2405
2155
  # Only return connected accounts that were created during the given date interval.
2406
2156
  attr_accessor :created
2407
-
2408
2157
  # 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.
2409
2158
  attr_accessor :ending_before
2410
-
2411
2159
  # Specifies which fields in the response should be expanded.
2412
2160
  attr_accessor :expand
2413
-
2414
2161
  # A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
2415
2162
  attr_accessor :limit
2416
-
2417
2163
  # 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.
2418
2164
  attr_accessor :starting_after
2419
2165
 
@@ -2430,22 +2176,16 @@ module Stripe
2430
2176
  class BankAccount < Stripe::RequestParams
2431
2177
  # Attribute for param field object
2432
2178
  attr_accessor :object
2433
-
2434
2179
  # 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.
2435
2180
  attr_accessor :account_holder_name
2436
-
2437
2181
  # 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.
2438
2182
  attr_accessor :account_holder_type
2439
-
2440
2183
  # The account number for the bank account, in string form. Must be a checking account.
2441
2184
  attr_accessor :account_number
2442
-
2443
2185
  # The country in which the bank account is located.
2444
2186
  attr_accessor :country
2445
-
2446
2187
  # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
2447
2188
  attr_accessor :currency
2448
-
2449
2189
  # 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.
2450
2190
  attr_accessor :routing_number
2451
2191
 
@@ -2472,10 +2212,8 @@ module Stripe
2472
2212
  class AnnualRevenue < Stripe::RequestParams
2473
2213
  # A non-negative integer representing the amount in the [smallest currency unit](/currencies#zero-decimal).
2474
2214
  attr_accessor :amount
2475
-
2476
2215
  # 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).
2477
2216
  attr_accessor :currency
2478
-
2479
2217
  # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
2480
2218
  attr_accessor :fiscal_year_end
2481
2219
 
@@ -2489,7 +2227,6 @@ module Stripe
2489
2227
  class MonthlyEstimatedRevenue < Stripe::RequestParams
2490
2228
  # A non-negative integer representing how much to charge in the [smallest currency unit](/currencies#zero-decimal).
2491
2229
  attr_accessor :amount
2492
-
2493
2230
  # 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).
2494
2231
  attr_accessor :currency
2495
2232
 
@@ -2502,19 +2239,14 @@ module Stripe
2502
2239
  class SupportAddress < Stripe::RequestParams
2503
2240
  # City, district, suburb, town, or village.
2504
2241
  attr_accessor :city
2505
-
2506
2242
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
2507
2243
  attr_accessor :country
2508
-
2509
2244
  # Address line 1 (e.g., street, PO Box, or company name).
2510
2245
  attr_accessor :line1
2511
-
2512
2246
  # Address line 2 (e.g., apartment, suite, unit, or building).
2513
2247
  attr_accessor :line2
2514
-
2515
2248
  # ZIP or postal code.
2516
2249
  attr_accessor :postal_code
2517
-
2518
2250
  # State, county, province, or region.
2519
2251
  attr_accessor :state
2520
2252
 
@@ -2536,34 +2268,24 @@ module Stripe
2536
2268
  end
2537
2269
  # The applicant's gross annual revenue for its preceding fiscal year.
2538
2270
  attr_accessor :annual_revenue
2539
-
2540
2271
  # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
2541
2272
  attr_accessor :estimated_worker_count
2542
-
2543
2273
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
2544
2274
  attr_accessor :mcc
2545
-
2546
2275
  # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
2547
2276
  attr_accessor :monthly_estimated_revenue
2548
-
2549
2277
  # The customer-facing business name.
2550
2278
  attr_accessor :name
2551
-
2552
2279
  # Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
2553
2280
  attr_accessor :product_description
2554
-
2555
2281
  # A publicly available mailing address for sending support issues to.
2556
2282
  attr_accessor :support_address
2557
-
2558
2283
  # A publicly available email address for sending support issues to.
2559
2284
  attr_accessor :support_email
2560
-
2561
2285
  # A publicly available phone number to call with support issues.
2562
2286
  attr_accessor :support_phone
2563
-
2564
2287
  # A publicly available website for handling support issues.
2565
2288
  attr_accessor :support_url
2566
-
2567
2289
  # The business's publicly available website.
2568
2290
  attr_accessor :url
2569
2291
 
@@ -3190,199 +2912,134 @@ module Stripe
3190
2912
  end
3191
2913
  # The acss_debit_payments capability.
3192
2914
  attr_accessor :acss_debit_payments
3193
-
3194
2915
  # The affirm_payments capability.
3195
2916
  attr_accessor :affirm_payments
3196
-
3197
2917
  # The afterpay_clearpay_payments capability.
3198
2918
  attr_accessor :afterpay_clearpay_payments
3199
-
3200
2919
  # The alma_payments capability.
3201
2920
  attr_accessor :alma_payments
3202
-
3203
2921
  # The amazon_pay_payments capability.
3204
2922
  attr_accessor :amazon_pay_payments
3205
-
3206
2923
  # The au_becs_debit_payments capability.
3207
2924
  attr_accessor :au_becs_debit_payments
3208
-
3209
2925
  # The automatic_indirect_tax capability.
3210
2926
  attr_accessor :automatic_indirect_tax
3211
-
3212
2927
  # The bacs_debit_payments capability.
3213
2928
  attr_accessor :bacs_debit_payments
3214
-
3215
2929
  # The bancontact_payments capability.
3216
2930
  attr_accessor :bancontact_payments
3217
-
3218
2931
  # The bank_transfer_payments capability.
3219
2932
  attr_accessor :bank_transfer_payments
3220
-
3221
2933
  # The blik_payments capability.
3222
2934
  attr_accessor :blik_payments
3223
-
3224
2935
  # The boleto_payments capability.
3225
2936
  attr_accessor :boleto_payments
3226
-
3227
2937
  # The card_issuing capability.
3228
2938
  attr_accessor :card_issuing
3229
-
3230
2939
  # The card_payments capability.
3231
2940
  attr_accessor :card_payments
3232
-
3233
2941
  # The cartes_bancaires_payments capability.
3234
2942
  attr_accessor :cartes_bancaires_payments
3235
-
3236
2943
  # The cashapp_payments capability.
3237
2944
  attr_accessor :cashapp_payments
3238
-
3239
2945
  # The eps_payments capability.
3240
2946
  attr_accessor :eps_payments
3241
-
3242
2947
  # The fpx_payments capability.
3243
2948
  attr_accessor :fpx_payments
3244
-
3245
2949
  # The gb_bank_transfer_payments capability.
3246
2950
  attr_accessor :gb_bank_transfer_payments
3247
-
3248
2951
  # The giropay_payments capability.
3249
2952
  attr_accessor :giropay_payments
3250
-
3251
2953
  # The gopay_payments capability.
3252
2954
  attr_accessor :gopay_payments
3253
-
3254
2955
  # The grabpay_payments capability.
3255
2956
  attr_accessor :grabpay_payments
3256
-
3257
2957
  # The id_bank_transfer_payments capability.
3258
2958
  attr_accessor :id_bank_transfer_payments
3259
-
3260
2959
  # The id_bank_transfer_payments_bca capability.
3261
2960
  attr_accessor :id_bank_transfer_payments_bca
3262
-
3263
2961
  # The ideal_payments capability.
3264
2962
  attr_accessor :ideal_payments
3265
-
3266
2963
  # The india_international_payments capability.
3267
2964
  attr_accessor :india_international_payments
3268
-
3269
2965
  # The jcb_payments capability.
3270
2966
  attr_accessor :jcb_payments
3271
-
3272
2967
  # The jp_bank_transfer_payments capability.
3273
2968
  attr_accessor :jp_bank_transfer_payments
3274
-
3275
2969
  # The kakao_pay_payments capability.
3276
2970
  attr_accessor :kakao_pay_payments
3277
-
3278
2971
  # The klarna_payments capability.
3279
2972
  attr_accessor :klarna_payments
3280
-
3281
2973
  # The konbini_payments capability.
3282
2974
  attr_accessor :konbini_payments
3283
-
3284
2975
  # The kr_card_payments capability.
3285
2976
  attr_accessor :kr_card_payments
3286
-
3287
2977
  # The legacy_payments capability.
3288
2978
  attr_accessor :legacy_payments
3289
-
3290
2979
  # The link_payments capability.
3291
2980
  attr_accessor :link_payments
3292
-
3293
2981
  # The mb_way_payments capability.
3294
2982
  attr_accessor :mb_way_payments
3295
-
3296
2983
  # The mobilepay_payments capability.
3297
2984
  attr_accessor :mobilepay_payments
3298
-
3299
2985
  # The multibanco_payments capability.
3300
2986
  attr_accessor :multibanco_payments
3301
-
3302
2987
  # The mx_bank_transfer_payments capability.
3303
2988
  attr_accessor :mx_bank_transfer_payments
3304
-
3305
2989
  # The naver_pay_payments capability.
3306
2990
  attr_accessor :naver_pay_payments
3307
-
3308
2991
  # The oxxo_payments capability.
3309
2992
  attr_accessor :oxxo_payments
3310
-
3311
2993
  # The p24_payments capability.
3312
2994
  attr_accessor :p24_payments
3313
-
3314
2995
  # The payco_payments capability.
3315
2996
  attr_accessor :payco_payments
3316
-
3317
2997
  # The paynow_payments capability.
3318
2998
  attr_accessor :paynow_payments
3319
-
3320
2999
  # The paypal_payments capability.
3321
3000
  attr_accessor :paypal_payments
3322
-
3323
3001
  # The payto_payments capability.
3324
3002
  attr_accessor :payto_payments
3325
-
3326
3003
  # The promptpay_payments capability.
3327
3004
  attr_accessor :promptpay_payments
3328
-
3329
3005
  # The qris_payments capability.
3330
3006
  attr_accessor :qris_payments
3331
-
3332
3007
  # The rechnung_payments capability.
3333
3008
  attr_accessor :rechnung_payments
3334
-
3335
3009
  # The revolut_pay_payments capability.
3336
3010
  attr_accessor :revolut_pay_payments
3337
-
3338
3011
  # The samsung_pay_payments capability.
3339
3012
  attr_accessor :samsung_pay_payments
3340
-
3341
3013
  # The sepa_bank_transfer_payments capability.
3342
3014
  attr_accessor :sepa_bank_transfer_payments
3343
-
3344
3015
  # The sepa_debit_payments capability.
3345
3016
  attr_accessor :sepa_debit_payments
3346
-
3347
3017
  # The shopeepay_payments capability.
3348
3018
  attr_accessor :shopeepay_payments
3349
-
3350
3019
  # The sofort_payments capability.
3351
3020
  attr_accessor :sofort_payments
3352
-
3353
3021
  # The swish_payments capability.
3354
3022
  attr_accessor :swish_payments
3355
-
3356
3023
  # The tax_reporting_us_1099_k capability.
3357
3024
  attr_accessor :tax_reporting_us_1099_k
3358
-
3359
3025
  # The tax_reporting_us_1099_misc capability.
3360
3026
  attr_accessor :tax_reporting_us_1099_misc
3361
-
3362
3027
  # The transfers capability.
3363
3028
  attr_accessor :transfers
3364
-
3365
3029
  # The treasury capability.
3366
3030
  attr_accessor :treasury
3367
-
3368
3031
  # The treasury_evolve capability.
3369
3032
  attr_accessor :treasury_evolve
3370
-
3371
3033
  # The treasury_fifth_third capability.
3372
3034
  attr_accessor :treasury_fifth_third
3373
-
3374
3035
  # The treasury_goldman_sachs capability.
3375
3036
  attr_accessor :treasury_goldman_sachs
3376
-
3377
3037
  # The twint_payments capability.
3378
3038
  attr_accessor :twint_payments
3379
-
3380
3039
  # The us_bank_account_ach_payments capability.
3381
3040
  attr_accessor :us_bank_account_ach_payments
3382
-
3383
3041
  # The us_bank_transfer_payments capability.
3384
3042
  attr_accessor :us_bank_transfer_payments
3385
-
3386
3043
  # The zip_payments capability.
3387
3044
  attr_accessor :zip_payments
3388
3045
 
@@ -3526,46 +3183,32 @@ module Stripe
3526
3183
  class Card < Stripe::RequestParams
3527
3184
  # Attribute for param field object
3528
3185
  attr_accessor :object
3529
-
3530
3186
  # Attribute for param field address_city
3531
3187
  attr_accessor :address_city
3532
-
3533
3188
  # Attribute for param field address_country
3534
3189
  attr_accessor :address_country
3535
-
3536
3190
  # Attribute for param field address_line1
3537
3191
  attr_accessor :address_line1
3538
-
3539
3192
  # Attribute for param field address_line2
3540
3193
  attr_accessor :address_line2
3541
-
3542
3194
  # Attribute for param field address_state
3543
3195
  attr_accessor :address_state
3544
-
3545
3196
  # Attribute for param field address_zip
3546
3197
  attr_accessor :address_zip
3547
-
3548
3198
  # Attribute for param field currency
3549
3199
  attr_accessor :currency
3550
-
3551
3200
  # Attribute for param field cvc
3552
3201
  attr_accessor :cvc
3553
-
3554
3202
  # Attribute for param field exp_month
3555
3203
  attr_accessor :exp_month
3556
-
3557
3204
  # Attribute for param field exp_year
3558
3205
  attr_accessor :exp_year
3559
-
3560
3206
  # Attribute for param field name
3561
3207
  attr_accessor :name
3562
-
3563
3208
  # Attribute for param field number
3564
3209
  attr_accessor :number
3565
-
3566
3210
  # 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.
3567
3211
  attr_accessor :metadata
3568
-
3569
3212
  # Attribute for param field default_for_currency
3570
3213
  attr_accessor :default_for_currency
3571
3214
 
@@ -3607,10 +3250,8 @@ module Stripe
3607
3250
  class CardToken < Stripe::RequestParams
3608
3251
  # Attribute for param field object
3609
3252
  attr_accessor :object
3610
-
3611
3253
  # Attribute for param field currency
3612
3254
  attr_accessor :currency
3613
-
3614
3255
  # Attribute for param field token
3615
3256
  attr_accessor :token
3616
3257
 
@@ -3625,19 +3266,14 @@ module Stripe
3625
3266
  class Address < Stripe::RequestParams
3626
3267
  # City, district, suburb, town, or village.
3627
3268
  attr_accessor :city
3628
-
3629
3269
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3630
3270
  attr_accessor :country
3631
-
3632
3271
  # Address line 1 (e.g., street, PO Box, or company name).
3633
3272
  attr_accessor :line1
3634
-
3635
3273
  # Address line 2 (e.g., apartment, suite, unit, or building).
3636
3274
  attr_accessor :line2
3637
-
3638
3275
  # ZIP or postal code.
3639
3276
  attr_accessor :postal_code
3640
-
3641
3277
  # State, county, province, or region.
3642
3278
  attr_accessor :state
3643
3279
 
@@ -3661,22 +3297,16 @@ module Stripe
3661
3297
  class AddressKana < Stripe::RequestParams
3662
3298
  # City or ward.
3663
3299
  attr_accessor :city
3664
-
3665
3300
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3666
3301
  attr_accessor :country
3667
-
3668
3302
  # Block or building number.
3669
3303
  attr_accessor :line1
3670
-
3671
3304
  # Building details.
3672
3305
  attr_accessor :line2
3673
-
3674
3306
  # Postal code.
3675
3307
  attr_accessor :postal_code
3676
-
3677
3308
  # Prefecture.
3678
3309
  attr_accessor :state
3679
-
3680
3310
  # Town or cho-me.
3681
3311
  attr_accessor :town
3682
3312
 
@@ -3702,22 +3332,16 @@ module Stripe
3702
3332
  class AddressKanji < Stripe::RequestParams
3703
3333
  # City or ward.
3704
3334
  attr_accessor :city
3705
-
3706
3335
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3707
3336
  attr_accessor :country
3708
-
3709
3337
  # Block or building number.
3710
3338
  attr_accessor :line1
3711
-
3712
3339
  # Building details.
3713
3340
  attr_accessor :line2
3714
-
3715
3341
  # Postal code.
3716
3342
  attr_accessor :postal_code
3717
-
3718
3343
  # Prefecture.
3719
3344
  attr_accessor :state
3720
-
3721
3345
  # Town or cho-me.
3722
3346
  attr_accessor :town
3723
3347
 
@@ -3743,10 +3367,8 @@ module Stripe
3743
3367
  class OwnershipDeclaration < Stripe::RequestParams
3744
3368
  # The Unix timestamp marking when the beneficial owner attestation was made.
3745
3369
  attr_accessor :date
3746
-
3747
3370
  # The IP address from which the beneficial owner attestation was made.
3748
3371
  attr_accessor :ip
3749
-
3750
3372
  # The user agent of the browser from which the beneficial owner attestation was made.
3751
3373
  attr_accessor :user_agent
3752
3374
 
@@ -3761,7 +3383,6 @@ module Stripe
3761
3383
  class Document < Stripe::RequestParams
3762
3384
  # 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.
3763
3385
  attr_accessor :back
3764
-
3765
3386
  # 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.
3766
3387
  attr_accessor :front
3767
3388
 
@@ -3779,58 +3400,42 @@ module Stripe
3779
3400
  end
3780
3401
  # The company's primary address.
3781
3402
  attr_accessor :address
3782
-
3783
3403
  # The Kana variation of the company's primary address (Japan only).
3784
3404
  attr_accessor :address_kana
3785
-
3786
3405
  # The Kanji variation of the company's primary address (Japan only).
3787
3406
  attr_accessor :address_kanji
3788
-
3789
3407
  # 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.
3790
3408
  attr_accessor :directors_provided
3791
-
3792
3409
  # 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.
3793
3410
  attr_accessor :executives_provided
3794
-
3795
3411
  # The export license ID number of the company, also referred as Import Export Code (India only).
3796
3412
  attr_accessor :export_license_id
3797
-
3798
3413
  # The purpose code to use for export transactions (India only).
3799
3414
  attr_accessor :export_purpose_code
3800
-
3801
3415
  # The company's legal name.
3802
3416
  attr_accessor :name
3803
-
3804
3417
  # The Kana variation of the company's legal name (Japan only).
3805
3418
  attr_accessor :name_kana
3806
-
3807
3419
  # The Kanji variation of the company's legal name (Japan only).
3808
3420
  attr_accessor :name_kanji
3809
-
3810
3421
  # 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.
3811
3422
  attr_accessor :owners_provided
3812
-
3813
3423
  # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
3814
3424
  attr_accessor :ownership_declaration
3815
-
3425
+ # Attribute for param field ownership_exemption_reason
3426
+ attr_accessor :ownership_exemption_reason
3816
3427
  # The company's phone number (used for verification).
3817
3428
  attr_accessor :phone
3818
-
3819
3429
  # 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).
3820
3430
  attr_accessor :registration_number
3821
-
3822
3431
  # 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.
3823
3432
  attr_accessor :structure
3824
-
3825
3433
  # 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.)
3826
3434
  attr_accessor :tax_id
3827
-
3828
3435
  # The jurisdiction in which the `tax_id` is registered (Germany-based companies only).
3829
3436
  attr_accessor :tax_id_registrar
3830
-
3831
3437
  # The VAT number of the company.
3832
3438
  attr_accessor :vat_id
3833
-
3834
3439
  # Information on the verification state of the company.
3835
3440
  attr_accessor :verification
3836
3441
 
@@ -3847,6 +3452,7 @@ module Stripe
3847
3452
  name_kanji: nil,
3848
3453
  owners_provided: nil,
3849
3454
  ownership_declaration: nil,
3455
+ ownership_exemption_reason: nil,
3850
3456
  phone: nil,
3851
3457
  registration_number: nil,
3852
3458
  structure: nil,
@@ -3867,6 +3473,7 @@ module Stripe
3867
3473
  @name_kanji = name_kanji
3868
3474
  @owners_provided = owners_provided
3869
3475
  @ownership_declaration = ownership_declaration
3476
+ @ownership_exemption_reason = ownership_exemption_reason
3870
3477
  @phone = phone
3871
3478
  @registration_number = registration_number
3872
3479
  @structure = structure
@@ -3881,10 +3488,8 @@ module Stripe
3881
3488
  class Application < Stripe::RequestParams
3882
3489
  # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
3883
3490
  attr_accessor :loss_liable
3884
-
3885
3491
  # Whether the controller owns onboarding for this account.
3886
3492
  attr_accessor :onboarding_owner
3887
-
3888
3493
  # Whether the controller has pricing controls for this account.
3889
3494
  attr_accessor :pricing_controls
3890
3495
 
@@ -3932,19 +3537,14 @@ module Stripe
3932
3537
  end
3933
3538
  # A hash of configuration describing the Connect application that controls the account.
3934
3539
  attr_accessor :application
3935
-
3936
3540
  # Properties of the account's dashboard.
3937
3541
  attr_accessor :dashboard
3938
-
3939
3542
  # A hash of configuration for who pays Stripe fees for product usage on this account.
3940
3543
  attr_accessor :fees
3941
-
3942
3544
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
3943
3545
  attr_accessor :losses
3944
-
3945
3546
  # A value indicating responsibility for collecting updated information when requirements on the account are due or change. Defaults to `stripe`.
3946
3547
  attr_accessor :requirement_collection
3947
-
3948
3548
  # A hash of configuration for Stripe-hosted dashboards.
3949
3549
  attr_accessor :stripe_dashboard
3950
3550
 
@@ -4030,22 +3630,16 @@ module Stripe
4030
3630
  end
4031
3631
  # 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.
4032
3632
  attr_accessor :bank_account_ownership_verification
4033
-
4034
3633
  # One or more documents that demonstrate proof of a company's license to operate.
4035
3634
  attr_accessor :company_license
4036
-
4037
3635
  # One or more documents showing the company's Memorandum of Association.
4038
3636
  attr_accessor :company_memorandum_of_association
4039
-
4040
3637
  # (Certain countries only) One or more documents showing the ministerial decree legalizing the company's establishment.
4041
3638
  attr_accessor :company_ministerial_decree
4042
-
4043
3639
  # One or more documents that demonstrate proof of a company's registration with the appropriate local authorities.
4044
3640
  attr_accessor :company_registration_verification
4045
-
4046
3641
  # One or more documents that demonstrate proof of a company's tax ID.
4047
3642
  attr_accessor :company_tax_id_verification
4048
-
4049
3643
  # One or more documents showing the company’s proof of registration with the national business registry.
4050
3644
  attr_accessor :proof_of_registration
4051
3645
 
@@ -4081,19 +3675,14 @@ module Stripe
4081
3675
  class Address < Stripe::RequestParams
4082
3676
  # City, district, suburb, town, or village.
4083
3677
  attr_accessor :city
4084
-
4085
3678
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4086
3679
  attr_accessor :country
4087
-
4088
3680
  # Address line 1 (e.g., street, PO Box, or company name).
4089
3681
  attr_accessor :line1
4090
-
4091
3682
  # Address line 2 (e.g., apartment, suite, unit, or building).
4092
3683
  attr_accessor :line2
4093
-
4094
3684
  # ZIP or postal code.
4095
3685
  attr_accessor :postal_code
4096
-
4097
3686
  # State, county, province, or region.
4098
3687
  attr_accessor :state
4099
3688
 
@@ -4117,22 +3706,16 @@ module Stripe
4117
3706
  class AddressKana < Stripe::RequestParams
4118
3707
  # City or ward.
4119
3708
  attr_accessor :city
4120
-
4121
3709
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4122
3710
  attr_accessor :country
4123
-
4124
3711
  # Block or building number.
4125
3712
  attr_accessor :line1
4126
-
4127
3713
  # Building details.
4128
3714
  attr_accessor :line2
4129
-
4130
3715
  # Postal code.
4131
3716
  attr_accessor :postal_code
4132
-
4133
3717
  # Prefecture.
4134
3718
  attr_accessor :state
4135
-
4136
3719
  # Town or cho-me.
4137
3720
  attr_accessor :town
4138
3721
 
@@ -4158,22 +3741,16 @@ module Stripe
4158
3741
  class AddressKanji < Stripe::RequestParams
4159
3742
  # City or ward.
4160
3743
  attr_accessor :city
4161
-
4162
3744
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4163
3745
  attr_accessor :country
4164
-
4165
3746
  # Block or building number.
4166
3747
  attr_accessor :line1
4167
-
4168
3748
  # Building details.
4169
3749
  attr_accessor :line2
4170
-
4171
3750
  # Postal code.
4172
3751
  attr_accessor :postal_code
4173
-
4174
3752
  # Prefecture.
4175
3753
  attr_accessor :state
4176
-
4177
3754
  # Town or cho-me.
4178
3755
  attr_accessor :town
4179
3756
 
@@ -4199,10 +3776,8 @@ module Stripe
4199
3776
  class Dob < Stripe::RequestParams
4200
3777
  # The day of birth, between 1 and 31.
4201
3778
  attr_accessor :day
4202
-
4203
3779
  # The month of birth, between 1 and 12.
4204
3780
  attr_accessor :month
4205
-
4206
3781
  # The four-digit year of birth.
4207
3782
  attr_accessor :year
4208
3783
 
@@ -4216,19 +3791,14 @@ module Stripe
4216
3791
  class RegisteredAddress < Stripe::RequestParams
4217
3792
  # City, district, suburb, town, or village.
4218
3793
  attr_accessor :city
4219
-
4220
3794
  # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
4221
3795
  attr_accessor :country
4222
-
4223
3796
  # Address line 1 (e.g., street, PO Box, or company name).
4224
3797
  attr_accessor :line1
4225
-
4226
3798
  # Address line 2 (e.g., apartment, suite, unit, or building).
4227
3799
  attr_accessor :line2
4228
-
4229
3800
  # ZIP or postal code.
4230
3801
  attr_accessor :postal_code
4231
-
4232
3802
  # State, county, province, or region.
4233
3803
  attr_accessor :state
4234
3804
 
@@ -4252,16 +3822,12 @@ module Stripe
4252
3822
  class Relationship < Stripe::RequestParams
4253
3823
  # 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.
4254
3824
  attr_accessor :director
4255
-
4256
3825
  # Whether the person has significant responsibility to control, manage, or direct the organization.
4257
3826
  attr_accessor :executive
4258
-
4259
3827
  # Whether the person is an owner of the account’s legal entity.
4260
3828
  attr_accessor :owner
4261
-
4262
3829
  # The percent owned by the person of the account's legal entity.
4263
3830
  attr_accessor :percent_ownership
4264
-
4265
3831
  # The person's title (e.g., CEO, Support Engineer).
4266
3832
  attr_accessor :title
4267
3833
 
@@ -4284,7 +3850,6 @@ module Stripe
4284
3850
  class AdditionalDocument < Stripe::RequestParams
4285
3851
  # 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.
4286
3852
  attr_accessor :back
4287
-
4288
3853
  # 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.
4289
3854
  attr_accessor :front
4290
3855
 
@@ -4297,7 +3862,6 @@ module Stripe
4297
3862
  class Document < Stripe::RequestParams
4298
3863
  # 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.
4299
3864
  attr_accessor :back
4300
-
4301
3865
  # 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.
4302
3866
  attr_accessor :front
4303
3867
 
@@ -4308,7 +3872,6 @@ module Stripe
4308
3872
  end
4309
3873
  # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
4310
3874
  attr_accessor :additional_document
4311
-
4312
3875
  # An identifying document, either a passport or local ID card.
4313
3876
  attr_accessor :document
4314
3877
 
@@ -4319,70 +3882,48 @@ module Stripe
4319
3882
  end
4320
3883
  # The individual's primary address.
4321
3884
  attr_accessor :address
4322
-
4323
3885
  # The Kana variation of the individual's primary address (Japan only).
4324
3886
  attr_accessor :address_kana
4325
-
4326
3887
  # The Kanji variation of the individual's primary address (Japan only).
4327
3888
  attr_accessor :address_kanji
4328
-
4329
3889
  # The individual's date of birth.
4330
3890
  attr_accessor :dob
4331
-
4332
3891
  # The individual's email address.
4333
3892
  attr_accessor :email
4334
-
4335
3893
  # The individual's first name.
4336
3894
  attr_accessor :first_name
4337
-
4338
3895
  # The Kana variation of the individual's first name (Japan only).
4339
3896
  attr_accessor :first_name_kana
4340
-
4341
3897
  # The Kanji variation of the individual's first name (Japan only).
4342
3898
  attr_accessor :first_name_kanji
4343
-
4344
3899
  # A list of alternate names or aliases that the individual is known by.
4345
3900
  attr_accessor :full_name_aliases
4346
-
4347
3901
  # The individual's gender
4348
3902
  attr_accessor :gender
4349
-
4350
3903
  # 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).
4351
3904
  attr_accessor :id_number
4352
-
4353
3905
  # 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).
4354
3906
  attr_accessor :id_number_secondary
4355
-
4356
3907
  # The individual's last name.
4357
3908
  attr_accessor :last_name
4358
-
4359
3909
  # The Kana variation of the individual's last name (Japan only).
4360
3910
  attr_accessor :last_name_kana
4361
-
4362
3911
  # The Kanji variation of the individual's last name (Japan only).
4363
3912
  attr_accessor :last_name_kanji
4364
-
4365
3913
  # The individual's maiden name.
4366
3914
  attr_accessor :maiden_name
4367
-
4368
3915
  # 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`.
4369
3916
  attr_accessor :metadata
4370
-
4371
3917
  # The individual's phone number.
4372
3918
  attr_accessor :phone
4373
-
4374
3919
  # 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.
4375
3920
  attr_accessor :political_exposure
4376
-
4377
3921
  # The individual's registered address.
4378
3922
  attr_accessor :registered_address
4379
-
4380
3923
  # Describes the person’s relationship to the account.
4381
3924
  attr_accessor :relationship
4382
-
4383
3925
  # The last four digits of the individual's Social Security Number (U.S. only).
4384
3926
  attr_accessor :ssn_last_4
4385
-
4386
3927
  # The individual's verification document information.
4387
3928
  attr_accessor :verification
4388
3929
 
@@ -4459,7 +4000,6 @@ module Stripe
4459
4000
  end
4460
4001
  # 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).
4461
4002
  attr_accessor :charges
4462
-
4463
4003
  # 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).
4464
4004
  attr_accessor :payouts
4465
4005
 
@@ -4482,7 +4022,6 @@ module Stripe
4482
4022
  class BankBcaOnboarding < Stripe::RequestParams
4483
4023
  # Bank BCA business account holder name
4484
4024
  attr_accessor :account_holder_name
4485
-
4486
4025
  # Bank BCA business account number
4487
4026
  attr_accessor :business_account_number
4488
4027
 
@@ -4495,13 +4034,10 @@ module Stripe
4495
4034
  class Branding < Stripe::RequestParams
4496
4035
  # (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.
4497
4036
  attr_accessor :icon
4498
-
4499
4037
  # (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.
4500
4038
  attr_accessor :logo
4501
-
4502
4039
  # A CSS hex color value representing the primary branding color for this account.
4503
4040
  attr_accessor :primary_color
4504
-
4505
4041
  # A CSS hex color value representing the secondary branding color for this account.
4506
4042
  attr_accessor :secondary_color
4507
4043
 
@@ -4516,7 +4052,6 @@ module Stripe
4516
4052
  class Capital < Stripe::RequestParams
4517
4053
  # Per-currency mapping of user-selected destination accounts used to pay out loans.
4518
4054
  attr_accessor :payout_destination
4519
-
4520
4055
  # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4521
4056
  attr_accessor :payout_destination_selector
4522
4057
 
@@ -4530,10 +4065,8 @@ module Stripe
4530
4065
  class TosAcceptance < Stripe::RequestParams
4531
4066
  # The Unix timestamp marking when the account representative accepted the service agreement.
4532
4067
  attr_accessor :date
4533
-
4534
4068
  # The IP address from which the account representative accepted the service agreement.
4535
4069
  attr_accessor :ip
4536
-
4537
4070
  # The user agent of the browser from which the account representative accepted the service agreement.
4538
4071
  attr_accessor :user_agent
4539
4072
 
@@ -4555,7 +4088,6 @@ module Stripe
4555
4088
  class DeclineOn < Stripe::RequestParams
4556
4089
  # 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.
4557
4090
  attr_accessor :avs_failure
4558
-
4559
4091
  # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
4560
4092
  attr_accessor :cvc_failure
4561
4093
 
@@ -4566,13 +4098,10 @@ module Stripe
4566
4098
  end
4567
4099
  # Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
4568
4100
  attr_accessor :decline_on
4569
-
4570
4101
  # 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.
4571
4102
  attr_accessor :statement_descriptor_prefix
4572
-
4573
4103
  # 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.
4574
4104
  attr_accessor :statement_descriptor_prefix_kana
4575
-
4576
4105
  # 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.
4577
4106
  attr_accessor :statement_descriptor_prefix_kanji
4578
4107
 
@@ -4592,10 +4121,8 @@ module Stripe
4592
4121
  class Payments < Stripe::RequestParams
4593
4122
  # 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).
4594
4123
  attr_accessor :statement_descriptor
4595
-
4596
4124
  # 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).
4597
4125
  attr_accessor :statement_descriptor_kana
4598
-
4599
4126
  # 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).
4600
4127
  attr_accessor :statement_descriptor_kanji
4601
4128
 
@@ -4614,13 +4141,10 @@ module Stripe
4614
4141
  class Schedule < Stripe::RequestParams
4615
4142
  # 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).
4616
4143
  attr_accessor :delay_days
4617
-
4618
4144
  # How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`.
4619
4145
  attr_accessor :interval
4620
-
4621
4146
  # 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`.
4622
4147
  attr_accessor :monthly_anchor
4623
-
4624
4148
  # The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)
4625
4149
  attr_accessor :weekly_anchor
4626
4150
 
@@ -4633,10 +4157,8 @@ module Stripe
4633
4157
  end
4634
4158
  # 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).
4635
4159
  attr_accessor :debit_negative_balances
4636
-
4637
4160
  # 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.
4638
4161
  attr_accessor :schedule
4639
-
4640
4162
  # 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.
4641
4163
  attr_accessor :statement_descriptor
4642
4164
 
@@ -4660,10 +4182,8 @@ module Stripe
4660
4182
  class TosAcceptance < Stripe::RequestParams
4661
4183
  # The Unix timestamp marking when the account representative accepted the service agreement.
4662
4184
  attr_accessor :date
4663
-
4664
4185
  # The IP address from which the account representative accepted the service agreement.
4665
4186
  attr_accessor :ip
4666
-
4667
4187
  # The user agent of the browser from which the account representative accepted the service agreement.
4668
4188
  attr_accessor :user_agent
4669
4189
 
@@ -4682,31 +4202,22 @@ module Stripe
4682
4202
  end
4683
4203
  # Settings specific to Bacs Direct Debit.
4684
4204
  attr_accessor :bacs_debit_payments
4685
-
4686
4205
  # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
4687
4206
  attr_accessor :bank_bca_onboarding
4688
-
4689
4207
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
4690
4208
  attr_accessor :branding
4691
-
4692
4209
  # Settings specific to the account's use of the Capital product.
4693
4210
  attr_accessor :capital
4694
-
4695
4211
  # Settings specific to the account's use of the Card Issuing product.
4696
4212
  attr_accessor :card_issuing
4697
-
4698
4213
  # Settings specific to card charging on the account.
4699
4214
  attr_accessor :card_payments
4700
-
4701
4215
  # Settings that apply across payment methods for charging on the account.
4702
4216
  attr_accessor :payments
4703
-
4704
4217
  # Settings specific to the account's payouts.
4705
4218
  attr_accessor :payouts
4706
-
4707
4219
  # Settings specific to the account's tax forms.
4708
4220
  attr_accessor :tax_forms
4709
-
4710
4221
  # Settings specific to the account's Treasury FinancialAccounts.
4711
4222
  attr_accessor :treasury
4712
4223
 
@@ -4738,13 +4249,10 @@ module Stripe
4738
4249
  class TosAcceptance < Stripe::RequestParams
4739
4250
  # The Unix timestamp marking when the account representative accepted their service agreement.
4740
4251
  attr_accessor :date
4741
-
4742
4252
  # The IP address from which the account representative accepted their service agreement.
4743
4253
  attr_accessor :ip
4744
-
4745
4254
  # The user's service agreement type.
4746
4255
  attr_accessor :service_agreement
4747
-
4748
4256
  # The user agent of the browser from which the account representative accepted their service agreement.
4749
4257
  attr_accessor :user_agent
4750
4258
 
@@ -4757,13 +4265,10 @@ module Stripe
4757
4265
  end
4758
4266
  # An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account.
4759
4267
  attr_accessor :account_token
4760
-
4761
4268
  # Business information about the account.
4762
4269
  attr_accessor :business_profile
4763
-
4764
4270
  # 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.
4765
4271
  attr_accessor :business_type
4766
-
4767
4272
  # Each key of the dictionary represents a capability, and each capability
4768
4273
  # maps to its settings (for example, whether it has been requested or not). Each
4769
4274
  # capability is inactive until you have provided its specific
@@ -4773,49 +4278,34 @@ module Stripe
4773
4278
  # Required when [account.controller.stripe_dashboard.type](/api/accounts/create#create_account-controller-dashboard-type)
4774
4279
  # is `none`, which includes Custom accounts.
4775
4280
  attr_accessor :capabilities
4776
-
4777
4281
  # 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.
4778
4282
  attr_accessor :company
4779
-
4780
4283
  # A hash of configuration describing the account controller's attributes.
4781
4284
  attr_accessor :controller
4782
-
4783
4285
  # 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.
4784
4286
  attr_accessor :country
4785
-
4786
4287
  # 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).
4787
4288
  attr_accessor :default_currency
4788
-
4789
4289
  # Documents that may be submitted to satisfy various informational requests.
4790
4290
  attr_accessor :documents
4791
-
4792
4291
  # 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.
4793
4292
  attr_accessor :email
4794
-
4795
4293
  # Specifies which fields in the response should be expanded.
4796
4294
  attr_accessor :expand
4797
-
4798
4295
  # 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.
4799
4296
  attr_accessor :external_account
4800
-
4801
4297
  # A hash of account group type to tokens. These are account groups this account should be added to.
4802
4298
  attr_accessor :groups
4803
-
4804
4299
  # 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.
4805
4300
  attr_accessor :individual
4806
-
4807
4301
  # 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`.
4808
4302
  attr_accessor :metadata
4809
-
4810
4303
  # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
4811
4304
  attr_accessor :risk_controls
4812
-
4813
4305
  # Options for customizing how the account functions within Stripe.
4814
4306
  attr_accessor :settings
4815
-
4816
4307
  # 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.
4817
4308
  attr_accessor :tos_acceptance
4818
-
4819
4309
  # The type of Stripe account to create. May be one of `custom`, `express` or `standard`.
4820
4310
  attr_accessor :type
4821
4311
 
@@ -4865,7 +4355,6 @@ module Stripe
4865
4355
  class RejectParams < Stripe::RequestParams
4866
4356
  # Specifies which fields in the response should be expanded.
4867
4357
  attr_accessor :expand
4868
-
4869
4358
  # The reason for rejecting the account. Can be `fraud`, `terms_of_service`, or `other`.
4870
4359
  attr_accessor :reason
4871
4360