stripe 15.0.0 → 15.1.0.pre.beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (617) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1559 -676
  3. data/Gemfile +1 -1
  4. data/OPENAPI_VERSION +1 -1
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_operations/nested_resource.rb +35 -35
  7. data/lib/stripe/api_requestor.rb +29 -1
  8. data/lib/stripe/api_version.rb +1 -1
  9. data/lib/stripe/connection_manager.rb +1 -3
  10. data/lib/stripe/errors.rb +54 -0
  11. data/lib/stripe/event_types.rb +75 -0
  12. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
  13. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
  14. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
  15. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
  16. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
  17. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
  18. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
  19. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
  20. data/lib/stripe/events/v2_core_account_link_completed_event.rb +13 -0
  21. data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
  22. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
  23. data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
  24. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
  25. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
  26. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
  27. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
  28. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
  29. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
  30. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
  31. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
  32. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
  33. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
  34. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
  35. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
  36. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
  37. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
  38. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
  39. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
  40. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
  41. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
  42. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
  43. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
  44. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
  45. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
  46. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
  47. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
  48. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
  49. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
  50. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
  51. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
  52. data/lib/stripe/oauth.rb +1 -1
  53. data/lib/stripe/object_types.rb +53 -0
  54. data/lib/stripe/resources/account.rb +714 -3
  55. data/lib/stripe/resources/account_notice.rb +123 -0
  56. data/lib/stripe/resources/account_session.rb +299 -1
  57. data/lib/stripe/resources/balance_settings.rb +105 -0
  58. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
  59. data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
  60. data/lib/stripe/resources/billing/credit_grant.rb +10 -0
  61. data/lib/stripe/resources/billing/meter_error_report.rb +59 -0
  62. data/lib/stripe/resources/billing_portal/session.rb +6 -0
  63. data/lib/stripe/resources/capital/financing_offer.rb +179 -0
  64. data/lib/stripe/resources/capital/financing_summary.rb +55 -0
  65. data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
  66. data/lib/stripe/resources/card.rb +2 -0
  67. data/lib/stripe/resources/cash_balance.rb +2 -0
  68. data/lib/stripe/resources/charge.rb +1472 -0
  69. data/lib/stripe/resources/checkout/session.rb +368 -9
  70. data/lib/stripe/resources/confirmation_token.rb +243 -4
  71. data/lib/stripe/resources/coupon.rb +31 -2
  72. data/lib/stripe/resources/credit_note.rb +10 -0
  73. data/lib/stripe/resources/credit_note_line_item.rb +9 -0
  74. data/lib/stripe/resources/customer.rb +2 -0
  75. data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
  76. data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
  77. data/lib/stripe/resources/customer_session.rb +6 -1
  78. data/lib/stripe/resources/discount.rb +2 -0
  79. data/lib/stripe/resources/event.rb +33 -0
  80. data/lib/stripe/resources/financial_connections/account.rb +20 -1
  81. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
  82. data/lib/stripe/resources/financial_connections/institution.rb +90 -0
  83. data/lib/stripe/resources/financial_connections/session.rb +62 -2
  84. data/lib/stripe/resources/funding_instructions.rb +1 -1
  85. data/lib/stripe/resources/fx_quote.rb +184 -0
  86. data/lib/stripe/resources/gift_cards/card.rb +208 -0
  87. data/lib/stripe/resources/gift_cards/transaction.rb +272 -0
  88. data/lib/stripe/resources/identity/verification_session.rb +10 -0
  89. data/lib/stripe/resources/invoice.rb +1124 -16
  90. data/lib/stripe/resources/invoice_item.rb +78 -2
  91. data/lib/stripe/resources/invoice_line_item.rb +55 -1
  92. data/lib/stripe/resources/invoice_payment.rb +2 -53
  93. data/lib/stripe/resources/issuing/cardholder.rb +2 -1
  94. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +602 -0
  95. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +82 -0
  96. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +86 -0
  97. data/lib/stripe/resources/issuing/settlement.rb +53 -0
  98. data/lib/stripe/resources/issuing/transaction.rb +6 -0
  99. data/lib/stripe/resources/line_item.rb +37 -0
  100. data/lib/stripe/resources/login_link.rb +2 -1
  101. data/lib/stripe/resources/mandate.rb +24 -0
  102. data/lib/stripe/resources/margin.rb +115 -0
  103. data/lib/stripe/resources/order.rb +2859 -0
  104. data/lib/stripe/resources/payment_attempt_record.rb +1078 -0
  105. data/lib/stripe/resources/payment_intent.rb +5540 -654
  106. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +65 -0
  107. data/lib/stripe/resources/payment_method.rb +209 -6
  108. data/lib/stripe/resources/payment_method_configuration.rb +354 -0
  109. data/lib/stripe/resources/payment_method_domain.rb +13 -0
  110. data/lib/stripe/resources/payment_record.rb +1607 -0
  111. data/lib/stripe/resources/payout.rb +6 -0
  112. data/lib/stripe/resources/person.rb +25 -1
  113. data/lib/stripe/resources/price.rb +30 -0
  114. data/lib/stripe/resources/privacy/redaction_job.rb +254 -0
  115. data/lib/stripe/resources/privacy/redaction_job_root_objects.rb +35 -0
  116. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +25 -0
  117. data/lib/stripe/resources/product.rb +59 -0
  118. data/lib/stripe/resources/promotion_code.rb +10 -0
  119. data/lib/stripe/resources/quote.rb +2042 -6
  120. data/lib/stripe/resources/quote_line.rb +274 -0
  121. data/lib/stripe/resources/quote_preview_invoice.rb +663 -0
  122. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +337 -0
  123. data/lib/stripe/resources/refund.rb +11 -0
  124. data/lib/stripe/resources/setup_attempt.rb +21 -0
  125. data/lib/stripe/resources/setup_intent.rb +617 -21
  126. data/lib/stripe/resources/source.rb +29 -0
  127. data/lib/stripe/resources/subscription.rb +292 -9
  128. data/lib/stripe/resources/subscription_item.rb +84 -3
  129. data/lib/stripe/resources/subscription_schedule.rb +1007 -10
  130. data/lib/stripe/resources/tax/association.rb +89 -0
  131. data/lib/stripe/resources/tax/form.rb +211 -0
  132. data/lib/stripe/resources/tax/registration.rb +180 -0
  133. data/lib/stripe/resources/tax_id.rb +12 -2
  134. data/lib/stripe/resources/terminal/reader.rb +406 -0
  135. data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
  136. data/lib/stripe/resources/token.rb +61 -0
  137. data/lib/stripe/resources/transfer.rb +6 -0
  138. data/lib/stripe/resources/treasury/financial_account.rb +22 -3
  139. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  140. data/lib/stripe/resources/treasury/outbound_payment.rb +4 -1
  141. data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
  142. data/lib/stripe/resources/treasury/received_credit.rb +38 -1
  143. data/lib/stripe/resources/treasury/received_debit.rb +40 -1
  144. data/lib/stripe/resources/v2/core/account.rb +1715 -0
  145. data/lib/stripe/resources/v2/core/account_link.rb +54 -0
  146. data/lib/stripe/resources/v2/core/person.rb +272 -0
  147. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +72 -0
  148. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +37 -0
  149. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +18 -0
  150. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +20 -0
  151. data/lib/stripe/resources/v2/money_management/adjustment.rb +49 -0
  152. data/lib/stripe/resources/v2/money_management/financial_account.rb +56 -0
  153. data/lib/stripe/resources/v2/money_management/financial_address.rb +66 -0
  154. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +92 -0
  155. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +127 -0
  156. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +74 -0
  157. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +43 -0
  158. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +115 -0
  159. data/lib/stripe/resources/v2/money_management/payout_method.rb +73 -0
  160. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +47 -0
  161. data/lib/stripe/resources/v2/money_management/received_credit.rb +134 -0
  162. data/lib/stripe/resources/v2/money_management/received_debit.rb +106 -0
  163. data/lib/stripe/resources/v2/money_management/transaction.rb +76 -0
  164. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +66 -0
  165. data/lib/stripe/resources.rb +90 -0
  166. data/lib/stripe/services/account_notice_service.rb +101 -0
  167. data/lib/stripe/services/account_person_service.rb +84 -0
  168. data/lib/stripe/services/account_service.rb +609 -2
  169. data/lib/stripe/services/account_session_service.rb +269 -1
  170. data/lib/stripe/services/application_fee_service.rb +1 -1
  171. data/lib/stripe/services/apps_service.rb +1 -1
  172. data/lib/stripe/services/balance_settings_service.rb +96 -0
  173. data/lib/stripe/services/billing/credit_balance_summary_service.rb +4 -1
  174. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
  175. data/lib/stripe/services/billing/credit_grant_service.rb +8 -0
  176. data/lib/stripe/services/billing/meter_service.rb +1 -1
  177. data/lib/stripe/services/billing_portal/session_service.rb +4 -0
  178. data/lib/stripe/services/billing_portal_service.rb +1 -1
  179. data/lib/stripe/services/billing_service.rb +1 -1
  180. data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
  181. data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
  182. data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
  183. data/lib/stripe/services/capital_service.rb +15 -0
  184. data/lib/stripe/services/charge_service.rb +1350 -0
  185. data/lib/stripe/services/checkout/session_service.rb +269 -7
  186. data/lib/stripe/services/checkout_service.rb +1 -1
  187. data/lib/stripe/services/climate_service.rb +1 -1
  188. data/lib/stripe/services/coupon_service.rb +17 -1
  189. data/lib/stripe/services/credit_note_service.rb +5 -1
  190. data/lib/stripe/services/customer_service.rb +1 -1
  191. data/lib/stripe/services/customer_session_service.rb +4 -1
  192. data/lib/stripe/services/entitlements_service.rb +1 -1
  193. data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -123
  194. data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
  195. data/lib/stripe/services/financial_connections/account_service.rb +8 -3
  196. data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
  197. data/lib/stripe/services/financial_connections/session_service.rb +34 -2
  198. data/lib/stripe/services/financial_connections_service.rb +3 -2
  199. data/lib/stripe/services/forwarding_service.rb +1 -1
  200. data/lib/stripe/services/fx_quote_service.rb +123 -0
  201. data/lib/stripe/services/gift_cards/card_service.rb +170 -0
  202. data/lib/stripe/services/gift_cards/transaction_service.rb +209 -0
  203. data/lib/stripe/services/gift_cards_service.rb +14 -0
  204. data/lib/stripe/services/identity/verification_session_service.rb +8 -0
  205. data/lib/stripe/services/identity_service.rb +1 -1
  206. data/lib/stripe/services/invoice_item_service.rb +74 -2
  207. data/lib/stripe/services/invoice_line_item_service.rb +33 -1
  208. data/lib/stripe/services/invoice_service.rb +1053 -17
  209. data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
  210. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
  211. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
  212. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
  213. data/lib/stripe/services/issuing/transaction_service.rb +4 -0
  214. data/lib/stripe/services/issuing_service.rb +6 -2
  215. data/lib/stripe/services/margin_service.rb +119 -0
  216. data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
  217. data/lib/stripe/services/order_service.rb +2268 -0
  218. data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
  219. data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
  220. data/lib/stripe/services/payment_intent_service.rb +4711 -278
  221. data/lib/stripe/services/payment_link_service.rb +1 -1
  222. data/lib/stripe/services/payment_method_configuration_service.rb +252 -0
  223. data/lib/stripe/services/payment_method_service.rb +137 -6
  224. data/lib/stripe/services/payment_record_service.rb +542 -0
  225. data/lib/stripe/services/payout_service.rb +4 -0
  226. data/lib/stripe/services/price_service.rb +19 -0
  227. data/lib/stripe/services/privacy/redaction_job_service.rb +231 -0
  228. data/{rbi/stripe/services/climate/product_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +36 -25
  229. data/lib/stripe/services/privacy_service.rb +13 -0
  230. data/lib/stripe/services/product_service.rb +39 -1
  231. data/lib/stripe/services/promotion_code_service.rb +8 -0
  232. data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
  233. data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
  234. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
  235. data/lib/stripe/services/quote_service.rb +1727 -8
  236. data/lib/stripe/services/radar_service.rb +1 -1
  237. data/lib/stripe/services/reporting_service.rb +1 -1
  238. data/lib/stripe/services/setup_intent_service.rb +577 -21
  239. data/lib/stripe/services/sigma_service.rb +1 -1
  240. data/lib/stripe/services/source_service.rb +1 -1
  241. data/lib/stripe/services/subscription_item_service.rb +75 -3
  242. data/lib/stripe/services/subscription_schedule_service.rb +911 -10
  243. data/lib/stripe/services/subscription_service.rb +253 -9
  244. data/lib/stripe/services/tax/association_service.rb +31 -0
  245. data/lib/stripe/services/tax/calculation_service.rb +1 -1
  246. data/lib/stripe/services/tax/form_service.rb +100 -0
  247. data/lib/stripe/services/tax/registration_service.rb +117 -0
  248. data/lib/stripe/services/tax/transaction_service.rb +1 -1
  249. data/lib/stripe/services/tax_id_service.rb +8 -2
  250. data/lib/stripe/services/tax_service.rb +4 -2
  251. data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
  252. data/lib/stripe/services/terminal/reader_service.rb +180 -0
  253. data/lib/stripe/services/terminal_service.rb +3 -2
  254. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +155 -4
  255. data/lib/stripe/services/test_helpers/issuing_service.rb +1 -1
  256. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
  257. data/lib/stripe/services/test_helpers/terminal_service.rb +1 -1
  258. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
  259. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
  260. data/lib/stripe/services/test_helpers/treasury_service.rb +1 -1
  261. data/lib/stripe/services/test_helpers_service.rb +1 -1
  262. data/lib/stripe/services/token_service.rb +61 -0
  263. data/lib/stripe/services/transfer_service.rb +5 -1
  264. data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
  265. data/lib/stripe/services/treasury/financial_account_service.rb +17 -3
  266. data/lib/stripe/services/treasury/outbound_payment_service.rb +4 -1
  267. data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
  268. data/lib/stripe/services/treasury_service.rb +1 -1
  269. data/lib/stripe/services/v1_services.rb +13 -3
  270. data/lib/stripe/services/v2/billing_service.rb +1 -1
  271. data/lib/stripe/services/v2/core/account_link_service.rb +76 -0
  272. data/lib/stripe/services/v2/core/account_service.rb +4130 -0
  273. data/lib/stripe/services/v2/core/accounts/person_service.rb +1040 -0
  274. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +135 -0
  275. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +109 -0
  276. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  277. data/lib/stripe/services/v2/core_service.rb +5 -2
  278. data/lib/stripe/services/v2/money_management/adjustment_service.rb +75 -0
  279. data/lib/stripe/services/v2/money_management/financial_account_service.rb +44 -0
  280. data/lib/stripe/services/v2/money_management/financial_address_service.rb +81 -0
  281. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +126 -0
  282. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +80 -0
  283. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +202 -0
  284. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +237 -0
  285. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +174 -0
  286. data/lib/stripe/services/v2/money_management/payout_method_service.rb +95 -0
  287. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
  288. data/lib/stripe/services/v2/money_management/received_credit_service.rb +71 -0
  289. data/lib/stripe/services/v2/money_management/received_debit_service.rb +44 -0
  290. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +70 -0
  291. data/lib/stripe/services/v2/money_management/transaction_service.rb +74 -0
  292. data/lib/stripe/services/v2/money_management_service.rb +31 -0
  293. data/lib/stripe/services/v2/test_helper_service.rb +15 -0
  294. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +50 -0
  295. data/lib/stripe/services/v2_services.rb +5 -3
  296. data/lib/stripe/services.rb +54 -1
  297. data/lib/stripe/stripe_configuration.rb +3 -1
  298. data/lib/stripe/stripe_object.rb +1 -1
  299. data/lib/stripe/util.rb +7 -1
  300. data/lib/stripe/version.rb +1 -1
  301. data/lib/stripe.rb +53 -0
  302. data/rbi/stripe.rbi +191592 -0
  303. data/stripe.gemspec +4 -1
  304. metadata +149 -325
  305. data/lib/stripe/services/invoice_payment_service.rb +0 -83
  306. data/rbi/stripe/resources/account.rbi +0 -4840
  307. data/rbi/stripe/resources/account_link.rbi +0 -74
  308. data/rbi/stripe/resources/account_session.rbi +0 -894
  309. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -90
  310. data/rbi/stripe/resources/application.rbi +0 -20
  311. data/rbi/stripe/resources/application_fee.rbi +0 -118
  312. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  313. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  314. data/rbi/stripe/resources/balance.rbi +0 -180
  315. data/rbi/stripe/resources/balance_transaction.rbi +0 -144
  316. data/rbi/stripe/resources/bank_account.rbi +0 -127
  317. data/rbi/stripe/resources/billing/alert.rbi +0 -201
  318. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  319. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
  320. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
  321. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
  322. data/rbi/stripe/resources/billing/meter.rbi +0 -226
  323. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  324. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  325. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
  326. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -645
  327. data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
  328. data/rbi/stripe/resources/capability.rbi +0 -125
  329. data/rbi/stripe/resources/card.rbi +0 -125
  330. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  331. data/rbi/stripe/resources/charge.rbi +0 -2054
  332. data/rbi/stripe/resources/checkout/session.rbi +0 -3951
  333. data/rbi/stripe/resources/climate/order.rbi +0 -245
  334. data/rbi/stripe/resources/climate/product.rbi +0 -75
  335. data/rbi/stripe/resources/climate/supplier.rbi +0 -72
  336. data/rbi/stripe/resources/confirmation_token.rbi +0 -1793
  337. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  338. data/rbi/stripe/resources/country_spec.rbi +0 -85
  339. data/rbi/stripe/resources/coupon.rbi +0 -252
  340. data/rbi/stripe/resources/credit_note.rbi +0 -747
  341. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
  342. data/rbi/stripe/resources/customer.rbi +0 -1009
  343. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
  344. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  345. data/rbi/stripe/resources/customer_session.rbi +0 -200
  346. data/rbi/stripe/resources/discount.rbi +0 -53
  347. data/rbi/stripe/resources/dispute.rbi +0 -761
  348. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
  349. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  350. data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
  351. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  352. data/rbi/stripe/resources/event.rbi +0 -146
  353. data/rbi/stripe/resources/exchange_rate.rbi +0 -66
  354. data/rbi/stripe/resources/file.rbi +0 -143
  355. data/rbi/stripe/resources/file_link.rbi +0 -141
  356. data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
  357. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  358. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  359. data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
  360. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
  361. data/rbi/stripe/resources/forwarding/request.rbi +0 -216
  362. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  363. data/rbi/stripe/resources/identity/verification_report.rbi +0 -351
  364. data/rbi/stripe/resources/identity/verification_session.rbi +0 -517
  365. data/rbi/stripe/resources/invoice.rbi +0 -3733
  366. data/rbi/stripe/resources/invoice_item.rbi +0 -475
  367. data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
  368. data/rbi/stripe/resources/invoice_payment.rbi +0 -114
  369. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
  370. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
  371. data/rbi/stripe/resources/issuing/card.rbi +0 -741
  372. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
  373. data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
  374. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
  375. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
  376. data/rbi/stripe/resources/issuing/token.rbi +0 -226
  377. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
  378. data/rbi/stripe/resources/line_item.rbi +0 -72
  379. data/rbi/stripe/resources/login_link.rbi +0 -18
  380. data/rbi/stripe/resources/mandate.rbi +0 -187
  381. data/rbi/stripe/resources/payment_intent.rbi +0 -9731
  382. data/rbi/stripe/resources/payment_link.rbi +0 -1801
  383. data/rbi/stripe/resources/payment_method.rbi +0 -1822
  384. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3154
  385. data/rbi/stripe/resources/payment_method_domain.rbi +0 -212
  386. data/rbi/stripe/resources/payout.rbi +0 -300
  387. data/rbi/stripe/resources/person.rbi +0 -371
  388. data/rbi/stripe/resources/plan.rbi +0 -373
  389. data/rbi/stripe/resources/price.rbi +0 -694
  390. data/rbi/stripe/resources/product.rbi +0 -557
  391. data/rbi/stripe/resources/product_feature.rbi +0 -26
  392. data/rbi/stripe/resources/promotion_code.rbi +0 -261
  393. data/rbi/stripe/resources/quote.rbi +0 -1123
  394. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
  395. data/rbi/stripe/resources/radar/value_list.rbi +0 -170
  396. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -131
  397. data/rbi/stripe/resources/refund.rbi +0 -516
  398. data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
  399. data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
  400. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  401. data/rbi/stripe/resources/reversal.rbi +0 -51
  402. data/rbi/stripe/resources/review.rbi +0 -154
  403. data/rbi/stripe/resources/setup_attempt.rbi +0 -477
  404. data/rbi/stripe/resources/setup_intent.rbi +0 -3860
  405. data/rbi/stripe/resources/shipping_rate.rbi +0 -305
  406. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
  407. data/rbi/stripe/resources/source.rbi +0 -1496
  408. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  409. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  410. data/rbi/stripe/resources/subscription.rbi +0 -1964
  411. data/rbi/stripe/resources/subscription_item.rbi +0 -370
  412. data/rbi/stripe/resources/subscription_schedule.rbi +0 -1495
  413. data/rbi/stripe/resources/tax/calculation.rbi +0 -474
  414. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -88
  415. data/rbi/stripe/resources/tax/registration.rbi +0 -2485
  416. data/rbi/stripe/resources/tax/settings.rbi +0 -141
  417. data/rbi/stripe/resources/tax/transaction.rbi +0 -351
  418. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  419. data/rbi/stripe/resources/tax_code.rbi +0 -44
  420. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  421. data/rbi/stripe/resources/tax_id.rbi +0 -167
  422. data/rbi/stripe/resources/tax_rate.rbi +0 -239
  423. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1388
  424. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  425. data/rbi/stripe/resources/terminal/location.rbi +0 -224
  426. data/rbi/stripe/resources/terminal/reader.rbi +0 -587
  427. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -134
  428. data/rbi/stripe/resources/token.rbi +0 -1217
  429. data/rbi/stripe/resources/topup.rbi +0 -222
  430. data/rbi/stripe/resources/transfer.rbi +0 -199
  431. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
  432. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
  433. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -865
  434. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
  435. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
  436. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
  437. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
  438. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
  439. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
  440. data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
  441. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
  442. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  443. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  444. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  445. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  446. data/rbi/stripe/resources/v2/event.rbi +0 -48
  447. data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
  448. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -170
  449. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  450. data/rbi/stripe/services/account_link_service.rbi +0 -58
  451. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  452. data/rbi/stripe/services/account_person_service.rbi +0 -923
  453. data/rbi/stripe/services/account_service.rbi +0 -4143
  454. data/rbi/stripe/services/account_session_service.rbi +0 -572
  455. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -78
  456. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
  457. data/rbi/stripe/services/application_fee_service.rbi +0 -78
  458. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  459. data/rbi/stripe/services/apps_service.rbi +0 -9
  460. data/rbi/stripe/services/balance_service.rbi +0 -21
  461. data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
  462. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  463. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
  464. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  465. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
  466. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
  467. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  468. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  469. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  470. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -511
  471. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
  472. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  473. data/rbi/stripe/services/billing_service.rbi +0 -15
  474. data/rbi/stripe/services/charge_service.rbi +0 -448
  475. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  476. data/rbi/stripe/services/checkout/session_service.rbi +0 -2585
  477. data/rbi/stripe/services/checkout_service.rbi +0 -9
  478. data/rbi/stripe/services/climate/order_service.rbi +0 -142
  479. data/rbi/stripe/services/climate_service.rbi +0 -11
  480. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  481. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  482. data/rbi/stripe/services/coupon_service.rbi +0 -196
  483. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  484. data/rbi/stripe/services/credit_note_service.rbi +0 -416
  485. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  486. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  487. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  488. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  489. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  490. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
  491. data/rbi/stripe/services/customer_service.rbi +0 -651
  492. data/rbi/stripe/services/customer_session_service.rbi +0 -116
  493. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -72
  494. data/rbi/stripe/services/dispute_service.rbi +0 -424
  495. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  496. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  497. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  498. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  499. data/rbi/stripe/services/event_service.rbi +0 -83
  500. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  501. data/rbi/stripe/services/file_link_service.rbi +0 -124
  502. data/rbi/stripe/services/file_service.rbi +0 -116
  503. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  504. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
  505. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
  506. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
  507. data/rbi/stripe/services/financial_connections_service.rbi +0 -11
  508. data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
  509. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  510. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
  511. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -323
  512. data/rbi/stripe/services/identity_service.rbi +0 -10
  513. data/rbi/stripe/services/invoice_item_service.rbi +0 -368
  514. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
  515. data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
  516. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  517. data/rbi/stripe/services/invoice_service.rbi +0 -2920
  518. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
  519. data/rbi/stripe/services/issuing/card_service.rbi +0 -495
  520. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
  521. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
  522. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
  523. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  524. data/rbi/stripe/services/issuing/token_service.rbi +0 -99
  525. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
  526. data/rbi/stripe/services/issuing_service.rbi +0 -16
  527. data/rbi/stripe/services/mandate_service.rbi +0 -20
  528. data/rbi/stripe/services/payment_intent_service.rbi +0 -7759
  529. data/rbi/stripe/services/payment_link_service.rbi +0 -1352
  530. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2211
  531. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
  532. data/rbi/stripe/services/payment_method_service.rbi +0 -840
  533. data/rbi/stripe/services/payout_service.rbi +0 -205
  534. data/rbi/stripe/services/plan_service.rbi +0 -284
  535. data/rbi/stripe/services/price_service.rbi +0 -546
  536. data/rbi/stripe/services/product_feature_service.rbi +0 -69
  537. data/rbi/stripe/services/product_service.rbi +0 -479
  538. data/rbi/stripe/services/promotion_code_service.rbi +0 -214
  539. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  540. data/rbi/stripe/services/quote_service.rbi +0 -686
  541. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
  542. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -111
  543. data/rbi/stripe/services/radar/value_list_service.rbi +0 -143
  544. data/rbi/stripe/services/radar_service.rbi +0 -11
  545. data/rbi/stripe/services/refund_service.rbi +0 -185
  546. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
  547. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  548. data/rbi/stripe/services/reporting_service.rbi +0 -10
  549. data/rbi/stripe/services/review_service.rbi +0 -84
  550. data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
  551. data/rbi/stripe/services/setup_intent_service.rbi +0 -3596
  552. data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
  553. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  554. data/rbi/stripe/services/sigma_service.rbi +0 -9
  555. data/rbi/stripe/services/source_service.rbi +0 -663
  556. data/rbi/stripe/services/subscription_item_service.rbi +0 -324
  557. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1192
  558. data/rbi/stripe/services/subscription_service.rbi +0 -1596
  559. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -33
  560. data/rbi/stripe/services/tax/calculation_service.rbi +0 -230
  561. data/rbi/stripe/services/tax/registration_service.rbi +0 -1689
  562. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  563. data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
  564. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  565. data/rbi/stripe/services/tax_id_service.rbi +0 -112
  566. data/rbi/stripe/services/tax_rate_service.rbi +0 -185
  567. data/rbi/stripe/services/tax_service.rbi +0 -12
  568. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1120
  569. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  570. data/rbi/stripe/services/terminal/location_service.rbi +0 -184
  571. data/rbi/stripe/services/terminal/reader_service.rbi +0 -344
  572. data/rbi/stripe/services/terminal_service.rbi +0 -12
  573. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
  574. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  575. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
  576. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  577. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
  578. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
  579. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  580. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  581. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -62
  582. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  583. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -92
  584. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  585. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
  586. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
  587. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
  588. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
  589. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  590. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  591. data/rbi/stripe/services/token_service.rbi +0 -1189
  592. data/rbi/stripe/services/topup_service.rbi +0 -176
  593. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
  594. data/rbi/stripe/services/transfer_service.rbi +0 -152
  595. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  596. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  597. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
  598. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -562
  599. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  600. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
  601. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
  602. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
  603. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  604. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
  605. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
  606. data/rbi/stripe/services/treasury_service.rbi +0 -18
  607. data/rbi/stripe/services/v1_services.rbi +0 -77
  608. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  609. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  610. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -20
  611. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  612. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  613. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -200
  614. data/rbi/stripe/services/v2/core/event_service.rbi +0 -38
  615. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  616. data/rbi/stripe/services/v2_services.rbi +0 -10
  617. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -131
@@ -71,6 +71,8 @@ module Stripe
71
71
  attr_reader :estimated_worker_count
72
72
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
73
73
  attr_reader :mcc
74
+ # Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
75
+ attr_reader :minority_owned_business_designation
74
76
  # Attribute for field monthly_estimated_revenue
75
77
  attr_reader :monthly_estimated_revenue
76
78
  # The customer-facing business name.
@@ -102,6 +104,8 @@ module Stripe
102
104
  attr_reader :amazon_pay_payments
103
105
  # The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.
104
106
  attr_reader :au_becs_debit_payments
107
+ # The status of the automatic_indirect_tax capability of the account.
108
+ attr_reader :automatic_indirect_tax
105
109
  # The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
106
110
  attr_reader :bacs_debit_payments
107
111
  # The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.
@@ -130,8 +134,14 @@ module Stripe
130
134
  attr_reader :gb_bank_transfer_payments
131
135
  # The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
132
136
  attr_reader :giropay_payments
137
+ # The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
138
+ attr_reader :gopay_payments
133
139
  # The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
134
140
  attr_reader :grabpay_payments
141
+ # The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
142
+ attr_reader :id_bank_transfer_payments
143
+ # The status of Bank BCA onboarding of the account.
144
+ attr_reader :id_bank_transfer_payments_bca
135
145
  # The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
136
146
  attr_reader :ideal_payments
137
147
  # The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.
@@ -152,6 +162,8 @@ module Stripe
152
162
  attr_reader :legacy_payments
153
163
  # The status of the link_payments capability of the account, or whether the account can directly process Link charges.
154
164
  attr_reader :link_payments
165
+ # The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
166
+ attr_reader :mb_way_payments
155
167
  # The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
156
168
  attr_reader :mobilepay_payments
157
169
  # The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.
@@ -172,8 +184,16 @@ module Stripe
172
184
  attr_reader :payco_payments
173
185
  # The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
174
186
  attr_reader :paynow_payments
187
+ # The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
188
+ attr_reader :paypal_payments
189
+ # The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
190
+ attr_reader :payto_payments
175
191
  # The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
176
192
  attr_reader :promptpay_payments
193
+ # The status of the Qris capability of the account, or whether the account can directly process Qris payments.
194
+ attr_reader :qris_payments
195
+ # The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
196
+ attr_reader :rechnung_payments
177
197
  # The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
178
198
  attr_reader :revolut_pay_payments
179
199
  # The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
@@ -184,8 +204,12 @@ module Stripe
184
204
  attr_reader :sepa_bank_transfer_payments
185
205
  # The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
186
206
  attr_reader :sepa_debit_payments
207
+ # The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
208
+ attr_reader :shopeepay_payments
187
209
  # The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
188
210
  attr_reader :sofort_payments
211
+ # The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
212
+ attr_reader :stripe_balance_payments
189
213
  # The status of the Swish capability of the account, or whether the account can directly process Swish payments.
190
214
  attr_reader :swish_payments
191
215
  # The status of the tax reporting 1099-K (US) capability of the account.
@@ -196,6 +220,12 @@ module Stripe
196
220
  attr_reader :transfers
197
221
  # The status of the banking capability, or whether the account can have bank accounts.
198
222
  attr_reader :treasury
223
+ # The status of the treasury_evolve capability of the account.
224
+ attr_reader :treasury_evolve
225
+ # The status of the treasury_fifth_third capability of the account.
226
+ attr_reader :treasury_fifth_third
227
+ # The status of the treasury_goldman_sachs capability of the account.
228
+ attr_reader :treasury_goldman_sachs
199
229
  # The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
200
230
  attr_reader :twint_payments
201
231
  # The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
@@ -274,6 +304,15 @@ module Stripe
274
304
  attr_reader :user_agent
275
305
  end
276
306
 
307
+ class RegistrationDate < Stripe::StripeObject
308
+ # The day of registration, between 1 and 31.
309
+ attr_reader :day
310
+ # The month of registration, between 1 and 12.
311
+ attr_reader :month
312
+ # The four-digit year of registration.
313
+ attr_reader :year
314
+ end
315
+
277
316
  class Verification < Stripe::StripeObject
278
317
  class Document < Stripe::StripeObject
279
318
  # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`.
@@ -318,6 +357,8 @@ module Stripe
318
357
  attr_reader :ownership_exemption_reason
319
358
  # The company's phone number (used for verification).
320
359
  attr_reader :phone
360
+ # Attribute for field registration_date
361
+ attr_reader :registration_date
321
362
  # The category identifying the legal structure of the company or legal entity. Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.
322
363
  attr_reader :structure
323
364
  # Whether the company's business ID number was provided.
@@ -331,6 +372,20 @@ module Stripe
331
372
  end
332
373
 
333
374
  class Controller < Stripe::StripeObject
375
+ class Application < Stripe::StripeObject
376
+ # `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
377
+ attr_reader :loss_liable
378
+ # `true` if the Connect application is responsible for onboarding the account.
379
+ attr_reader :onboarding_owner
380
+ # `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
381
+ attr_reader :pricing_controls
382
+ end
383
+
384
+ class Dashboard < Stripe::StripeObject
385
+ # Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
386
+ attr_reader :type
387
+ end
388
+
334
389
  class Fees < Stripe::StripeObject
335
390
  # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
336
391
  attr_reader :payer
@@ -345,6 +400,10 @@ module Stripe
345
400
  # A value indicating the Stripe dashboard this account has access to independent of the Connect application.
346
401
  attr_reader :type
347
402
  end
403
+ # Attribute for field application
404
+ attr_reader :application
405
+ # Attribute for field dashboard
406
+ attr_reader :dashboard
348
407
  # Attribute for field fees
349
408
  attr_reader :fees
350
409
  # `true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://stripe.com/docs/connect/platform-controls-for-standard-accounts). Otherwise, this field is null.
@@ -432,6 +491,24 @@ module Stripe
432
491
  attr_reader :pending_verification
433
492
  end
434
493
 
494
+ class RiskControls < Stripe::StripeObject
495
+ class Charges < Stripe::StripeObject
496
+ # Whether a pause of the risk control has been requested.
497
+ attr_reader :pause_requested
498
+ end
499
+
500
+ class Payouts < Stripe::StripeObject
501
+ # Whether a pause of the risk control has been requested.
502
+ attr_reader :pause_requested
503
+ end
504
+ # Attribute for field charges
505
+ attr_reader :charges
506
+ # Attribute for field payouts
507
+ attr_reader :payouts
508
+ # Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://stripe.com/docs/connect/)
509
+ attr_reader :rejected_reason
510
+ end
511
+
435
512
  class Settings < Stripe::StripeObject
436
513
  class BacsDebitPayments < Stripe::StripeObject
437
514
  # The Bacs Direct Debit display name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. The fee appears 5 business days after requesting Bacs. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -440,6 +517,13 @@ module Stripe
440
517
  attr_reader :service_user_number
441
518
  end
442
519
 
520
+ class BankBcaOnboarding < Stripe::StripeObject
521
+ # Bank BCA business account holder name.
522
+ attr_reader :account_holder_name
523
+ # Bank BCA business account number.
524
+ attr_reader :business_account_number
525
+ end
526
+
443
527
  class Branding < Stripe::StripeObject
444
528
  # (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.
445
529
  attr_reader :icon
@@ -451,6 +535,13 @@ module Stripe
451
535
  attr_reader :secondary_color
452
536
  end
453
537
 
538
+ class Capital < Stripe::StripeObject
539
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
540
+ attr_reader :payout_destination
541
+ # Per-currency mapping of all destination accounts eligible to receive loan payouts.
542
+ attr_reader :payout_destination_selector
543
+ end
544
+
454
545
  class CardIssuing < Stripe::StripeObject
455
546
  class TosAcceptance < Stripe::StripeObject
456
547
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -532,6 +623,11 @@ module Stripe
532
623
  attr_reader :creditor_id
533
624
  end
534
625
 
626
+ class TaxForms < Stripe::StripeObject
627
+ # Whether the account opted out of receiving their tax forms by postal delivery.
628
+ attr_reader :consented_to_paperless_delivery
629
+ end
630
+
535
631
  class Treasury < Stripe::StripeObject
536
632
  class TosAcceptance < Stripe::StripeObject
537
633
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -546,8 +642,12 @@ module Stripe
546
642
  end
547
643
  # Attribute for field bacs_debit_payments
548
644
  attr_reader :bacs_debit_payments
645
+ # Attribute for field bank_bca_onboarding
646
+ attr_reader :bank_bca_onboarding
549
647
  # Attribute for field branding
550
648
  attr_reader :branding
649
+ # Attribute for field capital
650
+ attr_reader :capital
551
651
  # Attribute for field card_issuing
552
652
  attr_reader :card_issuing
553
653
  # Attribute for field card_payments
@@ -562,6 +662,8 @@ module Stripe
562
662
  attr_reader :payouts
563
663
  # Attribute for field sepa_debit_payments
564
664
  attr_reader :sepa_debit_payments
665
+ # Attribute for field tax_forms
666
+ attr_reader :tax_forms
565
667
  # Attribute for field treasury
566
668
  attr_reader :treasury
567
669
  end
@@ -680,6 +782,8 @@ module Stripe
680
782
  attr_accessor :estimated_worker_count
681
783
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
682
784
  attr_accessor :mcc
785
+ # Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
786
+ attr_accessor :minority_owned_business_designation
683
787
  # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
684
788
  attr_accessor :monthly_estimated_revenue
685
789
  # The customer-facing business name.
@@ -701,6 +805,7 @@ module Stripe
701
805
  annual_revenue: nil,
702
806
  estimated_worker_count: nil,
703
807
  mcc: nil,
808
+ minority_owned_business_designation: nil,
704
809
  monthly_estimated_revenue: nil,
705
810
  name: nil,
706
811
  product_description: nil,
@@ -713,6 +818,7 @@ module Stripe
713
818
  @annual_revenue = annual_revenue
714
819
  @estimated_worker_count = estimated_worker_count
715
820
  @mcc = mcc
821
+ @minority_owned_business_designation = minority_owned_business_designation
716
822
  @monthly_estimated_revenue = monthly_estimated_revenue
717
823
  @name = name
718
824
  @product_description = product_description
@@ -779,6 +885,15 @@ module Stripe
779
885
  end
780
886
  end
781
887
 
888
+ class AutomaticIndirectTax < Stripe::RequestParams
889
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
890
+ attr_accessor :requested
891
+
892
+ def initialize(requested: nil)
893
+ @requested = requested
894
+ end
895
+ end
896
+
782
897
  class BacsDebitPayments < Stripe::RequestParams
783
898
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
784
899
  attr_accessor :requested
@@ -905,6 +1020,15 @@ module Stripe
905
1020
  end
906
1021
  end
907
1022
 
1023
+ class GopayPayments < Stripe::RequestParams
1024
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1025
+ attr_accessor :requested
1026
+
1027
+ def initialize(requested: nil)
1028
+ @requested = requested
1029
+ end
1030
+ end
1031
+
908
1032
  class GrabpayPayments < Stripe::RequestParams
909
1033
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
910
1034
  attr_accessor :requested
@@ -914,6 +1038,24 @@ module Stripe
914
1038
  end
915
1039
  end
916
1040
 
1041
+ class IdBankTransferPayments < Stripe::RequestParams
1042
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1043
+ attr_accessor :requested
1044
+
1045
+ def initialize(requested: nil)
1046
+ @requested = requested
1047
+ end
1048
+ end
1049
+
1050
+ class IdBankTransferPaymentsBca < Stripe::RequestParams
1051
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1052
+ attr_accessor :requested
1053
+
1054
+ def initialize(requested: nil)
1055
+ @requested = requested
1056
+ end
1057
+ end
1058
+
917
1059
  class IdealPayments < Stripe::RequestParams
918
1060
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
919
1061
  attr_accessor :requested
@@ -1004,6 +1146,15 @@ module Stripe
1004
1146
  end
1005
1147
  end
1006
1148
 
1149
+ class MbWayPayments < Stripe::RequestParams
1150
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1151
+ attr_accessor :requested
1152
+
1153
+ def initialize(requested: nil)
1154
+ @requested = requested
1155
+ end
1156
+ end
1157
+
1007
1158
  class MobilepayPayments < Stripe::RequestParams
1008
1159
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1009
1160
  attr_accessor :requested
@@ -1094,6 +1245,24 @@ module Stripe
1094
1245
  end
1095
1246
  end
1096
1247
 
1248
+ class PaypalPayments < Stripe::RequestParams
1249
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1250
+ attr_accessor :requested
1251
+
1252
+ def initialize(requested: nil)
1253
+ @requested = requested
1254
+ end
1255
+ end
1256
+
1257
+ class PaytoPayments < Stripe::RequestParams
1258
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1259
+ attr_accessor :requested
1260
+
1261
+ def initialize(requested: nil)
1262
+ @requested = requested
1263
+ end
1264
+ end
1265
+
1097
1266
  class PromptpayPayments < Stripe::RequestParams
1098
1267
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1099
1268
  attr_accessor :requested
@@ -1103,6 +1272,24 @@ module Stripe
1103
1272
  end
1104
1273
  end
1105
1274
 
1275
+ class QrisPayments < Stripe::RequestParams
1276
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1277
+ attr_accessor :requested
1278
+
1279
+ def initialize(requested: nil)
1280
+ @requested = requested
1281
+ end
1282
+ end
1283
+
1284
+ class RechnungPayments < Stripe::RequestParams
1285
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1286
+ attr_accessor :requested
1287
+
1288
+ def initialize(requested: nil)
1289
+ @requested = requested
1290
+ end
1291
+ end
1292
+
1106
1293
  class RevolutPayPayments < Stripe::RequestParams
1107
1294
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1108
1295
  attr_accessor :requested
@@ -1148,6 +1335,15 @@ module Stripe
1148
1335
  end
1149
1336
  end
1150
1337
 
1338
+ class ShopeepayPayments < Stripe::RequestParams
1339
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1340
+ attr_accessor :requested
1341
+
1342
+ def initialize(requested: nil)
1343
+ @requested = requested
1344
+ end
1345
+ end
1346
+
1151
1347
  class SofortPayments < Stripe::RequestParams
1152
1348
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1153
1349
  attr_accessor :requested
@@ -1157,6 +1353,15 @@ module Stripe
1157
1353
  end
1158
1354
  end
1159
1355
 
1356
+ class StripeBalancePayments < Stripe::RequestParams
1357
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1358
+ attr_accessor :requested
1359
+
1360
+ def initialize(requested: nil)
1361
+ @requested = requested
1362
+ end
1363
+ end
1364
+
1160
1365
  class SwishPayments < Stripe::RequestParams
1161
1366
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1162
1367
  attr_accessor :requested
@@ -1202,6 +1407,33 @@ module Stripe
1202
1407
  end
1203
1408
  end
1204
1409
 
1410
+ class TreasuryEvolve < Stripe::RequestParams
1411
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1412
+ attr_accessor :requested
1413
+
1414
+ def initialize(requested: nil)
1415
+ @requested = requested
1416
+ end
1417
+ end
1418
+
1419
+ class TreasuryFifthThird < Stripe::RequestParams
1420
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1421
+ attr_accessor :requested
1422
+
1423
+ def initialize(requested: nil)
1424
+ @requested = requested
1425
+ end
1426
+ end
1427
+
1428
+ class TreasuryGoldmanSachs < Stripe::RequestParams
1429
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1430
+ attr_accessor :requested
1431
+
1432
+ def initialize(requested: nil)
1433
+ @requested = requested
1434
+ end
1435
+ end
1436
+
1205
1437
  class TwintPayments < Stripe::RequestParams
1206
1438
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1207
1439
  attr_accessor :requested
@@ -1249,6 +1481,8 @@ module Stripe
1249
1481
  attr_accessor :amazon_pay_payments
1250
1482
  # The au_becs_debit_payments capability.
1251
1483
  attr_accessor :au_becs_debit_payments
1484
+ # The automatic_indirect_tax capability.
1485
+ attr_accessor :automatic_indirect_tax
1252
1486
  # The bacs_debit_payments capability.
1253
1487
  attr_accessor :bacs_debit_payments
1254
1488
  # The bancontact_payments capability.
@@ -1277,8 +1511,14 @@ module Stripe
1277
1511
  attr_accessor :gb_bank_transfer_payments
1278
1512
  # The giropay_payments capability.
1279
1513
  attr_accessor :giropay_payments
1514
+ # The gopay_payments capability.
1515
+ attr_accessor :gopay_payments
1280
1516
  # The grabpay_payments capability.
1281
1517
  attr_accessor :grabpay_payments
1518
+ # The id_bank_transfer_payments capability.
1519
+ attr_accessor :id_bank_transfer_payments
1520
+ # The id_bank_transfer_payments_bca capability.
1521
+ attr_accessor :id_bank_transfer_payments_bca
1282
1522
  # The ideal_payments capability.
1283
1523
  attr_accessor :ideal_payments
1284
1524
  # The india_international_payments capability.
@@ -1299,6 +1539,8 @@ module Stripe
1299
1539
  attr_accessor :legacy_payments
1300
1540
  # The link_payments capability.
1301
1541
  attr_accessor :link_payments
1542
+ # The mb_way_payments capability.
1543
+ attr_accessor :mb_way_payments
1302
1544
  # The mobilepay_payments capability.
1303
1545
  attr_accessor :mobilepay_payments
1304
1546
  # The multibanco_payments capability.
@@ -1319,8 +1561,16 @@ module Stripe
1319
1561
  attr_accessor :payco_payments
1320
1562
  # The paynow_payments capability.
1321
1563
  attr_accessor :paynow_payments
1564
+ # The paypal_payments capability.
1565
+ attr_accessor :paypal_payments
1566
+ # The payto_payments capability.
1567
+ attr_accessor :payto_payments
1322
1568
  # The promptpay_payments capability.
1323
1569
  attr_accessor :promptpay_payments
1570
+ # The qris_payments capability.
1571
+ attr_accessor :qris_payments
1572
+ # The rechnung_payments capability.
1573
+ attr_accessor :rechnung_payments
1324
1574
  # The revolut_pay_payments capability.
1325
1575
  attr_accessor :revolut_pay_payments
1326
1576
  # The samsung_pay_payments capability.
@@ -1331,8 +1581,12 @@ module Stripe
1331
1581
  attr_accessor :sepa_bank_transfer_payments
1332
1582
  # The sepa_debit_payments capability.
1333
1583
  attr_accessor :sepa_debit_payments
1584
+ # The shopeepay_payments capability.
1585
+ attr_accessor :shopeepay_payments
1334
1586
  # The sofort_payments capability.
1335
1587
  attr_accessor :sofort_payments
1588
+ # The stripe_balance_payments capability.
1589
+ attr_accessor :stripe_balance_payments
1336
1590
  # The swish_payments capability.
1337
1591
  attr_accessor :swish_payments
1338
1592
  # The tax_reporting_us_1099_k capability.
@@ -1343,6 +1597,12 @@ module Stripe
1343
1597
  attr_accessor :transfers
1344
1598
  # The treasury capability.
1345
1599
  attr_accessor :treasury
1600
+ # The treasury_evolve capability.
1601
+ attr_accessor :treasury_evolve
1602
+ # The treasury_fifth_third capability.
1603
+ attr_accessor :treasury_fifth_third
1604
+ # The treasury_goldman_sachs capability.
1605
+ attr_accessor :treasury_goldman_sachs
1346
1606
  # The twint_payments capability.
1347
1607
  attr_accessor :twint_payments
1348
1608
  # The us_bank_account_ach_payments capability.
@@ -1359,6 +1619,7 @@ module Stripe
1359
1619
  alma_payments: nil,
1360
1620
  amazon_pay_payments: nil,
1361
1621
  au_becs_debit_payments: nil,
1622
+ automatic_indirect_tax: nil,
1362
1623
  bacs_debit_payments: nil,
1363
1624
  bancontact_payments: nil,
1364
1625
  bank_transfer_payments: nil,
@@ -1373,7 +1634,10 @@ module Stripe
1373
1634
  fpx_payments: nil,
1374
1635
  gb_bank_transfer_payments: nil,
1375
1636
  giropay_payments: nil,
1637
+ gopay_payments: nil,
1376
1638
  grabpay_payments: nil,
1639
+ id_bank_transfer_payments: nil,
1640
+ id_bank_transfer_payments_bca: nil,
1377
1641
  ideal_payments: nil,
1378
1642
  india_international_payments: nil,
1379
1643
  jcb_payments: nil,
@@ -1384,6 +1648,7 @@ module Stripe
1384
1648
  kr_card_payments: nil,
1385
1649
  legacy_payments: nil,
1386
1650
  link_payments: nil,
1651
+ mb_way_payments: nil,
1387
1652
  mobilepay_payments: nil,
1388
1653
  multibanco_payments: nil,
1389
1654
  mx_bank_transfer_payments: nil,
@@ -1394,18 +1659,27 @@ module Stripe
1394
1659
  pay_by_bank_payments: nil,
1395
1660
  payco_payments: nil,
1396
1661
  paynow_payments: nil,
1662
+ paypal_payments: nil,
1663
+ payto_payments: nil,
1397
1664
  promptpay_payments: nil,
1665
+ qris_payments: nil,
1666
+ rechnung_payments: nil,
1398
1667
  revolut_pay_payments: nil,
1399
1668
  samsung_pay_payments: nil,
1400
1669
  satispay_payments: nil,
1401
1670
  sepa_bank_transfer_payments: nil,
1402
1671
  sepa_debit_payments: nil,
1672
+ shopeepay_payments: nil,
1403
1673
  sofort_payments: nil,
1674
+ stripe_balance_payments: nil,
1404
1675
  swish_payments: nil,
1405
1676
  tax_reporting_us_1099_k: nil,
1406
1677
  tax_reporting_us_1099_misc: nil,
1407
1678
  transfers: nil,
1408
1679
  treasury: nil,
1680
+ treasury_evolve: nil,
1681
+ treasury_fifth_third: nil,
1682
+ treasury_goldman_sachs: nil,
1409
1683
  twint_payments: nil,
1410
1684
  us_bank_account_ach_payments: nil,
1411
1685
  us_bank_transfer_payments: nil,
@@ -1417,6 +1691,7 @@ module Stripe
1417
1691
  @alma_payments = alma_payments
1418
1692
  @amazon_pay_payments = amazon_pay_payments
1419
1693
  @au_becs_debit_payments = au_becs_debit_payments
1694
+ @automatic_indirect_tax = automatic_indirect_tax
1420
1695
  @bacs_debit_payments = bacs_debit_payments
1421
1696
  @bancontact_payments = bancontact_payments
1422
1697
  @bank_transfer_payments = bank_transfer_payments
@@ -1431,7 +1706,10 @@ module Stripe
1431
1706
  @fpx_payments = fpx_payments
1432
1707
  @gb_bank_transfer_payments = gb_bank_transfer_payments
1433
1708
  @giropay_payments = giropay_payments
1709
+ @gopay_payments = gopay_payments
1434
1710
  @grabpay_payments = grabpay_payments
1711
+ @id_bank_transfer_payments = id_bank_transfer_payments
1712
+ @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1435
1713
  @ideal_payments = ideal_payments
1436
1714
  @india_international_payments = india_international_payments
1437
1715
  @jcb_payments = jcb_payments
@@ -1442,6 +1720,7 @@ module Stripe
1442
1720
  @kr_card_payments = kr_card_payments
1443
1721
  @legacy_payments = legacy_payments
1444
1722
  @link_payments = link_payments
1723
+ @mb_way_payments = mb_way_payments
1445
1724
  @mobilepay_payments = mobilepay_payments
1446
1725
  @multibanco_payments = multibanco_payments
1447
1726
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -1452,18 +1731,27 @@ module Stripe
1452
1731
  @pay_by_bank_payments = pay_by_bank_payments
1453
1732
  @payco_payments = payco_payments
1454
1733
  @paynow_payments = paynow_payments
1734
+ @paypal_payments = paypal_payments
1735
+ @payto_payments = payto_payments
1455
1736
  @promptpay_payments = promptpay_payments
1737
+ @qris_payments = qris_payments
1738
+ @rechnung_payments = rechnung_payments
1456
1739
  @revolut_pay_payments = revolut_pay_payments
1457
1740
  @samsung_pay_payments = samsung_pay_payments
1458
1741
  @satispay_payments = satispay_payments
1459
1742
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1460
1743
  @sepa_debit_payments = sepa_debit_payments
1744
+ @shopeepay_payments = shopeepay_payments
1461
1745
  @sofort_payments = sofort_payments
1746
+ @stripe_balance_payments = stripe_balance_payments
1462
1747
  @swish_payments = swish_payments
1463
1748
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1464
1749
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1465
1750
  @transfers = transfers
1466
1751
  @treasury = treasury
1752
+ @treasury_evolve = treasury_evolve
1753
+ @treasury_fifth_third = treasury_fifth_third
1754
+ @treasury_goldman_sachs = treasury_goldman_sachs
1467
1755
  @twint_payments = twint_payments
1468
1756
  @us_bank_account_ach_payments = us_bank_account_ach_payments
1469
1757
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -1685,6 +1973,21 @@ module Stripe
1685
1973
  end
1686
1974
  end
1687
1975
 
1976
+ class RegistrationDate < Stripe::RequestParams
1977
+ # The day of registration, between 1 and 31.
1978
+ attr_accessor :day
1979
+ # The month of registration, between 1 and 12.
1980
+ attr_accessor :month
1981
+ # The four-digit year of registration.
1982
+ attr_accessor :year
1983
+
1984
+ def initialize(day: nil, month: nil, year: nil)
1985
+ @day = day
1986
+ @month = month
1987
+ @year = year
1988
+ end
1989
+ end
1990
+
1688
1991
  class Verification < Stripe::RequestParams
1689
1992
  class Document < Stripe::RequestParams
1690
1993
  # 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.
@@ -1734,6 +2037,8 @@ module Stripe
1734
2037
  attr_accessor :ownership_exemption_reason
1735
2038
  # The company's phone number (used for verification).
1736
2039
  attr_accessor :phone
2040
+ # Attribute for param field registration_date
2041
+ attr_accessor :registration_date
1737
2042
  # 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).
1738
2043
  attr_accessor :registration_number
1739
2044
  # 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.
@@ -1763,6 +2068,7 @@ module Stripe
1763
2068
  ownership_declaration: nil,
1764
2069
  ownership_exemption_reason: nil,
1765
2070
  phone: nil,
2071
+ registration_date: nil,
1766
2072
  registration_number: nil,
1767
2073
  structure: nil,
1768
2074
  tax_id: nil,
@@ -1785,6 +2091,7 @@ module Stripe
1785
2091
  @ownership_declaration = ownership_declaration
1786
2092
  @ownership_exemption_reason = ownership_exemption_reason
1787
2093
  @phone = phone
2094
+ @registration_date = registration_date
1788
2095
  @registration_number = registration_number
1789
2096
  @structure = structure
1790
2097
  @tax_id = tax_id
@@ -2220,6 +2527,37 @@ module Stripe
2220
2527
  end
2221
2528
  end
2222
2529
 
2530
+ class RiskControls < Stripe::RequestParams
2531
+ class Charges < Stripe::RequestParams
2532
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2533
+ # There can be a delay before the risk control is paused or unpaused.
2534
+ attr_accessor :pause_requested
2535
+
2536
+ def initialize(pause_requested: nil)
2537
+ @pause_requested = pause_requested
2538
+ end
2539
+ end
2540
+
2541
+ class Payouts < Stripe::RequestParams
2542
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2543
+ # There can be a delay before the risk control is paused or unpaused.
2544
+ attr_accessor :pause_requested
2545
+
2546
+ def initialize(pause_requested: nil)
2547
+ @pause_requested = pause_requested
2548
+ end
2549
+ end
2550
+ # 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).
2551
+ attr_accessor :charges
2552
+ # 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).
2553
+ attr_accessor :payouts
2554
+
2555
+ def initialize(charges: nil, payouts: nil)
2556
+ @charges = charges
2557
+ @payouts = payouts
2558
+ end
2559
+ end
2560
+
2223
2561
  class Settings < Stripe::RequestParams
2224
2562
  class BacsDebitPayments < Stripe::RequestParams
2225
2563
  # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -2230,6 +2568,18 @@ module Stripe
2230
2568
  end
2231
2569
  end
2232
2570
 
2571
+ class BankBcaOnboarding < Stripe::RequestParams
2572
+ # Bank BCA business account holder name
2573
+ attr_accessor :account_holder_name
2574
+ # Bank BCA business account number
2575
+ attr_accessor :business_account_number
2576
+
2577
+ def initialize(account_holder_name: nil, business_account_number: nil)
2578
+ @account_holder_name = account_holder_name
2579
+ @business_account_number = business_account_number
2580
+ end
2581
+ end
2582
+
2233
2583
  class Branding < Stripe::RequestParams
2234
2584
  # (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.
2235
2585
  attr_accessor :icon
@@ -2248,6 +2598,18 @@ module Stripe
2248
2598
  end
2249
2599
  end
2250
2600
 
2601
+ class Capital < Stripe::RequestParams
2602
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
2603
+ attr_accessor :payout_destination
2604
+ # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
2605
+ attr_accessor :payout_destination_selector
2606
+
2607
+ def initialize(payout_destination: nil, payout_destination_selector: nil)
2608
+ @payout_destination = payout_destination
2609
+ @payout_destination_selector = payout_destination_selector
2610
+ end
2611
+ end
2612
+
2251
2613
  class CardIssuing < Stripe::RequestParams
2252
2614
  class TosAcceptance < Stripe::RequestParams
2253
2615
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2368,6 +2730,15 @@ module Stripe
2368
2730
  end
2369
2731
  end
2370
2732
 
2733
+ class TaxForms < Stripe::RequestParams
2734
+ # Whether the account opted out of receiving their tax forms by postal delivery.
2735
+ attr_accessor :consented_to_paperless_delivery
2736
+
2737
+ def initialize(consented_to_paperless_delivery: nil)
2738
+ @consented_to_paperless_delivery = consented_to_paperless_delivery
2739
+ end
2740
+ end
2741
+
2371
2742
  class Treasury < Stripe::RequestParams
2372
2743
  class TosAcceptance < Stripe::RequestParams
2373
2744
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2392,8 +2763,12 @@ module Stripe
2392
2763
  end
2393
2764
  # Settings specific to Bacs Direct Debit payments.
2394
2765
  attr_accessor :bacs_debit_payments
2766
+ # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2767
+ attr_accessor :bank_bca_onboarding
2395
2768
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2396
2769
  attr_accessor :branding
2770
+ # Settings specific to the account's use of the Capital product.
2771
+ attr_accessor :capital
2397
2772
  # Settings specific to the account's use of the Card Issuing product.
2398
2773
  attr_accessor :card_issuing
2399
2774
  # Settings specific to card charging on the account.
@@ -2404,26 +2779,34 @@ module Stripe
2404
2779
  attr_accessor :payments
2405
2780
  # Settings specific to the account's payouts.
2406
2781
  attr_accessor :payouts
2782
+ # Settings specific to the account's tax forms.
2783
+ attr_accessor :tax_forms
2407
2784
  # Settings specific to the account's Treasury FinancialAccounts.
2408
2785
  attr_accessor :treasury
2409
2786
 
2410
2787
  def initialize(
2411
2788
  bacs_debit_payments: nil,
2789
+ bank_bca_onboarding: nil,
2412
2790
  branding: nil,
2791
+ capital: nil,
2413
2792
  card_issuing: nil,
2414
2793
  card_payments: nil,
2415
2794
  invoices: nil,
2416
2795
  payments: nil,
2417
2796
  payouts: nil,
2797
+ tax_forms: nil,
2418
2798
  treasury: nil
2419
2799
  )
2420
2800
  @bacs_debit_payments = bacs_debit_payments
2801
+ @bank_bca_onboarding = bank_bca_onboarding
2421
2802
  @branding = branding
2803
+ @capital = capital
2422
2804
  @card_issuing = card_issuing
2423
2805
  @card_payments = card_payments
2424
2806
  @invoices = invoices
2425
2807
  @payments = payments
2426
2808
  @payouts = payouts
2809
+ @tax_forms = tax_forms
2427
2810
  @treasury = treasury
2428
2811
  end
2429
2812
  end
@@ -2478,6 +2861,8 @@ module Stripe
2478
2861
  attr_accessor :individual
2479
2862
  # 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`.
2480
2863
  attr_accessor :metadata
2864
+ # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2865
+ attr_accessor :risk_controls
2481
2866
  # Options for customizing how the account functions within Stripe.
2482
2867
  attr_accessor :settings
2483
2868
  # 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.
@@ -2497,6 +2882,7 @@ module Stripe
2497
2882
  groups: nil,
2498
2883
  individual: nil,
2499
2884
  metadata: nil,
2885
+ risk_controls: nil,
2500
2886
  settings: nil,
2501
2887
  tos_acceptance: nil
2502
2888
  )
@@ -2513,6 +2899,7 @@ module Stripe
2513
2899
  @groups = groups
2514
2900
  @individual = individual
2515
2901
  @metadata = metadata
2902
+ @risk_controls = risk_controls
2516
2903
  @settings = settings
2517
2904
  @tos_acceptance = tos_acceptance
2518
2905
  end
@@ -2656,6 +3043,8 @@ module Stripe
2656
3043
  attr_accessor :estimated_worker_count
2657
3044
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
2658
3045
  attr_accessor :mcc
3046
+ # Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
3047
+ attr_accessor :minority_owned_business_designation
2659
3048
  # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
2660
3049
  attr_accessor :monthly_estimated_revenue
2661
3050
  # The customer-facing business name.
@@ -2677,6 +3066,7 @@ module Stripe
2677
3066
  annual_revenue: nil,
2678
3067
  estimated_worker_count: nil,
2679
3068
  mcc: nil,
3069
+ minority_owned_business_designation: nil,
2680
3070
  monthly_estimated_revenue: nil,
2681
3071
  name: nil,
2682
3072
  product_description: nil,
@@ -2689,6 +3079,7 @@ module Stripe
2689
3079
  @annual_revenue = annual_revenue
2690
3080
  @estimated_worker_count = estimated_worker_count
2691
3081
  @mcc = mcc
3082
+ @minority_owned_business_designation = minority_owned_business_designation
2692
3083
  @monthly_estimated_revenue = monthly_estimated_revenue
2693
3084
  @name = name
2694
3085
  @product_description = product_description
@@ -2755,6 +3146,15 @@ module Stripe
2755
3146
  end
2756
3147
  end
2757
3148
 
3149
+ class AutomaticIndirectTax < Stripe::RequestParams
3150
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3151
+ attr_accessor :requested
3152
+
3153
+ def initialize(requested: nil)
3154
+ @requested = requested
3155
+ end
3156
+ end
3157
+
2758
3158
  class BacsDebitPayments < Stripe::RequestParams
2759
3159
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2760
3160
  attr_accessor :requested
@@ -2881,6 +3281,15 @@ module Stripe
2881
3281
  end
2882
3282
  end
2883
3283
 
3284
+ class GopayPayments < Stripe::RequestParams
3285
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3286
+ attr_accessor :requested
3287
+
3288
+ def initialize(requested: nil)
3289
+ @requested = requested
3290
+ end
3291
+ end
3292
+
2884
3293
  class GrabpayPayments < Stripe::RequestParams
2885
3294
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2886
3295
  attr_accessor :requested
@@ -2890,6 +3299,24 @@ module Stripe
2890
3299
  end
2891
3300
  end
2892
3301
 
3302
+ class IdBankTransferPayments < Stripe::RequestParams
3303
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3304
+ attr_accessor :requested
3305
+
3306
+ def initialize(requested: nil)
3307
+ @requested = requested
3308
+ end
3309
+ end
3310
+
3311
+ class IdBankTransferPaymentsBca < Stripe::RequestParams
3312
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3313
+ attr_accessor :requested
3314
+
3315
+ def initialize(requested: nil)
3316
+ @requested = requested
3317
+ end
3318
+ end
3319
+
2893
3320
  class IdealPayments < Stripe::RequestParams
2894
3321
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2895
3322
  attr_accessor :requested
@@ -2980,6 +3407,15 @@ module Stripe
2980
3407
  end
2981
3408
  end
2982
3409
 
3410
+ class MbWayPayments < Stripe::RequestParams
3411
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3412
+ attr_accessor :requested
3413
+
3414
+ def initialize(requested: nil)
3415
+ @requested = requested
3416
+ end
3417
+ end
3418
+
2983
3419
  class MobilepayPayments < Stripe::RequestParams
2984
3420
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2985
3421
  attr_accessor :requested
@@ -3070,6 +3506,24 @@ module Stripe
3070
3506
  end
3071
3507
  end
3072
3508
 
3509
+ class PaypalPayments < Stripe::RequestParams
3510
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3511
+ attr_accessor :requested
3512
+
3513
+ def initialize(requested: nil)
3514
+ @requested = requested
3515
+ end
3516
+ end
3517
+
3518
+ class PaytoPayments < Stripe::RequestParams
3519
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3520
+ attr_accessor :requested
3521
+
3522
+ def initialize(requested: nil)
3523
+ @requested = requested
3524
+ end
3525
+ end
3526
+
3073
3527
  class PromptpayPayments < Stripe::RequestParams
3074
3528
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3075
3529
  attr_accessor :requested
@@ -3079,6 +3533,24 @@ module Stripe
3079
3533
  end
3080
3534
  end
3081
3535
 
3536
+ class QrisPayments < Stripe::RequestParams
3537
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3538
+ attr_accessor :requested
3539
+
3540
+ def initialize(requested: nil)
3541
+ @requested = requested
3542
+ end
3543
+ end
3544
+
3545
+ class RechnungPayments < Stripe::RequestParams
3546
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3547
+ attr_accessor :requested
3548
+
3549
+ def initialize(requested: nil)
3550
+ @requested = requested
3551
+ end
3552
+ end
3553
+
3082
3554
  class RevolutPayPayments < Stripe::RequestParams
3083
3555
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3084
3556
  attr_accessor :requested
@@ -3124,6 +3596,15 @@ module Stripe
3124
3596
  end
3125
3597
  end
3126
3598
 
3599
+ class ShopeepayPayments < Stripe::RequestParams
3600
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3601
+ attr_accessor :requested
3602
+
3603
+ def initialize(requested: nil)
3604
+ @requested = requested
3605
+ end
3606
+ end
3607
+
3127
3608
  class SofortPayments < Stripe::RequestParams
3128
3609
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3129
3610
  attr_accessor :requested
@@ -3133,6 +3614,15 @@ module Stripe
3133
3614
  end
3134
3615
  end
3135
3616
 
3617
+ class StripeBalancePayments < Stripe::RequestParams
3618
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3619
+ attr_accessor :requested
3620
+
3621
+ def initialize(requested: nil)
3622
+ @requested = requested
3623
+ end
3624
+ end
3625
+
3136
3626
  class SwishPayments < Stripe::RequestParams
3137
3627
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3138
3628
  attr_accessor :requested
@@ -3178,6 +3668,33 @@ module Stripe
3178
3668
  end
3179
3669
  end
3180
3670
 
3671
+ class TreasuryEvolve < Stripe::RequestParams
3672
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3673
+ attr_accessor :requested
3674
+
3675
+ def initialize(requested: nil)
3676
+ @requested = requested
3677
+ end
3678
+ end
3679
+
3680
+ class TreasuryFifthThird < Stripe::RequestParams
3681
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3682
+ attr_accessor :requested
3683
+
3684
+ def initialize(requested: nil)
3685
+ @requested = requested
3686
+ end
3687
+ end
3688
+
3689
+ class TreasuryGoldmanSachs < Stripe::RequestParams
3690
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3691
+ attr_accessor :requested
3692
+
3693
+ def initialize(requested: nil)
3694
+ @requested = requested
3695
+ end
3696
+ end
3697
+
3181
3698
  class TwintPayments < Stripe::RequestParams
3182
3699
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3183
3700
  attr_accessor :requested
@@ -3225,6 +3742,8 @@ module Stripe
3225
3742
  attr_accessor :amazon_pay_payments
3226
3743
  # The au_becs_debit_payments capability.
3227
3744
  attr_accessor :au_becs_debit_payments
3745
+ # The automatic_indirect_tax capability.
3746
+ attr_accessor :automatic_indirect_tax
3228
3747
  # The bacs_debit_payments capability.
3229
3748
  attr_accessor :bacs_debit_payments
3230
3749
  # The bancontact_payments capability.
@@ -3253,8 +3772,14 @@ module Stripe
3253
3772
  attr_accessor :gb_bank_transfer_payments
3254
3773
  # The giropay_payments capability.
3255
3774
  attr_accessor :giropay_payments
3775
+ # The gopay_payments capability.
3776
+ attr_accessor :gopay_payments
3256
3777
  # The grabpay_payments capability.
3257
3778
  attr_accessor :grabpay_payments
3779
+ # The id_bank_transfer_payments capability.
3780
+ attr_accessor :id_bank_transfer_payments
3781
+ # The id_bank_transfer_payments_bca capability.
3782
+ attr_accessor :id_bank_transfer_payments_bca
3258
3783
  # The ideal_payments capability.
3259
3784
  attr_accessor :ideal_payments
3260
3785
  # The india_international_payments capability.
@@ -3275,6 +3800,8 @@ module Stripe
3275
3800
  attr_accessor :legacy_payments
3276
3801
  # The link_payments capability.
3277
3802
  attr_accessor :link_payments
3803
+ # The mb_way_payments capability.
3804
+ attr_accessor :mb_way_payments
3278
3805
  # The mobilepay_payments capability.
3279
3806
  attr_accessor :mobilepay_payments
3280
3807
  # The multibanco_payments capability.
@@ -3295,8 +3822,16 @@ module Stripe
3295
3822
  attr_accessor :payco_payments
3296
3823
  # The paynow_payments capability.
3297
3824
  attr_accessor :paynow_payments
3825
+ # The paypal_payments capability.
3826
+ attr_accessor :paypal_payments
3827
+ # The payto_payments capability.
3828
+ attr_accessor :payto_payments
3298
3829
  # The promptpay_payments capability.
3299
3830
  attr_accessor :promptpay_payments
3831
+ # The qris_payments capability.
3832
+ attr_accessor :qris_payments
3833
+ # The rechnung_payments capability.
3834
+ attr_accessor :rechnung_payments
3300
3835
  # The revolut_pay_payments capability.
3301
3836
  attr_accessor :revolut_pay_payments
3302
3837
  # The samsung_pay_payments capability.
@@ -3307,8 +3842,12 @@ module Stripe
3307
3842
  attr_accessor :sepa_bank_transfer_payments
3308
3843
  # The sepa_debit_payments capability.
3309
3844
  attr_accessor :sepa_debit_payments
3845
+ # The shopeepay_payments capability.
3846
+ attr_accessor :shopeepay_payments
3310
3847
  # The sofort_payments capability.
3311
3848
  attr_accessor :sofort_payments
3849
+ # The stripe_balance_payments capability.
3850
+ attr_accessor :stripe_balance_payments
3312
3851
  # The swish_payments capability.
3313
3852
  attr_accessor :swish_payments
3314
3853
  # The tax_reporting_us_1099_k capability.
@@ -3319,6 +3858,12 @@ module Stripe
3319
3858
  attr_accessor :transfers
3320
3859
  # The treasury capability.
3321
3860
  attr_accessor :treasury
3861
+ # The treasury_evolve capability.
3862
+ attr_accessor :treasury_evolve
3863
+ # The treasury_fifth_third capability.
3864
+ attr_accessor :treasury_fifth_third
3865
+ # The treasury_goldman_sachs capability.
3866
+ attr_accessor :treasury_goldman_sachs
3322
3867
  # The twint_payments capability.
3323
3868
  attr_accessor :twint_payments
3324
3869
  # The us_bank_account_ach_payments capability.
@@ -3335,6 +3880,7 @@ module Stripe
3335
3880
  alma_payments: nil,
3336
3881
  amazon_pay_payments: nil,
3337
3882
  au_becs_debit_payments: nil,
3883
+ automatic_indirect_tax: nil,
3338
3884
  bacs_debit_payments: nil,
3339
3885
  bancontact_payments: nil,
3340
3886
  bank_transfer_payments: nil,
@@ -3349,7 +3895,10 @@ module Stripe
3349
3895
  fpx_payments: nil,
3350
3896
  gb_bank_transfer_payments: nil,
3351
3897
  giropay_payments: nil,
3898
+ gopay_payments: nil,
3352
3899
  grabpay_payments: nil,
3900
+ id_bank_transfer_payments: nil,
3901
+ id_bank_transfer_payments_bca: nil,
3353
3902
  ideal_payments: nil,
3354
3903
  india_international_payments: nil,
3355
3904
  jcb_payments: nil,
@@ -3360,6 +3909,7 @@ module Stripe
3360
3909
  kr_card_payments: nil,
3361
3910
  legacy_payments: nil,
3362
3911
  link_payments: nil,
3912
+ mb_way_payments: nil,
3363
3913
  mobilepay_payments: nil,
3364
3914
  multibanco_payments: nil,
3365
3915
  mx_bank_transfer_payments: nil,
@@ -3370,18 +3920,27 @@ module Stripe
3370
3920
  pay_by_bank_payments: nil,
3371
3921
  payco_payments: nil,
3372
3922
  paynow_payments: nil,
3923
+ paypal_payments: nil,
3924
+ payto_payments: nil,
3373
3925
  promptpay_payments: nil,
3926
+ qris_payments: nil,
3927
+ rechnung_payments: nil,
3374
3928
  revolut_pay_payments: nil,
3375
3929
  samsung_pay_payments: nil,
3376
3930
  satispay_payments: nil,
3377
3931
  sepa_bank_transfer_payments: nil,
3378
3932
  sepa_debit_payments: nil,
3933
+ shopeepay_payments: nil,
3379
3934
  sofort_payments: nil,
3935
+ stripe_balance_payments: nil,
3380
3936
  swish_payments: nil,
3381
3937
  tax_reporting_us_1099_k: nil,
3382
3938
  tax_reporting_us_1099_misc: nil,
3383
3939
  transfers: nil,
3384
3940
  treasury: nil,
3941
+ treasury_evolve: nil,
3942
+ treasury_fifth_third: nil,
3943
+ treasury_goldman_sachs: nil,
3385
3944
  twint_payments: nil,
3386
3945
  us_bank_account_ach_payments: nil,
3387
3946
  us_bank_transfer_payments: nil,
@@ -3393,6 +3952,7 @@ module Stripe
3393
3952
  @alma_payments = alma_payments
3394
3953
  @amazon_pay_payments = amazon_pay_payments
3395
3954
  @au_becs_debit_payments = au_becs_debit_payments
3955
+ @automatic_indirect_tax = automatic_indirect_tax
3396
3956
  @bacs_debit_payments = bacs_debit_payments
3397
3957
  @bancontact_payments = bancontact_payments
3398
3958
  @bank_transfer_payments = bank_transfer_payments
@@ -3407,7 +3967,10 @@ module Stripe
3407
3967
  @fpx_payments = fpx_payments
3408
3968
  @gb_bank_transfer_payments = gb_bank_transfer_payments
3409
3969
  @giropay_payments = giropay_payments
3970
+ @gopay_payments = gopay_payments
3410
3971
  @grabpay_payments = grabpay_payments
3972
+ @id_bank_transfer_payments = id_bank_transfer_payments
3973
+ @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
3411
3974
  @ideal_payments = ideal_payments
3412
3975
  @india_international_payments = india_international_payments
3413
3976
  @jcb_payments = jcb_payments
@@ -3418,6 +3981,7 @@ module Stripe
3418
3981
  @kr_card_payments = kr_card_payments
3419
3982
  @legacy_payments = legacy_payments
3420
3983
  @link_payments = link_payments
3984
+ @mb_way_payments = mb_way_payments
3421
3985
  @mobilepay_payments = mobilepay_payments
3422
3986
  @multibanco_payments = multibanco_payments
3423
3987
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -3428,18 +3992,27 @@ module Stripe
3428
3992
  @pay_by_bank_payments = pay_by_bank_payments
3429
3993
  @payco_payments = payco_payments
3430
3994
  @paynow_payments = paynow_payments
3995
+ @paypal_payments = paypal_payments
3996
+ @payto_payments = payto_payments
3431
3997
  @promptpay_payments = promptpay_payments
3998
+ @qris_payments = qris_payments
3999
+ @rechnung_payments = rechnung_payments
3432
4000
  @revolut_pay_payments = revolut_pay_payments
3433
4001
  @samsung_pay_payments = samsung_pay_payments
3434
4002
  @satispay_payments = satispay_payments
3435
4003
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
3436
4004
  @sepa_debit_payments = sepa_debit_payments
4005
+ @shopeepay_payments = shopeepay_payments
3437
4006
  @sofort_payments = sofort_payments
4007
+ @stripe_balance_payments = stripe_balance_payments
3438
4008
  @swish_payments = swish_payments
3439
4009
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
3440
4010
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
3441
4011
  @transfers = transfers
3442
4012
  @treasury = treasury
4013
+ @treasury_evolve = treasury_evolve
4014
+ @treasury_fifth_third = treasury_fifth_third
4015
+ @treasury_goldman_sachs = treasury_goldman_sachs
3443
4016
  @twint_payments = twint_payments
3444
4017
  @us_bank_account_ach_payments = us_bank_account_ach_payments
3445
4018
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -3661,6 +4234,21 @@ module Stripe
3661
4234
  end
3662
4235
  end
3663
4236
 
4237
+ class RegistrationDate < Stripe::RequestParams
4238
+ # The day of registration, between 1 and 31.
4239
+ attr_accessor :day
4240
+ # The month of registration, between 1 and 12.
4241
+ attr_accessor :month
4242
+ # The four-digit year of registration.
4243
+ attr_accessor :year
4244
+
4245
+ def initialize(day: nil, month: nil, year: nil)
4246
+ @day = day
4247
+ @month = month
4248
+ @year = year
4249
+ end
4250
+ end
4251
+
3664
4252
  class Verification < Stripe::RequestParams
3665
4253
  class Document < Stripe::RequestParams
3666
4254
  # 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.
@@ -3710,6 +4298,8 @@ module Stripe
3710
4298
  attr_accessor :ownership_exemption_reason
3711
4299
  # The company's phone number (used for verification).
3712
4300
  attr_accessor :phone
4301
+ # Attribute for param field registration_date
4302
+ attr_accessor :registration_date
3713
4303
  # 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).
3714
4304
  attr_accessor :registration_number
3715
4305
  # 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.
@@ -3739,6 +4329,7 @@ module Stripe
3739
4329
  ownership_declaration: nil,
3740
4330
  ownership_exemption_reason: nil,
3741
4331
  phone: nil,
4332
+ registration_date: nil,
3742
4333
  registration_number: nil,
3743
4334
  structure: nil,
3744
4335
  tax_id: nil,
@@ -3761,6 +4352,7 @@ module Stripe
3761
4352
  @ownership_declaration = ownership_declaration
3762
4353
  @ownership_exemption_reason = ownership_exemption_reason
3763
4354
  @phone = phone
4355
+ @registration_date = registration_date
3764
4356
  @registration_number = registration_number
3765
4357
  @structure = structure
3766
4358
  @tax_id = tax_id
@@ -3771,6 +4363,30 @@ module Stripe
3771
4363
  end
3772
4364
 
3773
4365
  class Controller < Stripe::RequestParams
4366
+ class Application < Stripe::RequestParams
4367
+ # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
4368
+ attr_accessor :loss_liable
4369
+ # Whether the controller owns onboarding for this account.
4370
+ attr_accessor :onboarding_owner
4371
+ # Whether the controller has pricing controls for this account.
4372
+ attr_accessor :pricing_controls
4373
+
4374
+ def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
4375
+ @loss_liable = loss_liable
4376
+ @onboarding_owner = onboarding_owner
4377
+ @pricing_controls = pricing_controls
4378
+ end
4379
+ end
4380
+
4381
+ class Dashboard < Stripe::RequestParams
4382
+ # Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
4383
+ attr_accessor :type
4384
+
4385
+ def initialize(type: nil)
4386
+ @type = type
4387
+ end
4388
+ end
4389
+
3774
4390
  class Fees < Stripe::RequestParams
3775
4391
  # A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
3776
4392
  attr_accessor :payer
@@ -3797,6 +4413,10 @@ module Stripe
3797
4413
  @type = type
3798
4414
  end
3799
4415
  end
4416
+ # A hash of configuration describing the Connect application that controls the account.
4417
+ attr_accessor :application
4418
+ # Properties of the account's dashboard.
4419
+ attr_accessor :dashboard
3800
4420
  # A hash of configuration for who pays Stripe fees for product usage on this account.
3801
4421
  attr_accessor :fees
3802
4422
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -3806,7 +4426,16 @@ module Stripe
3806
4426
  # A hash of configuration for Stripe-hosted dashboards.
3807
4427
  attr_accessor :stripe_dashboard
3808
4428
 
3809
- def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
4429
+ def initialize(
4430
+ application: nil,
4431
+ dashboard: nil,
4432
+ fees: nil,
4433
+ losses: nil,
4434
+ requirement_collection: nil,
4435
+ stripe_dashboard: nil
4436
+ )
4437
+ @application = application
4438
+ @dashboard = dashboard
3810
4439
  @fees = fees
3811
4440
  @losses = losses
3812
4441
  @requirement_collection = requirement_collection
@@ -4240,6 +4869,37 @@ module Stripe
4240
4869
  end
4241
4870
  end
4242
4871
 
4872
+ class RiskControls < Stripe::RequestParams
4873
+ class Charges < Stripe::RequestParams
4874
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4875
+ # There can be a delay before the risk control is paused or unpaused.
4876
+ attr_accessor :pause_requested
4877
+
4878
+ def initialize(pause_requested: nil)
4879
+ @pause_requested = pause_requested
4880
+ end
4881
+ end
4882
+
4883
+ class Payouts < Stripe::RequestParams
4884
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4885
+ # There can be a delay before the risk control is paused or unpaused.
4886
+ attr_accessor :pause_requested
4887
+
4888
+ def initialize(pause_requested: nil)
4889
+ @pause_requested = pause_requested
4890
+ end
4891
+ end
4892
+ # 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).
4893
+ attr_accessor :charges
4894
+ # 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).
4895
+ attr_accessor :payouts
4896
+
4897
+ def initialize(charges: nil, payouts: nil)
4898
+ @charges = charges
4899
+ @payouts = payouts
4900
+ end
4901
+ end
4902
+
4243
4903
  class Settings < Stripe::RequestParams
4244
4904
  class BacsDebitPayments < Stripe::RequestParams
4245
4905
  # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -4250,6 +4910,18 @@ module Stripe
4250
4910
  end
4251
4911
  end
4252
4912
 
4913
+ class BankBcaOnboarding < Stripe::RequestParams
4914
+ # Bank BCA business account holder name
4915
+ attr_accessor :account_holder_name
4916
+ # Bank BCA business account number
4917
+ attr_accessor :business_account_number
4918
+
4919
+ def initialize(account_holder_name: nil, business_account_number: nil)
4920
+ @account_holder_name = account_holder_name
4921
+ @business_account_number = business_account_number
4922
+ end
4923
+ end
4924
+
4253
4925
  class Branding < Stripe::RequestParams
4254
4926
  # (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.
4255
4927
  attr_accessor :icon
@@ -4268,6 +4940,18 @@ module Stripe
4268
4940
  end
4269
4941
  end
4270
4942
 
4943
+ class Capital < Stripe::RequestParams
4944
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
4945
+ attr_accessor :payout_destination
4946
+ # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4947
+ attr_accessor :payout_destination_selector
4948
+
4949
+ def initialize(payout_destination: nil, payout_destination_selector: nil)
4950
+ @payout_destination = payout_destination
4951
+ @payout_destination_selector = payout_destination_selector
4952
+ end
4953
+ end
4954
+
4271
4955
  class CardIssuing < Stripe::RequestParams
4272
4956
  class TosAcceptance < Stripe::RequestParams
4273
4957
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4385,6 +5069,15 @@ module Stripe
4385
5069
  end
4386
5070
  end
4387
5071
 
5072
+ class TaxForms < Stripe::RequestParams
5073
+ # Whether the account opted out of receiving their tax forms by postal delivery.
5074
+ attr_accessor :consented_to_paperless_delivery
5075
+
5076
+ def initialize(consented_to_paperless_delivery: nil)
5077
+ @consented_to_paperless_delivery = consented_to_paperless_delivery
5078
+ end
5079
+ end
5080
+
4388
5081
  class Treasury < Stripe::RequestParams
4389
5082
  class TosAcceptance < Stripe::RequestParams
4390
5083
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4409,8 +5102,12 @@ module Stripe
4409
5102
  end
4410
5103
  # Settings specific to Bacs Direct Debit.
4411
5104
  attr_accessor :bacs_debit_payments
5105
+ # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
5106
+ attr_accessor :bank_bca_onboarding
4412
5107
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
4413
5108
  attr_accessor :branding
5109
+ # Settings specific to the account's use of the Capital product.
5110
+ attr_accessor :capital
4414
5111
  # Settings specific to the account's use of the Card Issuing product.
4415
5112
  attr_accessor :card_issuing
4416
5113
  # Settings specific to card charging on the account.
@@ -4421,26 +5118,34 @@ module Stripe
4421
5118
  attr_accessor :payments
4422
5119
  # Settings specific to the account's payouts.
4423
5120
  attr_accessor :payouts
5121
+ # Settings specific to the account's tax forms.
5122
+ attr_accessor :tax_forms
4424
5123
  # Settings specific to the account's Treasury FinancialAccounts.
4425
5124
  attr_accessor :treasury
4426
5125
 
4427
5126
  def initialize(
4428
5127
  bacs_debit_payments: nil,
5128
+ bank_bca_onboarding: nil,
4429
5129
  branding: nil,
5130
+ capital: nil,
4430
5131
  card_issuing: nil,
4431
5132
  card_payments: nil,
4432
5133
  invoices: nil,
4433
5134
  payments: nil,
4434
5135
  payouts: nil,
5136
+ tax_forms: nil,
4435
5137
  treasury: nil
4436
5138
  )
4437
5139
  @bacs_debit_payments = bacs_debit_payments
5140
+ @bank_bca_onboarding = bank_bca_onboarding
4438
5141
  @branding = branding
5142
+ @capital = capital
4439
5143
  @card_issuing = card_issuing
4440
5144
  @card_payments = card_payments
4441
5145
  @invoices = invoices
4442
5146
  @payments = payments
4443
5147
  @payouts = payouts
5148
+ @tax_forms = tax_forms
4444
5149
  @treasury = treasury
4445
5150
  end
4446
5151
  end
@@ -4499,6 +5204,8 @@ module Stripe
4499
5204
  attr_accessor :individual
4500
5205
  # 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`.
4501
5206
  attr_accessor :metadata
5207
+ # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
5208
+ attr_accessor :risk_controls
4502
5209
  # Options for customizing how the account functions within Stripe.
4503
5210
  attr_accessor :settings
4504
5211
  # 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.
@@ -4522,6 +5229,7 @@ module Stripe
4522
5229
  groups: nil,
4523
5230
  individual: nil,
4524
5231
  metadata: nil,
5232
+ risk_controls: nil,
4525
5233
  settings: nil,
4526
5234
  tos_acceptance: nil,
4527
5235
  type: nil
@@ -4541,6 +5249,7 @@ module Stripe
4541
5249
  @groups = groups
4542
5250
  @individual = individual
4543
5251
  @metadata = metadata
5252
+ @risk_controls = risk_controls
4544
5253
  @settings = settings
4545
5254
  @tos_acceptance = tos_acceptance
4546
5255
  @type = type
@@ -4659,6 +5368,8 @@ module Stripe
4659
5368
  attr_reader :payouts_enabled
4660
5369
  # Attribute for field requirements
4661
5370
  attr_reader :requirements
5371
+ # Attribute for field risk_controls
5372
+ attr_reader :risk_controls
4662
5373
  # Options for customizing how the account functions within Stripe.
4663
5374
  attr_reader :settings
4664
5375
  # Attribute for field tos_acceptance
@@ -4804,7 +5515,7 @@ module Stripe
4804
5515
  opts = id
4805
5516
  id = nil
4806
5517
  end
4807
- super(id, opts)
5518
+ super
4808
5519
  end
4809
5520
 
4810
5521
  # We are not adding a helper for capabilities here as the Account object
@@ -4844,7 +5555,7 @@ module Stripe
4844
5555
  entity_update[:additional_owners] =
4845
5556
  serialize_additional_owners(entity, owners)
4846
5557
  end
4847
- if (individual = @values[:individual]) && (individual.is_a?(Person) && !update_hash.key?(:individual))
5558
+ if (individual = @values[:individual]) && individual.is_a?(Person) && !update_hash.key?(:individual)
4848
5559
  update_hash[:individual] = individual.serialize_params(options)
4849
5560
  end
4850
5561
  update_hash