stripe 15.3.0 → 15.4.0.pre.beta.1

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 (589) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -1
  3. data/CHANGELOG.md +1594 -667
  4. data/README.md +1 -1
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_requestor.rb +28 -0
  7. data/lib/stripe/api_version.rb +1 -2
  8. data/lib/stripe/errors.rb +54 -0
  9. data/lib/stripe/event_types.rb +98 -0
  10. data/lib/stripe/events/v2_core_account_closed_event.rb +21 -0
  11. data/lib/stripe/events/v2_core_account_created_event.rb +21 -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_defaults_updated_event.rb +21 -0
  19. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
  20. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
  21. data/lib/stripe/events/v2_core_account_link_completed_event.rb +13 -0
  22. data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
  23. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
  24. data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
  25. data/lib/stripe/events/v2_core_account_updated_event.rb +21 -0
  26. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
  27. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
  28. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +21 -0
  29. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
  30. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
  31. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
  32. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
  33. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
  34. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
  35. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
  36. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
  37. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
  38. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
  39. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
  40. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
  41. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
  42. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +21 -0
  43. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
  44. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
  45. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
  46. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
  47. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
  48. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +21 -0
  49. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
  50. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
  51. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
  52. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
  53. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
  54. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
  55. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
  56. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
  57. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
  58. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +21 -0
  59. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
  60. data/lib/stripe/events/v2_off_session_payment_requires_capture_event.rb +21 -0
  61. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +21 -0
  62. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +21 -0
  63. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +21 -0
  64. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +21 -0
  65. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +21 -0
  66. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +21 -0
  67. data/lib/stripe/object_types.rb +50 -0
  68. data/lib/stripe/resources/account.rb +653 -1
  69. data/lib/stripe/resources/account_notice.rb +123 -0
  70. data/lib/stripe/resources/account_session.rb +256 -1
  71. data/lib/stripe/resources/balance_settings.rb +105 -0
  72. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
  73. data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
  74. data/lib/stripe/resources/billing/credit_grant.rb +10 -0
  75. data/lib/stripe/resources/billing_portal/session.rb +6 -0
  76. data/lib/stripe/resources/capital/financing_offer.rb +179 -0
  77. data/lib/stripe/resources/capital/financing_summary.rb +55 -0
  78. data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
  79. data/lib/stripe/resources/card.rb +2 -0
  80. data/lib/stripe/resources/cash_balance.rb +2 -0
  81. data/lib/stripe/resources/charge.rb +1538 -0
  82. data/lib/stripe/resources/checkout/session.rb +326 -2
  83. data/lib/stripe/resources/confirmation_token.rb +170 -0
  84. data/lib/stripe/resources/coupon.rb +30 -1
  85. data/lib/stripe/resources/credit_note.rb +6 -0
  86. data/lib/stripe/resources/credit_note_line_item.rb +9 -0
  87. data/lib/stripe/resources/customer.rb +2 -0
  88. data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
  89. data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
  90. data/lib/stripe/resources/customer_session.rb +6 -1
  91. data/lib/stripe/resources/discount.rb +2 -0
  92. data/lib/stripe/resources/dispute.rb +2 -0
  93. data/lib/stripe/resources/event.rb +31 -0
  94. data/lib/stripe/resources/financial_connections/account.rb +22 -1
  95. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
  96. data/lib/stripe/resources/financial_connections/institution.rb +92 -0
  97. data/lib/stripe/resources/financial_connections/session.rb +62 -2
  98. data/lib/stripe/resources/fx_quote.rb +184 -0
  99. data/lib/stripe/resources/identity/verification_session.rb +10 -0
  100. data/lib/stripe/resources/invoice.rb +1063 -16
  101. data/lib/stripe/resources/invoice_item.rb +78 -2
  102. data/lib/stripe/resources/invoice_line_item.rb +55 -1
  103. data/lib/stripe/resources/invoice_payment.rb +2 -53
  104. data/lib/stripe/resources/issuing/cardholder.rb +2 -1
  105. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +602 -0
  106. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +82 -0
  107. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +86 -0
  108. data/lib/stripe/resources/issuing/settlement.rb +53 -0
  109. data/lib/stripe/resources/issuing/transaction.rb +6 -0
  110. data/lib/stripe/resources/line_item.rb +37 -0
  111. data/lib/stripe/resources/mandate.rb +24 -0
  112. data/lib/stripe/resources/margin.rb +115 -0
  113. data/lib/stripe/resources/order.rb +2958 -0
  114. data/lib/stripe/resources/payment_attempt_record.rb +1099 -0
  115. data/lib/stripe/resources/payment_intent.rb +8540 -3584
  116. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +72 -0
  117. data/lib/stripe/resources/payment_method.rb +192 -1
  118. data/lib/stripe/resources/payment_method_configuration.rb +295 -0
  119. data/lib/stripe/resources/payment_record.rb +1628 -0
  120. data/lib/stripe/resources/payout.rb +6 -0
  121. data/lib/stripe/resources/price.rb +30 -0
  122. data/lib/stripe/resources/privacy/redaction_job.rb +298 -0
  123. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +33 -0
  124. data/lib/stripe/resources/promotion_code.rb +10 -0
  125. data/lib/stripe/resources/quote.rb +2038 -7
  126. data/lib/stripe/resources/quote_line.rb +274 -0
  127. data/lib/stripe/resources/quote_preview_invoice.rb +663 -0
  128. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +371 -0
  129. data/lib/stripe/resources/refund.rb +9 -0
  130. data/lib/stripe/resources/setup_attempt.rb +21 -0
  131. data/lib/stripe/resources/setup_intent.rb +578 -9
  132. data/lib/stripe/resources/source.rb +29 -0
  133. data/lib/stripe/resources/subscription.rb +288 -9
  134. data/lib/stripe/resources/subscription_item.rb +84 -3
  135. data/lib/stripe/resources/subscription_schedule.rb +1007 -10
  136. data/lib/stripe/resources/tax/association.rb +66 -0
  137. data/lib/stripe/resources/tax/form.rb +211 -0
  138. data/lib/stripe/resources/tax_id.rb +12 -2
  139. data/lib/stripe/resources/terminal/reader.rb +8 -0
  140. data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
  141. data/lib/stripe/resources/transfer.rb +6 -0
  142. data/lib/stripe/resources/treasury/financial_account.rb +22 -3
  143. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  144. data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
  145. data/lib/stripe/resources/treasury/received_credit.rb +38 -1
  146. data/lib/stripe/resources/treasury/received_debit.rb +40 -1
  147. data/lib/stripe/resources/v2/core/account.rb +1755 -0
  148. data/lib/stripe/resources/v2/core/account_link.rb +56 -0
  149. data/lib/stripe/resources/v2/core/person.rb +276 -0
  150. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +74 -0
  151. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +39 -0
  152. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +20 -0
  153. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +22 -0
  154. data/lib/stripe/resources/v2/money_management/adjustment.rb +51 -0
  155. data/lib/stripe/resources/v2/money_management/financial_account.rb +58 -0
  156. data/lib/stripe/resources/v2/money_management/financial_address.rb +68 -0
  157. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +94 -0
  158. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +129 -0
  159. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +82 -0
  160. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +45 -0
  161. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +117 -0
  162. data/lib/stripe/resources/v2/money_management/payout_method.rb +75 -0
  163. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +49 -0
  164. data/lib/stripe/resources/v2/money_management/received_credit.rb +122 -0
  165. data/lib/stripe/resources/v2/money_management/received_debit.rb +84 -0
  166. data/lib/stripe/resources/v2/money_management/transaction.rb +78 -0
  167. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +68 -0
  168. data/lib/stripe/resources/v2/payments/off_session_payment.rb +72 -0
  169. data/lib/stripe/resources.rb +104 -0
  170. data/lib/stripe/services/account_notice_service.rb +101 -0
  171. data/lib/stripe/services/account_service.rb +562 -1
  172. data/lib/stripe/services/account_session_service.rb +226 -1
  173. data/lib/stripe/services/balance_settings_service.rb +96 -0
  174. data/lib/stripe/services/billing/credit_balance_summary_service.rb +4 -1
  175. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
  176. data/lib/stripe/services/billing/credit_grant_service.rb +8 -0
  177. data/lib/stripe/services/billing_portal/session_service.rb +4 -0
  178. data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
  179. data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
  180. data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
  181. data/lib/stripe/services/capital_service.rb +15 -0
  182. data/lib/stripe/services/charge_service.rb +1418 -0
  183. data/lib/stripe/services/checkout/session_service.rb +243 -2
  184. data/lib/stripe/services/coupon_service.rb +17 -1
  185. data/lib/stripe/services/credit_note_service.rb +4 -0
  186. data/lib/stripe/services/customer_session_service.rb +4 -1
  187. data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -122
  188. data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
  189. data/lib/stripe/services/financial_connections/account_service.rb +7 -2
  190. data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
  191. data/lib/stripe/services/financial_connections/session_service.rb +34 -2
  192. data/lib/stripe/services/financial_connections_service.rb +2 -1
  193. data/lib/stripe/services/fx_quote_service.rb +123 -0
  194. data/lib/stripe/services/identity/verification_session_service.rb +8 -0
  195. data/lib/stripe/services/invoice_item_service.rb +74 -2
  196. data/lib/stripe/services/invoice_line_item_service.rb +33 -1
  197. data/lib/stripe/services/invoice_service.rb +1014 -16
  198. data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
  199. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
  200. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
  201. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
  202. data/lib/stripe/services/issuing/transaction_service.rb +4 -0
  203. data/lib/stripe/services/issuing_service.rb +5 -1
  204. data/lib/stripe/services/margin_service.rb +119 -0
  205. data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
  206. data/lib/stripe/services/order_service.rb +2388 -0
  207. data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
  208. data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
  209. data/lib/stripe/services/payment_intent_service.rb +4879 -391
  210. data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
  211. data/lib/stripe/services/payment_method_service.rb +120 -1
  212. data/lib/stripe/services/payment_record_service.rb +542 -0
  213. data/lib/stripe/services/payout_service.rb +4 -0
  214. data/lib/stripe/services/price_service.rb +19 -0
  215. data/lib/stripe/services/privacy/redaction_job_service.rb +240 -0
  216. data/{rbi/stripe/services/tax/calculation_line_item_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +21 -17
  217. data/lib/stripe/services/privacy_service.rb +13 -0
  218. data/lib/stripe/services/promotion_code_service.rb +8 -0
  219. data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
  220. data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
  221. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
  222. data/lib/stripe/services/quote_service.rb +1723 -8
  223. data/lib/stripe/services/setup_intent_service.rb +538 -9
  224. data/lib/stripe/services/subscription_item_service.rb +75 -3
  225. data/lib/stripe/services/subscription_schedule_service.rb +911 -10
  226. data/lib/stripe/services/subscription_service.rb +249 -9
  227. data/lib/stripe/services/tax/association_service.rb +31 -0
  228. data/lib/stripe/services/tax/form_service.rb +100 -0
  229. data/lib/stripe/services/tax_id_service.rb +8 -2
  230. data/lib/stripe/services/tax_service.rb +3 -1
  231. data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
  232. data/lib/stripe/services/terminal_service.rb +2 -1
  233. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +97 -0
  234. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
  235. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
  236. data/lib/stripe/services/transfer_service.rb +4 -0
  237. data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
  238. data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
  239. data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
  240. data/lib/stripe/services/v1_services.rb +11 -2
  241. data/lib/stripe/services/v2/core/account_link_service.rb +76 -0
  242. data/lib/stripe/services/v2/core/account_service.rb +4170 -0
  243. data/lib/stripe/services/v2/core/accounts/person_service.rb +1045 -0
  244. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +130 -0
  245. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +107 -0
  246. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  247. data/lib/stripe/services/v2/core_service.rb +4 -1
  248. data/lib/stripe/services/v2/money_management/adjustment_service.rb +74 -0
  249. data/lib/stripe/services/v2/money_management/financial_account_service.rb +43 -0
  250. data/lib/stripe/services/v2/money_management/financial_address_service.rb +82 -0
  251. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +125 -0
  252. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +95 -0
  253. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +199 -0
  254. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +235 -0
  255. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +172 -0
  256. data/lib/stripe/services/v2/money_management/payout_method_service.rb +90 -0
  257. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
  258. data/lib/stripe/services/v2/money_management/received_credit_service.rb +70 -0
  259. data/lib/stripe/services/v2/money_management/received_debit_service.rb +43 -0
  260. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +69 -0
  261. data/lib/stripe/services/v2/money_management/transaction_service.rb +73 -0
  262. data/lib/stripe/services/v2/money_management_service.rb +31 -0
  263. data/lib/stripe/services/v2/payment_service.rb +15 -0
  264. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +137 -0
  265. data/lib/stripe/services/v2/test_helper_service.rb +15 -0
  266. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +49 -0
  267. data/lib/stripe/services/v2_services.rb +4 -1
  268. data/lib/stripe/services.rb +53 -1
  269. data/lib/stripe/stripe_configuration.rb +3 -1
  270. data/lib/stripe/stripe_object.rb +1 -1
  271. data/lib/stripe/util.rb +7 -1
  272. data/lib/stripe/version.rb +1 -1
  273. data/lib/stripe.rb +53 -0
  274. data/rbi/stripe.rbi +193855 -0
  275. data/stripe.gemspec +4 -1
  276. metadata +161 -324
  277. data/lib/stripe/services/invoice_payment_service.rb +0 -83
  278. data/rbi/stripe/resources/account.rbi +0 -4995
  279. data/rbi/stripe/resources/account_link.rbi +0 -74
  280. data/rbi/stripe/resources/account_session.rbi +0 -1013
  281. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
  282. data/rbi/stripe/resources/application.rbi +0 -20
  283. data/rbi/stripe/resources/application_fee.rbi +0 -118
  284. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  285. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  286. data/rbi/stripe/resources/balance.rbi +0 -235
  287. data/rbi/stripe/resources/balance_transaction.rbi +0 -147
  288. data/rbi/stripe/resources/bank_account.rbi +0 -127
  289. data/rbi/stripe/resources/billing/alert.rbi +0 -201
  290. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  291. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
  292. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
  293. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
  294. data/rbi/stripe/resources/billing/meter.rbi +0 -226
  295. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  296. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  297. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
  298. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -645
  299. data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
  300. data/rbi/stripe/resources/capability.rbi +0 -125
  301. data/rbi/stripe/resources/card.rbi +0 -125
  302. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  303. data/rbi/stripe/resources/charge.rbi +0 -2086
  304. data/rbi/stripe/resources/checkout/session.rbi +0 -4060
  305. data/rbi/stripe/resources/climate/order.rbi +0 -245
  306. data/rbi/stripe/resources/climate/product.rbi +0 -75
  307. data/rbi/stripe/resources/climate/supplier.rbi +0 -72
  308. data/rbi/stripe/resources/confirmation_token.rbi +0 -1818
  309. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  310. data/rbi/stripe/resources/country_spec.rbi +0 -85
  311. data/rbi/stripe/resources/coupon.rbi +0 -250
  312. data/rbi/stripe/resources/credit_note.rbi +0 -752
  313. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
  314. data/rbi/stripe/resources/customer.rbi +0 -1005
  315. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
  316. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  317. data/rbi/stripe/resources/customer_session.rbi +0 -200
  318. data/rbi/stripe/resources/discount.rbi +0 -53
  319. data/rbi/stripe/resources/dispute.rbi +0 -761
  320. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
  321. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  322. data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
  323. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  324. data/rbi/stripe/resources/event.rbi +0 -149
  325. data/rbi/stripe/resources/exchange_rate.rbi +0 -66
  326. data/rbi/stripe/resources/file.rbi +0 -143
  327. data/rbi/stripe/resources/file_link.rbi +0 -141
  328. data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
  329. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  330. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  331. data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
  332. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
  333. data/rbi/stripe/resources/forwarding/request.rbi +0 -216
  334. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  335. data/rbi/stripe/resources/identity/verification_report.rbi +0 -360
  336. data/rbi/stripe/resources/identity/verification_session.rbi +0 -564
  337. data/rbi/stripe/resources/invoice.rbi +0 -3842
  338. data/rbi/stripe/resources/invoice_item.rbi +0 -470
  339. data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
  340. data/rbi/stripe/resources/invoice_payment.rbi +0 -121
  341. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
  342. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
  343. data/rbi/stripe/resources/issuing/card.rbi +0 -741
  344. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
  345. data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
  346. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
  347. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
  348. data/rbi/stripe/resources/issuing/token.rbi +0 -226
  349. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
  350. data/rbi/stripe/resources/line_item.rbi +0 -72
  351. data/rbi/stripe/resources/login_link.rbi +0 -19
  352. data/rbi/stripe/resources/mandate.rbi +0 -191
  353. data/rbi/stripe/resources/payment_intent.rbi +0 -9987
  354. data/rbi/stripe/resources/payment_link.rbi +0 -1801
  355. data/rbi/stripe/resources/payment_method.rbi +0 -1770
  356. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
  357. data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
  358. data/rbi/stripe/resources/payout.rbi +0 -300
  359. data/rbi/stripe/resources/person.rbi +0 -401
  360. data/rbi/stripe/resources/plan.rbi +0 -371
  361. data/rbi/stripe/resources/price.rbi +0 -694
  362. data/rbi/stripe/resources/product.rbi +0 -555
  363. data/rbi/stripe/resources/product_feature.rbi +0 -26
  364. data/rbi/stripe/resources/promotion_code.rbi +0 -261
  365. data/rbi/stripe/resources/quote.rbi +0 -1145
  366. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
  367. data/rbi/stripe/resources/radar/value_list.rbi +0 -168
  368. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
  369. data/rbi/stripe/resources/refund.rbi +0 -523
  370. data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
  371. data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
  372. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  373. data/rbi/stripe/resources/reversal.rbi +0 -51
  374. data/rbi/stripe/resources/review.rbi +0 -154
  375. data/rbi/stripe/resources/setup_attempt.rbi +0 -477
  376. data/rbi/stripe/resources/setup_intent.rbi +0 -3978
  377. data/rbi/stripe/resources/shipping_rate.rbi +0 -305
  378. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
  379. data/rbi/stripe/resources/source.rbi +0 -1496
  380. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  381. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  382. data/rbi/stripe/resources/subscription.rbi +0 -2080
  383. data/rbi/stripe/resources/subscription_item.rbi +0 -404
  384. data/rbi/stripe/resources/subscription_schedule.rbi +0 -1645
  385. data/rbi/stripe/resources/tax/calculation.rbi +0 -478
  386. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
  387. data/rbi/stripe/resources/tax/registration.rbi +0 -2732
  388. data/rbi/stripe/resources/tax/settings.rbi +0 -141
  389. data/rbi/stripe/resources/tax/transaction.rbi +0 -351
  390. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  391. data/rbi/stripe/resources/tax_code.rbi +0 -44
  392. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  393. data/rbi/stripe/resources/tax_id.rbi +0 -165
  394. data/rbi/stripe/resources/tax_rate.rbi +0 -239
  395. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1387
  396. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  397. data/rbi/stripe/resources/terminal/location.rbi +0 -222
  398. data/rbi/stripe/resources/terminal/reader.rbi +0 -994
  399. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
  400. data/rbi/stripe/resources/token.rbi +0 -1283
  401. data/rbi/stripe/resources/topup.rbi +0 -222
  402. data/rbi/stripe/resources/transfer.rbi +0 -199
  403. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
  404. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
  405. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -869
  406. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
  407. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
  408. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
  409. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
  410. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
  411. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
  412. data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
  413. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
  414. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  415. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  416. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  417. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  418. data/rbi/stripe/resources/v2/event.rbi +0 -48
  419. data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
  420. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -168
  421. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  422. data/rbi/stripe/services/account_link_service.rbi +0 -58
  423. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  424. data/rbi/stripe/services/account_person_service.rbi +0 -1011
  425. data/rbi/stripe/services/account_service.rbi +0 -4281
  426. data/rbi/stripe/services/account_session_service.rbi +0 -646
  427. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
  428. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
  429. data/rbi/stripe/services/application_fee_service.rbi +0 -78
  430. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  431. data/rbi/stripe/services/apps_service.rbi +0 -9
  432. data/rbi/stripe/services/balance_service.rbi +0 -21
  433. data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
  434. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  435. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
  436. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  437. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
  438. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
  439. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  440. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  441. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  442. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -511
  443. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
  444. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  445. data/rbi/stripe/services/billing_service.rbi +0 -15
  446. data/rbi/stripe/services/charge_service.rbi +0 -448
  447. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  448. data/rbi/stripe/services/checkout/session_service.rbi +0 -2670
  449. data/rbi/stripe/services/checkout_service.rbi +0 -9
  450. data/rbi/stripe/services/climate/order_service.rbi +0 -142
  451. data/rbi/stripe/services/climate/product_service.rbi +0 -46
  452. data/rbi/stripe/services/climate_service.rbi +0 -11
  453. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  454. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  455. data/rbi/stripe/services/coupon_service.rbi +0 -194
  456. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  457. data/rbi/stripe/services/credit_note_service.rbi +0 -415
  458. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  459. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  460. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  461. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  462. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  463. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
  464. data/rbi/stripe/services/customer_service.rbi +0 -647
  465. data/rbi/stripe/services/customer_session_service.rbi +0 -116
  466. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
  467. data/rbi/stripe/services/dispute_service.rbi +0 -424
  468. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  469. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  470. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  471. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  472. data/rbi/stripe/services/event_service.rbi +0 -83
  473. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  474. data/rbi/stripe/services/file_link_service.rbi +0 -124
  475. data/rbi/stripe/services/file_service.rbi +0 -116
  476. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  477. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
  478. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
  479. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
  480. data/rbi/stripe/services/financial_connections_service.rbi +0 -11
  481. data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
  482. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  483. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
  484. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -339
  485. data/rbi/stripe/services/identity_service.rbi +0 -10
  486. data/rbi/stripe/services/invoice_item_service.rbi +0 -366
  487. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
  488. data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
  489. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  490. data/rbi/stripe/services/invoice_service.rbi +0 -3011
  491. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
  492. data/rbi/stripe/services/issuing/card_service.rbi +0 -495
  493. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
  494. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
  495. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
  496. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  497. data/rbi/stripe/services/issuing/token_service.rbi +0 -99
  498. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
  499. data/rbi/stripe/services/issuing_service.rbi +0 -16
  500. data/rbi/stripe/services/mandate_service.rbi +0 -20
  501. data/rbi/stripe/services/payment_intent_service.rbi +0 -7989
  502. data/rbi/stripe/services/payment_link_service.rbi +0 -1352
  503. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
  504. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
  505. data/rbi/stripe/services/payment_method_service.rbi +0 -781
  506. data/rbi/stripe/services/payout_service.rbi +0 -205
  507. data/rbi/stripe/services/plan_service.rbi +0 -282
  508. data/rbi/stripe/services/price_service.rbi +0 -546
  509. data/rbi/stripe/services/product_feature_service.rbi +0 -67
  510. data/rbi/stripe/services/product_service.rbi +0 -477
  511. data/rbi/stripe/services/promotion_code_service.rbi +0 -214
  512. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  513. data/rbi/stripe/services/quote_service.rbi +0 -699
  514. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
  515. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -109
  516. data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
  517. data/rbi/stripe/services/radar_service.rbi +0 -11
  518. data/rbi/stripe/services/refund_service.rbi +0 -185
  519. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
  520. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  521. data/rbi/stripe/services/reporting_service.rbi +0 -10
  522. data/rbi/stripe/services/review_service.rbi +0 -84
  523. data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
  524. data/rbi/stripe/services/setup_intent_service.rbi +0 -3709
  525. data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
  526. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  527. data/rbi/stripe/services/sigma_service.rbi +0 -9
  528. data/rbi/stripe/services/source_service.rbi +0 -663
  529. data/rbi/stripe/services/subscription_item_service.rbi +0 -350
  530. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1301
  531. data/rbi/stripe/services/subscription_service.rbi +0 -1684
  532. data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
  533. data/rbi/stripe/services/tax/registration_service.rbi +0 -1858
  534. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  535. data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
  536. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  537. data/rbi/stripe/services/tax_id_service.rbi +0 -110
  538. data/rbi/stripe/services/tax_rate_service.rbi +0 -185
  539. data/rbi/stripe/services/tax_service.rbi +0 -12
  540. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1118
  541. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  542. data/rbi/stripe/services/terminal/location_service.rbi +0 -182
  543. data/rbi/stripe/services/terminal/reader_service.rbi +0 -540
  544. data/rbi/stripe/services/terminal_service.rbi +0 -12
  545. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
  546. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  547. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
  548. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  549. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
  550. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
  551. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  552. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  553. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -93
  554. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  555. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
  556. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  557. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
  558. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
  559. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
  560. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
  561. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  562. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  563. data/rbi/stripe/services/token_service.rbi +0 -1257
  564. data/rbi/stripe/services/topup_service.rbi +0 -176
  565. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
  566. data/rbi/stripe/services/transfer_service.rbi +0 -152
  567. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  568. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  569. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
  570. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
  571. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  572. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
  573. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
  574. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
  575. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  576. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
  577. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
  578. data/rbi/stripe/services/treasury_service.rbi +0 -18
  579. data/rbi/stripe/services/v1_services.rbi +0 -77
  580. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  581. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  582. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -18
  583. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  584. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  585. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -192
  586. data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
  587. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  588. data/rbi/stripe/services/v2_services.rbi +0 -10
  589. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -129
@@ -227,6 +227,15 @@ module Stripe
227
227
  end
228
228
  end
229
229
 
230
+ class AutomaticIndirectTax < Stripe::RequestParams
231
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
232
+ attr_accessor :requested
233
+
234
+ def initialize(requested: nil)
235
+ @requested = requested
236
+ end
237
+ end
238
+
230
239
  class BacsDebitPayments < Stripe::RequestParams
231
240
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
232
241
  attr_accessor :requested
@@ -362,6 +371,15 @@ module Stripe
362
371
  end
363
372
  end
364
373
 
374
+ class GopayPayments < Stripe::RequestParams
375
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
376
+ attr_accessor :requested
377
+
378
+ def initialize(requested: nil)
379
+ @requested = requested
380
+ end
381
+ end
382
+
365
383
  class GrabpayPayments < Stripe::RequestParams
366
384
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
367
385
  attr_accessor :requested
@@ -371,6 +389,24 @@ module Stripe
371
389
  end
372
390
  end
373
391
 
392
+ class IdBankTransferPayments < Stripe::RequestParams
393
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
394
+ attr_accessor :requested
395
+
396
+ def initialize(requested: nil)
397
+ @requested = requested
398
+ end
399
+ end
400
+
401
+ class IdBankTransferPaymentsBca < Stripe::RequestParams
402
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
403
+ attr_accessor :requested
404
+
405
+ def initialize(requested: nil)
406
+ @requested = requested
407
+ end
408
+ end
409
+
374
410
  class IdealPayments < Stripe::RequestParams
375
411
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
376
412
  attr_accessor :requested
@@ -461,6 +497,15 @@ module Stripe
461
497
  end
462
498
  end
463
499
 
500
+ class MbWayPayments < Stripe::RequestParams
501
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
502
+ attr_accessor :requested
503
+
504
+ def initialize(requested: nil)
505
+ @requested = requested
506
+ end
507
+ end
508
+
464
509
  class MobilepayPayments < Stripe::RequestParams
465
510
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
466
511
  attr_accessor :requested
@@ -551,6 +596,24 @@ module Stripe
551
596
  end
552
597
  end
553
598
 
599
+ class PaypalPayments < Stripe::RequestParams
600
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
601
+ attr_accessor :requested
602
+
603
+ def initialize(requested: nil)
604
+ @requested = requested
605
+ end
606
+ end
607
+
608
+ class PaytoPayments < Stripe::RequestParams
609
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
610
+ attr_accessor :requested
611
+
612
+ def initialize(requested: nil)
613
+ @requested = requested
614
+ end
615
+ end
616
+
554
617
  class PixPayments < Stripe::RequestParams
555
618
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
556
619
  attr_accessor :requested
@@ -569,6 +632,24 @@ module Stripe
569
632
  end
570
633
  end
571
634
 
635
+ class QrisPayments < Stripe::RequestParams
636
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
637
+ attr_accessor :requested
638
+
639
+ def initialize(requested: nil)
640
+ @requested = requested
641
+ end
642
+ end
643
+
644
+ class RechnungPayments < Stripe::RequestParams
645
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
646
+ attr_accessor :requested
647
+
648
+ def initialize(requested: nil)
649
+ @requested = requested
650
+ end
651
+ end
652
+
572
653
  class RevolutPayPayments < Stripe::RequestParams
573
654
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
574
655
  attr_accessor :requested
@@ -614,6 +695,15 @@ module Stripe
614
695
  end
615
696
  end
616
697
 
698
+ class ShopeepayPayments < Stripe::RequestParams
699
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
700
+ attr_accessor :requested
701
+
702
+ def initialize(requested: nil)
703
+ @requested = requested
704
+ end
705
+ end
706
+
617
707
  class SofortPayments < Stripe::RequestParams
618
708
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
619
709
  attr_accessor :requested
@@ -623,6 +713,15 @@ module Stripe
623
713
  end
624
714
  end
625
715
 
716
+ class StripeBalancePayments < Stripe::RequestParams
717
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
718
+ attr_accessor :requested
719
+
720
+ def initialize(requested: nil)
721
+ @requested = requested
722
+ end
723
+ end
724
+
626
725
  class SwishPayments < Stripe::RequestParams
627
726
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
628
727
  attr_accessor :requested
@@ -668,6 +767,33 @@ module Stripe
668
767
  end
669
768
  end
670
769
 
770
+ class TreasuryEvolve < Stripe::RequestParams
771
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
772
+ attr_accessor :requested
773
+
774
+ def initialize(requested: nil)
775
+ @requested = requested
776
+ end
777
+ end
778
+
779
+ class TreasuryFifthThird < Stripe::RequestParams
780
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
781
+ attr_accessor :requested
782
+
783
+ def initialize(requested: nil)
784
+ @requested = requested
785
+ end
786
+ end
787
+
788
+ class TreasuryGoldmanSachs < Stripe::RequestParams
789
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
790
+ attr_accessor :requested
791
+
792
+ def initialize(requested: nil)
793
+ @requested = requested
794
+ end
795
+ end
796
+
671
797
  class TwintPayments < Stripe::RequestParams
672
798
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
673
799
  attr_accessor :requested
@@ -715,6 +841,8 @@ module Stripe
715
841
  attr_accessor :amazon_pay_payments
716
842
  # The au_becs_debit_payments capability.
717
843
  attr_accessor :au_becs_debit_payments
844
+ # The automatic_indirect_tax capability.
845
+ attr_accessor :automatic_indirect_tax
718
846
  # The bacs_debit_payments capability.
719
847
  attr_accessor :bacs_debit_payments
720
848
  # The bancontact_payments capability.
@@ -745,8 +873,14 @@ module Stripe
745
873
  attr_accessor :gb_bank_transfer_payments
746
874
  # The giropay_payments capability.
747
875
  attr_accessor :giropay_payments
876
+ # The gopay_payments capability.
877
+ attr_accessor :gopay_payments
748
878
  # The grabpay_payments capability.
749
879
  attr_accessor :grabpay_payments
880
+ # The id_bank_transfer_payments capability.
881
+ attr_accessor :id_bank_transfer_payments
882
+ # The id_bank_transfer_payments_bca capability.
883
+ attr_accessor :id_bank_transfer_payments_bca
750
884
  # The ideal_payments capability.
751
885
  attr_accessor :ideal_payments
752
886
  # The india_international_payments capability.
@@ -767,6 +901,8 @@ module Stripe
767
901
  attr_accessor :legacy_payments
768
902
  # The link_payments capability.
769
903
  attr_accessor :link_payments
904
+ # The mb_way_payments capability.
905
+ attr_accessor :mb_way_payments
770
906
  # The mobilepay_payments capability.
771
907
  attr_accessor :mobilepay_payments
772
908
  # The multibanco_payments capability.
@@ -787,10 +923,18 @@ module Stripe
787
923
  attr_accessor :payco_payments
788
924
  # The paynow_payments capability.
789
925
  attr_accessor :paynow_payments
926
+ # The paypal_payments capability.
927
+ attr_accessor :paypal_payments
928
+ # The payto_payments capability.
929
+ attr_accessor :payto_payments
790
930
  # The pix_payments capability.
791
931
  attr_accessor :pix_payments
792
932
  # The promptpay_payments capability.
793
933
  attr_accessor :promptpay_payments
934
+ # The qris_payments capability.
935
+ attr_accessor :qris_payments
936
+ # The rechnung_payments capability.
937
+ attr_accessor :rechnung_payments
794
938
  # The revolut_pay_payments capability.
795
939
  attr_accessor :revolut_pay_payments
796
940
  # The samsung_pay_payments capability.
@@ -801,8 +945,12 @@ module Stripe
801
945
  attr_accessor :sepa_bank_transfer_payments
802
946
  # The sepa_debit_payments capability.
803
947
  attr_accessor :sepa_debit_payments
948
+ # The shopeepay_payments capability.
949
+ attr_accessor :shopeepay_payments
804
950
  # The sofort_payments capability.
805
951
  attr_accessor :sofort_payments
952
+ # The stripe_balance_payments capability.
953
+ attr_accessor :stripe_balance_payments
806
954
  # The swish_payments capability.
807
955
  attr_accessor :swish_payments
808
956
  # The tax_reporting_us_1099_k capability.
@@ -813,6 +961,12 @@ module Stripe
813
961
  attr_accessor :transfers
814
962
  # The treasury capability.
815
963
  attr_accessor :treasury
964
+ # The treasury_evolve capability.
965
+ attr_accessor :treasury_evolve
966
+ # The treasury_fifth_third capability.
967
+ attr_accessor :treasury_fifth_third
968
+ # The treasury_goldman_sachs capability.
969
+ attr_accessor :treasury_goldman_sachs
816
970
  # The twint_payments capability.
817
971
  attr_accessor :twint_payments
818
972
  # The us_bank_account_ach_payments capability.
@@ -829,6 +983,7 @@ module Stripe
829
983
  alma_payments: nil,
830
984
  amazon_pay_payments: nil,
831
985
  au_becs_debit_payments: nil,
986
+ automatic_indirect_tax: nil,
832
987
  bacs_debit_payments: nil,
833
988
  bancontact_payments: nil,
834
989
  bank_transfer_payments: nil,
@@ -844,7 +999,10 @@ module Stripe
844
999
  fpx_payments: nil,
845
1000
  gb_bank_transfer_payments: nil,
846
1001
  giropay_payments: nil,
1002
+ gopay_payments: nil,
847
1003
  grabpay_payments: nil,
1004
+ id_bank_transfer_payments: nil,
1005
+ id_bank_transfer_payments_bca: nil,
848
1006
  ideal_payments: nil,
849
1007
  india_international_payments: nil,
850
1008
  jcb_payments: nil,
@@ -855,6 +1013,7 @@ module Stripe
855
1013
  kr_card_payments: nil,
856
1014
  legacy_payments: nil,
857
1015
  link_payments: nil,
1016
+ mb_way_payments: nil,
858
1017
  mobilepay_payments: nil,
859
1018
  multibanco_payments: nil,
860
1019
  mx_bank_transfer_payments: nil,
@@ -865,19 +1024,28 @@ module Stripe
865
1024
  pay_by_bank_payments: nil,
866
1025
  payco_payments: nil,
867
1026
  paynow_payments: nil,
1027
+ paypal_payments: nil,
1028
+ payto_payments: nil,
868
1029
  pix_payments: nil,
869
1030
  promptpay_payments: nil,
1031
+ qris_payments: nil,
1032
+ rechnung_payments: nil,
870
1033
  revolut_pay_payments: nil,
871
1034
  samsung_pay_payments: nil,
872
1035
  satispay_payments: nil,
873
1036
  sepa_bank_transfer_payments: nil,
874
1037
  sepa_debit_payments: nil,
1038
+ shopeepay_payments: nil,
875
1039
  sofort_payments: nil,
1040
+ stripe_balance_payments: nil,
876
1041
  swish_payments: nil,
877
1042
  tax_reporting_us_1099_k: nil,
878
1043
  tax_reporting_us_1099_misc: nil,
879
1044
  transfers: nil,
880
1045
  treasury: nil,
1046
+ treasury_evolve: nil,
1047
+ treasury_fifth_third: nil,
1048
+ treasury_goldman_sachs: nil,
881
1049
  twint_payments: nil,
882
1050
  us_bank_account_ach_payments: nil,
883
1051
  us_bank_transfer_payments: nil,
@@ -889,6 +1057,7 @@ module Stripe
889
1057
  @alma_payments = alma_payments
890
1058
  @amazon_pay_payments = amazon_pay_payments
891
1059
  @au_becs_debit_payments = au_becs_debit_payments
1060
+ @automatic_indirect_tax = automatic_indirect_tax
892
1061
  @bacs_debit_payments = bacs_debit_payments
893
1062
  @bancontact_payments = bancontact_payments
894
1063
  @bank_transfer_payments = bank_transfer_payments
@@ -904,7 +1073,10 @@ module Stripe
904
1073
  @fpx_payments = fpx_payments
905
1074
  @gb_bank_transfer_payments = gb_bank_transfer_payments
906
1075
  @giropay_payments = giropay_payments
1076
+ @gopay_payments = gopay_payments
907
1077
  @grabpay_payments = grabpay_payments
1078
+ @id_bank_transfer_payments = id_bank_transfer_payments
1079
+ @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
908
1080
  @ideal_payments = ideal_payments
909
1081
  @india_international_payments = india_international_payments
910
1082
  @jcb_payments = jcb_payments
@@ -915,6 +1087,7 @@ module Stripe
915
1087
  @kr_card_payments = kr_card_payments
916
1088
  @legacy_payments = legacy_payments
917
1089
  @link_payments = link_payments
1090
+ @mb_way_payments = mb_way_payments
918
1091
  @mobilepay_payments = mobilepay_payments
919
1092
  @multibanco_payments = multibanco_payments
920
1093
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -925,19 +1098,28 @@ module Stripe
925
1098
  @pay_by_bank_payments = pay_by_bank_payments
926
1099
  @payco_payments = payco_payments
927
1100
  @paynow_payments = paynow_payments
1101
+ @paypal_payments = paypal_payments
1102
+ @payto_payments = payto_payments
928
1103
  @pix_payments = pix_payments
929
1104
  @promptpay_payments = promptpay_payments
1105
+ @qris_payments = qris_payments
1106
+ @rechnung_payments = rechnung_payments
930
1107
  @revolut_pay_payments = revolut_pay_payments
931
1108
  @samsung_pay_payments = samsung_pay_payments
932
1109
  @satispay_payments = satispay_payments
933
1110
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
934
1111
  @sepa_debit_payments = sepa_debit_payments
1112
+ @shopeepay_payments = shopeepay_payments
935
1113
  @sofort_payments = sofort_payments
1114
+ @stripe_balance_payments = stripe_balance_payments
936
1115
  @swish_payments = swish_payments
937
1116
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
938
1117
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
939
1118
  @transfers = transfers
940
1119
  @treasury = treasury
1120
+ @treasury_evolve = treasury_evolve
1121
+ @treasury_fifth_third = treasury_fifth_third
1122
+ @treasury_goldman_sachs = treasury_goldman_sachs
941
1123
  @twint_payments = twint_payments
942
1124
  @us_bank_account_ach_payments = us_bank_account_ach_payments
943
1125
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -1726,6 +1908,37 @@ module Stripe
1726
1908
  end
1727
1909
  end
1728
1910
 
1911
+ class RiskControls < Stripe::RequestParams
1912
+ class Charges < Stripe::RequestParams
1913
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1914
+ # There can be a delay before the risk control is paused or unpaused.
1915
+ attr_accessor :pause_requested
1916
+
1917
+ def initialize(pause_requested: nil)
1918
+ @pause_requested = pause_requested
1919
+ end
1920
+ end
1921
+
1922
+ class Payouts < Stripe::RequestParams
1923
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1924
+ # There can be a delay before the risk control is paused or unpaused.
1925
+ attr_accessor :pause_requested
1926
+
1927
+ def initialize(pause_requested: nil)
1928
+ @pause_requested = pause_requested
1929
+ end
1930
+ end
1931
+ # 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).
1932
+ attr_accessor :charges
1933
+ # 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).
1934
+ attr_accessor :payouts
1935
+
1936
+ def initialize(charges: nil, payouts: nil)
1937
+ @charges = charges
1938
+ @payouts = payouts
1939
+ end
1940
+ end
1941
+
1729
1942
  class Settings < Stripe::RequestParams
1730
1943
  class BacsDebitPayments < Stripe::RequestParams
1731
1944
  # 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.
@@ -1736,6 +1949,18 @@ module Stripe
1736
1949
  end
1737
1950
  end
1738
1951
 
1952
+ class BankBcaOnboarding < Stripe::RequestParams
1953
+ # Bank BCA business account holder name
1954
+ attr_accessor :account_holder_name
1955
+ # Bank BCA business account number
1956
+ attr_accessor :business_account_number
1957
+
1958
+ def initialize(account_holder_name: nil, business_account_number: nil)
1959
+ @account_holder_name = account_holder_name
1960
+ @business_account_number = business_account_number
1961
+ end
1962
+ end
1963
+
1739
1964
  class Branding < Stripe::RequestParams
1740
1965
  # (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.
1741
1966
  attr_accessor :icon
@@ -1754,6 +1979,18 @@ module Stripe
1754
1979
  end
1755
1980
  end
1756
1981
 
1982
+ class Capital < Stripe::RequestParams
1983
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
1984
+ attr_accessor :payout_destination
1985
+ # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
1986
+ attr_accessor :payout_destination_selector
1987
+
1988
+ def initialize(payout_destination: nil, payout_destination_selector: nil)
1989
+ @payout_destination = payout_destination
1990
+ @payout_destination_selector = payout_destination_selector
1991
+ end
1992
+ end
1993
+
1757
1994
  class CardIssuing < Stripe::RequestParams
1758
1995
  class TosAcceptance < Stripe::RequestParams
1759
1996
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -1887,6 +2124,15 @@ module Stripe
1887
2124
  end
1888
2125
  end
1889
2126
 
2127
+ class TaxForms < Stripe::RequestParams
2128
+ # Whether the account opted out of receiving their tax forms by postal delivery.
2129
+ attr_accessor :consented_to_paperless_delivery
2130
+
2131
+ def initialize(consented_to_paperless_delivery: nil)
2132
+ @consented_to_paperless_delivery = consented_to_paperless_delivery
2133
+ end
2134
+ end
2135
+
1890
2136
  class Treasury < Stripe::RequestParams
1891
2137
  class TosAcceptance < Stripe::RequestParams
1892
2138
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -1911,8 +2157,12 @@ module Stripe
1911
2157
  end
1912
2158
  # Settings specific to Bacs Direct Debit payments.
1913
2159
  attr_accessor :bacs_debit_payments
2160
+ # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2161
+ attr_accessor :bank_bca_onboarding
1914
2162
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
1915
2163
  attr_accessor :branding
2164
+ # Settings specific to the account's use of the Capital product.
2165
+ attr_accessor :capital
1916
2166
  # Settings specific to the account's use of the Card Issuing product.
1917
2167
  attr_accessor :card_issuing
1918
2168
  # Settings specific to card charging on the account.
@@ -1923,26 +2173,34 @@ module Stripe
1923
2173
  attr_accessor :payments
1924
2174
  # Settings specific to the account's payouts.
1925
2175
  attr_accessor :payouts
2176
+ # Settings specific to the account's tax forms.
2177
+ attr_accessor :tax_forms
1926
2178
  # Settings specific to the account's Treasury FinancialAccounts.
1927
2179
  attr_accessor :treasury
1928
2180
 
1929
2181
  def initialize(
1930
2182
  bacs_debit_payments: nil,
2183
+ bank_bca_onboarding: nil,
1931
2184
  branding: nil,
2185
+ capital: nil,
1932
2186
  card_issuing: nil,
1933
2187
  card_payments: nil,
1934
2188
  invoices: nil,
1935
2189
  payments: nil,
1936
2190
  payouts: nil,
2191
+ tax_forms: nil,
1937
2192
  treasury: nil
1938
2193
  )
1939
2194
  @bacs_debit_payments = bacs_debit_payments
2195
+ @bank_bca_onboarding = bank_bca_onboarding
1940
2196
  @branding = branding
2197
+ @capital = capital
1941
2198
  @card_issuing = card_issuing
1942
2199
  @card_payments = card_payments
1943
2200
  @invoices = invoices
1944
2201
  @payments = payments
1945
2202
  @payouts = payouts
2203
+ @tax_forms = tax_forms
1946
2204
  @treasury = treasury
1947
2205
  end
1948
2206
  end
@@ -1997,6 +2255,8 @@ module Stripe
1997
2255
  attr_accessor :individual
1998
2256
  # 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`.
1999
2257
  attr_accessor :metadata
2258
+ # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2259
+ attr_accessor :risk_controls
2000
2260
  # Options for customizing how the account functions within Stripe.
2001
2261
  attr_accessor :settings
2002
2262
  # 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.
@@ -2016,6 +2276,7 @@ module Stripe
2016
2276
  groups: nil,
2017
2277
  individual: nil,
2018
2278
  metadata: nil,
2279
+ risk_controls: nil,
2019
2280
  settings: nil,
2020
2281
  tos_acceptance: nil
2021
2282
  )
@@ -2032,6 +2293,7 @@ module Stripe
2032
2293
  @groups = groups
2033
2294
  @individual = individual
2034
2295
  @metadata = metadata
2296
+ @risk_controls = risk_controls
2035
2297
  @settings = settings
2036
2298
  @tos_acceptance = tos_acceptance
2037
2299
  end
@@ -2287,6 +2549,15 @@ module Stripe
2287
2549
  end
2288
2550
  end
2289
2551
 
2552
+ class AutomaticIndirectTax < Stripe::RequestParams
2553
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2554
+ attr_accessor :requested
2555
+
2556
+ def initialize(requested: nil)
2557
+ @requested = requested
2558
+ end
2559
+ end
2560
+
2290
2561
  class BacsDebitPayments < Stripe::RequestParams
2291
2562
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2292
2563
  attr_accessor :requested
@@ -2422,6 +2693,15 @@ module Stripe
2422
2693
  end
2423
2694
  end
2424
2695
 
2696
+ class GopayPayments < Stripe::RequestParams
2697
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2698
+ attr_accessor :requested
2699
+
2700
+ def initialize(requested: nil)
2701
+ @requested = requested
2702
+ end
2703
+ end
2704
+
2425
2705
  class GrabpayPayments < Stripe::RequestParams
2426
2706
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2427
2707
  attr_accessor :requested
@@ -2431,6 +2711,24 @@ module Stripe
2431
2711
  end
2432
2712
  end
2433
2713
 
2714
+ class IdBankTransferPayments < Stripe::RequestParams
2715
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2716
+ attr_accessor :requested
2717
+
2718
+ def initialize(requested: nil)
2719
+ @requested = requested
2720
+ end
2721
+ end
2722
+
2723
+ class IdBankTransferPaymentsBca < Stripe::RequestParams
2724
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2725
+ attr_accessor :requested
2726
+
2727
+ def initialize(requested: nil)
2728
+ @requested = requested
2729
+ end
2730
+ end
2731
+
2434
2732
  class IdealPayments < Stripe::RequestParams
2435
2733
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2436
2734
  attr_accessor :requested
@@ -2521,6 +2819,15 @@ module Stripe
2521
2819
  end
2522
2820
  end
2523
2821
 
2822
+ class MbWayPayments < Stripe::RequestParams
2823
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2824
+ attr_accessor :requested
2825
+
2826
+ def initialize(requested: nil)
2827
+ @requested = requested
2828
+ end
2829
+ end
2830
+
2524
2831
  class MobilepayPayments < Stripe::RequestParams
2525
2832
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2526
2833
  attr_accessor :requested
@@ -2611,6 +2918,24 @@ module Stripe
2611
2918
  end
2612
2919
  end
2613
2920
 
2921
+ class PaypalPayments < Stripe::RequestParams
2922
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2923
+ attr_accessor :requested
2924
+
2925
+ def initialize(requested: nil)
2926
+ @requested = requested
2927
+ end
2928
+ end
2929
+
2930
+ class PaytoPayments < Stripe::RequestParams
2931
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2932
+ attr_accessor :requested
2933
+
2934
+ def initialize(requested: nil)
2935
+ @requested = requested
2936
+ end
2937
+ end
2938
+
2614
2939
  class PixPayments < Stripe::RequestParams
2615
2940
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2616
2941
  attr_accessor :requested
@@ -2629,6 +2954,24 @@ module Stripe
2629
2954
  end
2630
2955
  end
2631
2956
 
2957
+ class QrisPayments < Stripe::RequestParams
2958
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2959
+ attr_accessor :requested
2960
+
2961
+ def initialize(requested: nil)
2962
+ @requested = requested
2963
+ end
2964
+ end
2965
+
2966
+ class RechnungPayments < Stripe::RequestParams
2967
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2968
+ attr_accessor :requested
2969
+
2970
+ def initialize(requested: nil)
2971
+ @requested = requested
2972
+ end
2973
+ end
2974
+
2632
2975
  class RevolutPayPayments < Stripe::RequestParams
2633
2976
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2634
2977
  attr_accessor :requested
@@ -2674,6 +3017,15 @@ module Stripe
2674
3017
  end
2675
3018
  end
2676
3019
 
3020
+ class ShopeepayPayments < Stripe::RequestParams
3021
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3022
+ attr_accessor :requested
3023
+
3024
+ def initialize(requested: nil)
3025
+ @requested = requested
3026
+ end
3027
+ end
3028
+
2677
3029
  class SofortPayments < Stripe::RequestParams
2678
3030
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2679
3031
  attr_accessor :requested
@@ -2683,6 +3035,15 @@ module Stripe
2683
3035
  end
2684
3036
  end
2685
3037
 
3038
+ class StripeBalancePayments < Stripe::RequestParams
3039
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3040
+ attr_accessor :requested
3041
+
3042
+ def initialize(requested: nil)
3043
+ @requested = requested
3044
+ end
3045
+ end
3046
+
2686
3047
  class SwishPayments < Stripe::RequestParams
2687
3048
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2688
3049
  attr_accessor :requested
@@ -2728,6 +3089,33 @@ module Stripe
2728
3089
  end
2729
3090
  end
2730
3091
 
3092
+ class TreasuryEvolve < Stripe::RequestParams
3093
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3094
+ attr_accessor :requested
3095
+
3096
+ def initialize(requested: nil)
3097
+ @requested = requested
3098
+ end
3099
+ end
3100
+
3101
+ class TreasuryFifthThird < Stripe::RequestParams
3102
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3103
+ attr_accessor :requested
3104
+
3105
+ def initialize(requested: nil)
3106
+ @requested = requested
3107
+ end
3108
+ end
3109
+
3110
+ class TreasuryGoldmanSachs < Stripe::RequestParams
3111
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3112
+ attr_accessor :requested
3113
+
3114
+ def initialize(requested: nil)
3115
+ @requested = requested
3116
+ end
3117
+ end
3118
+
2731
3119
  class TwintPayments < Stripe::RequestParams
2732
3120
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2733
3121
  attr_accessor :requested
@@ -2775,6 +3163,8 @@ module Stripe
2775
3163
  attr_accessor :amazon_pay_payments
2776
3164
  # The au_becs_debit_payments capability.
2777
3165
  attr_accessor :au_becs_debit_payments
3166
+ # The automatic_indirect_tax capability.
3167
+ attr_accessor :automatic_indirect_tax
2778
3168
  # The bacs_debit_payments capability.
2779
3169
  attr_accessor :bacs_debit_payments
2780
3170
  # The bancontact_payments capability.
@@ -2805,8 +3195,14 @@ module Stripe
2805
3195
  attr_accessor :gb_bank_transfer_payments
2806
3196
  # The giropay_payments capability.
2807
3197
  attr_accessor :giropay_payments
3198
+ # The gopay_payments capability.
3199
+ attr_accessor :gopay_payments
2808
3200
  # The grabpay_payments capability.
2809
3201
  attr_accessor :grabpay_payments
3202
+ # The id_bank_transfer_payments capability.
3203
+ attr_accessor :id_bank_transfer_payments
3204
+ # The id_bank_transfer_payments_bca capability.
3205
+ attr_accessor :id_bank_transfer_payments_bca
2810
3206
  # The ideal_payments capability.
2811
3207
  attr_accessor :ideal_payments
2812
3208
  # The india_international_payments capability.
@@ -2827,6 +3223,8 @@ module Stripe
2827
3223
  attr_accessor :legacy_payments
2828
3224
  # The link_payments capability.
2829
3225
  attr_accessor :link_payments
3226
+ # The mb_way_payments capability.
3227
+ attr_accessor :mb_way_payments
2830
3228
  # The mobilepay_payments capability.
2831
3229
  attr_accessor :mobilepay_payments
2832
3230
  # The multibanco_payments capability.
@@ -2847,10 +3245,18 @@ module Stripe
2847
3245
  attr_accessor :payco_payments
2848
3246
  # The paynow_payments capability.
2849
3247
  attr_accessor :paynow_payments
3248
+ # The paypal_payments capability.
3249
+ attr_accessor :paypal_payments
3250
+ # The payto_payments capability.
3251
+ attr_accessor :payto_payments
2850
3252
  # The pix_payments capability.
2851
3253
  attr_accessor :pix_payments
2852
3254
  # The promptpay_payments capability.
2853
3255
  attr_accessor :promptpay_payments
3256
+ # The qris_payments capability.
3257
+ attr_accessor :qris_payments
3258
+ # The rechnung_payments capability.
3259
+ attr_accessor :rechnung_payments
2854
3260
  # The revolut_pay_payments capability.
2855
3261
  attr_accessor :revolut_pay_payments
2856
3262
  # The samsung_pay_payments capability.
@@ -2861,8 +3267,12 @@ module Stripe
2861
3267
  attr_accessor :sepa_bank_transfer_payments
2862
3268
  # The sepa_debit_payments capability.
2863
3269
  attr_accessor :sepa_debit_payments
3270
+ # The shopeepay_payments capability.
3271
+ attr_accessor :shopeepay_payments
2864
3272
  # The sofort_payments capability.
2865
3273
  attr_accessor :sofort_payments
3274
+ # The stripe_balance_payments capability.
3275
+ attr_accessor :stripe_balance_payments
2866
3276
  # The swish_payments capability.
2867
3277
  attr_accessor :swish_payments
2868
3278
  # The tax_reporting_us_1099_k capability.
@@ -2873,6 +3283,12 @@ module Stripe
2873
3283
  attr_accessor :transfers
2874
3284
  # The treasury capability.
2875
3285
  attr_accessor :treasury
3286
+ # The treasury_evolve capability.
3287
+ attr_accessor :treasury_evolve
3288
+ # The treasury_fifth_third capability.
3289
+ attr_accessor :treasury_fifth_third
3290
+ # The treasury_goldman_sachs capability.
3291
+ attr_accessor :treasury_goldman_sachs
2876
3292
  # The twint_payments capability.
2877
3293
  attr_accessor :twint_payments
2878
3294
  # The us_bank_account_ach_payments capability.
@@ -2889,6 +3305,7 @@ module Stripe
2889
3305
  alma_payments: nil,
2890
3306
  amazon_pay_payments: nil,
2891
3307
  au_becs_debit_payments: nil,
3308
+ automatic_indirect_tax: nil,
2892
3309
  bacs_debit_payments: nil,
2893
3310
  bancontact_payments: nil,
2894
3311
  bank_transfer_payments: nil,
@@ -2904,7 +3321,10 @@ module Stripe
2904
3321
  fpx_payments: nil,
2905
3322
  gb_bank_transfer_payments: nil,
2906
3323
  giropay_payments: nil,
3324
+ gopay_payments: nil,
2907
3325
  grabpay_payments: nil,
3326
+ id_bank_transfer_payments: nil,
3327
+ id_bank_transfer_payments_bca: nil,
2908
3328
  ideal_payments: nil,
2909
3329
  india_international_payments: nil,
2910
3330
  jcb_payments: nil,
@@ -2915,6 +3335,7 @@ module Stripe
2915
3335
  kr_card_payments: nil,
2916
3336
  legacy_payments: nil,
2917
3337
  link_payments: nil,
3338
+ mb_way_payments: nil,
2918
3339
  mobilepay_payments: nil,
2919
3340
  multibanco_payments: nil,
2920
3341
  mx_bank_transfer_payments: nil,
@@ -2925,19 +3346,28 @@ module Stripe
2925
3346
  pay_by_bank_payments: nil,
2926
3347
  payco_payments: nil,
2927
3348
  paynow_payments: nil,
3349
+ paypal_payments: nil,
3350
+ payto_payments: nil,
2928
3351
  pix_payments: nil,
2929
3352
  promptpay_payments: nil,
3353
+ qris_payments: nil,
3354
+ rechnung_payments: nil,
2930
3355
  revolut_pay_payments: nil,
2931
3356
  samsung_pay_payments: nil,
2932
3357
  satispay_payments: nil,
2933
3358
  sepa_bank_transfer_payments: nil,
2934
3359
  sepa_debit_payments: nil,
3360
+ shopeepay_payments: nil,
2935
3361
  sofort_payments: nil,
3362
+ stripe_balance_payments: nil,
2936
3363
  swish_payments: nil,
2937
3364
  tax_reporting_us_1099_k: nil,
2938
3365
  tax_reporting_us_1099_misc: nil,
2939
3366
  transfers: nil,
2940
3367
  treasury: nil,
3368
+ treasury_evolve: nil,
3369
+ treasury_fifth_third: nil,
3370
+ treasury_goldman_sachs: nil,
2941
3371
  twint_payments: nil,
2942
3372
  us_bank_account_ach_payments: nil,
2943
3373
  us_bank_transfer_payments: nil,
@@ -2949,6 +3379,7 @@ module Stripe
2949
3379
  @alma_payments = alma_payments
2950
3380
  @amazon_pay_payments = amazon_pay_payments
2951
3381
  @au_becs_debit_payments = au_becs_debit_payments
3382
+ @automatic_indirect_tax = automatic_indirect_tax
2952
3383
  @bacs_debit_payments = bacs_debit_payments
2953
3384
  @bancontact_payments = bancontact_payments
2954
3385
  @bank_transfer_payments = bank_transfer_payments
@@ -2964,7 +3395,10 @@ module Stripe
2964
3395
  @fpx_payments = fpx_payments
2965
3396
  @gb_bank_transfer_payments = gb_bank_transfer_payments
2966
3397
  @giropay_payments = giropay_payments
3398
+ @gopay_payments = gopay_payments
2967
3399
  @grabpay_payments = grabpay_payments
3400
+ @id_bank_transfer_payments = id_bank_transfer_payments
3401
+ @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
2968
3402
  @ideal_payments = ideal_payments
2969
3403
  @india_international_payments = india_international_payments
2970
3404
  @jcb_payments = jcb_payments
@@ -2975,6 +3409,7 @@ module Stripe
2975
3409
  @kr_card_payments = kr_card_payments
2976
3410
  @legacy_payments = legacy_payments
2977
3411
  @link_payments = link_payments
3412
+ @mb_way_payments = mb_way_payments
2978
3413
  @mobilepay_payments = mobilepay_payments
2979
3414
  @multibanco_payments = multibanco_payments
2980
3415
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -2985,19 +3420,28 @@ module Stripe
2985
3420
  @pay_by_bank_payments = pay_by_bank_payments
2986
3421
  @payco_payments = payco_payments
2987
3422
  @paynow_payments = paynow_payments
3423
+ @paypal_payments = paypal_payments
3424
+ @payto_payments = payto_payments
2988
3425
  @pix_payments = pix_payments
2989
3426
  @promptpay_payments = promptpay_payments
3427
+ @qris_payments = qris_payments
3428
+ @rechnung_payments = rechnung_payments
2990
3429
  @revolut_pay_payments = revolut_pay_payments
2991
3430
  @samsung_pay_payments = samsung_pay_payments
2992
3431
  @satispay_payments = satispay_payments
2993
3432
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
2994
3433
  @sepa_debit_payments = sepa_debit_payments
3434
+ @shopeepay_payments = shopeepay_payments
2995
3435
  @sofort_payments = sofort_payments
3436
+ @stripe_balance_payments = stripe_balance_payments
2996
3437
  @swish_payments = swish_payments
2997
3438
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
2998
3439
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
2999
3440
  @transfers = transfers
3000
3441
  @treasury = treasury
3442
+ @treasury_evolve = treasury_evolve
3443
+ @treasury_fifth_third = treasury_fifth_third
3444
+ @treasury_goldman_sachs = treasury_goldman_sachs
3001
3445
  @twint_payments = twint_payments
3002
3446
  @us_bank_account_ach_payments = us_bank_account_ach_payments
3003
3447
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -3348,6 +3792,30 @@ module Stripe
3348
3792
  end
3349
3793
 
3350
3794
  class Controller < Stripe::RequestParams
3795
+ class Application < Stripe::RequestParams
3796
+ # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
3797
+ attr_accessor :loss_liable
3798
+ # Whether the controller owns onboarding for this account.
3799
+ attr_accessor :onboarding_owner
3800
+ # Whether the controller has pricing controls for this account.
3801
+ attr_accessor :pricing_controls
3802
+
3803
+ def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
3804
+ @loss_liable = loss_liable
3805
+ @onboarding_owner = onboarding_owner
3806
+ @pricing_controls = pricing_controls
3807
+ end
3808
+ end
3809
+
3810
+ class Dashboard < Stripe::RequestParams
3811
+ # 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`.
3812
+ attr_accessor :type
3813
+
3814
+ def initialize(type: nil)
3815
+ @type = type
3816
+ end
3817
+ end
3818
+
3351
3819
  class Fees < Stripe::RequestParams
3352
3820
  # 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).
3353
3821
  attr_accessor :payer
@@ -3374,6 +3842,10 @@ module Stripe
3374
3842
  @type = type
3375
3843
  end
3376
3844
  end
3845
+ # A hash of configuration describing the Connect application that controls the account.
3846
+ attr_accessor :application
3847
+ # Properties of the account's dashboard.
3848
+ attr_accessor :dashboard
3377
3849
  # A hash of configuration for who pays Stripe fees for product usage on this account.
3378
3850
  attr_accessor :fees
3379
3851
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -3383,7 +3855,16 @@ module Stripe
3383
3855
  # A hash of configuration for Stripe-hosted dashboards.
3384
3856
  attr_accessor :stripe_dashboard
3385
3857
 
3386
- def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
3858
+ def initialize(
3859
+ application: nil,
3860
+ dashboard: nil,
3861
+ fees: nil,
3862
+ losses: nil,
3863
+ requirement_collection: nil,
3864
+ stripe_dashboard: nil
3865
+ )
3866
+ @application = application
3867
+ @dashboard = dashboard
3387
3868
  @fees = fees
3388
3869
  @losses = losses
3389
3870
  @requirement_collection = requirement_collection
@@ -3830,6 +4311,37 @@ module Stripe
3830
4311
  end
3831
4312
  end
3832
4313
 
4314
+ class RiskControls < Stripe::RequestParams
4315
+ class Charges < Stripe::RequestParams
4316
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4317
+ # There can be a delay before the risk control is paused or unpaused.
4318
+ attr_accessor :pause_requested
4319
+
4320
+ def initialize(pause_requested: nil)
4321
+ @pause_requested = pause_requested
4322
+ end
4323
+ end
4324
+
4325
+ class Payouts < Stripe::RequestParams
4326
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4327
+ # There can be a delay before the risk control is paused or unpaused.
4328
+ attr_accessor :pause_requested
4329
+
4330
+ def initialize(pause_requested: nil)
4331
+ @pause_requested = pause_requested
4332
+ end
4333
+ end
4334
+ # 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).
4335
+ attr_accessor :charges
4336
+ # 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).
4337
+ attr_accessor :payouts
4338
+
4339
+ def initialize(charges: nil, payouts: nil)
4340
+ @charges = charges
4341
+ @payouts = payouts
4342
+ end
4343
+ end
4344
+
3833
4345
  class Settings < Stripe::RequestParams
3834
4346
  class BacsDebitPayments < Stripe::RequestParams
3835
4347
  # 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.
@@ -3840,6 +4352,18 @@ module Stripe
3840
4352
  end
3841
4353
  end
3842
4354
 
4355
+ class BankBcaOnboarding < Stripe::RequestParams
4356
+ # Bank BCA business account holder name
4357
+ attr_accessor :account_holder_name
4358
+ # Bank BCA business account number
4359
+ attr_accessor :business_account_number
4360
+
4361
+ def initialize(account_holder_name: nil, business_account_number: nil)
4362
+ @account_holder_name = account_holder_name
4363
+ @business_account_number = business_account_number
4364
+ end
4365
+ end
4366
+
3843
4367
  class Branding < Stripe::RequestParams
3844
4368
  # (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.
3845
4369
  attr_accessor :icon
@@ -3858,6 +4382,18 @@ module Stripe
3858
4382
  end
3859
4383
  end
3860
4384
 
4385
+ class Capital < Stripe::RequestParams
4386
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
4387
+ attr_accessor :payout_destination
4388
+ # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4389
+ attr_accessor :payout_destination_selector
4390
+
4391
+ def initialize(payout_destination: nil, payout_destination_selector: nil)
4392
+ @payout_destination = payout_destination
4393
+ @payout_destination_selector = payout_destination_selector
4394
+ end
4395
+ end
4396
+
3861
4397
  class CardIssuing < Stripe::RequestParams
3862
4398
  class TosAcceptance < Stripe::RequestParams
3863
4399
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -3988,6 +4524,15 @@ module Stripe
3988
4524
  end
3989
4525
  end
3990
4526
 
4527
+ class TaxForms < Stripe::RequestParams
4528
+ # Whether the account opted out of receiving their tax forms by postal delivery.
4529
+ attr_accessor :consented_to_paperless_delivery
4530
+
4531
+ def initialize(consented_to_paperless_delivery: nil)
4532
+ @consented_to_paperless_delivery = consented_to_paperless_delivery
4533
+ end
4534
+ end
4535
+
3991
4536
  class Treasury < Stripe::RequestParams
3992
4537
  class TosAcceptance < Stripe::RequestParams
3993
4538
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4012,8 +4557,12 @@ module Stripe
4012
4557
  end
4013
4558
  # Settings specific to Bacs Direct Debit.
4014
4559
  attr_accessor :bacs_debit_payments
4560
+ # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
4561
+ attr_accessor :bank_bca_onboarding
4015
4562
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
4016
4563
  attr_accessor :branding
4564
+ # Settings specific to the account's use of the Capital product.
4565
+ attr_accessor :capital
4017
4566
  # Settings specific to the account's use of the Card Issuing product.
4018
4567
  attr_accessor :card_issuing
4019
4568
  # Settings specific to card charging on the account.
@@ -4024,26 +4573,34 @@ module Stripe
4024
4573
  attr_accessor :payments
4025
4574
  # Settings specific to the account's payouts.
4026
4575
  attr_accessor :payouts
4576
+ # Settings specific to the account's tax forms.
4577
+ attr_accessor :tax_forms
4027
4578
  # Settings specific to the account's Treasury FinancialAccounts.
4028
4579
  attr_accessor :treasury
4029
4580
 
4030
4581
  def initialize(
4031
4582
  bacs_debit_payments: nil,
4583
+ bank_bca_onboarding: nil,
4032
4584
  branding: nil,
4585
+ capital: nil,
4033
4586
  card_issuing: nil,
4034
4587
  card_payments: nil,
4035
4588
  invoices: nil,
4036
4589
  payments: nil,
4037
4590
  payouts: nil,
4591
+ tax_forms: nil,
4038
4592
  treasury: nil
4039
4593
  )
4040
4594
  @bacs_debit_payments = bacs_debit_payments
4595
+ @bank_bca_onboarding = bank_bca_onboarding
4041
4596
  @branding = branding
4597
+ @capital = capital
4042
4598
  @card_issuing = card_issuing
4043
4599
  @card_payments = card_payments
4044
4600
  @invoices = invoices
4045
4601
  @payments = payments
4046
4602
  @payouts = payouts
4603
+ @tax_forms = tax_forms
4047
4604
  @treasury = treasury
4048
4605
  end
4049
4606
  end
@@ -4102,6 +4659,8 @@ module Stripe
4102
4659
  attr_accessor :individual
4103
4660
  # 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`.
4104
4661
  attr_accessor :metadata
4662
+ # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
4663
+ attr_accessor :risk_controls
4105
4664
  # Options for customizing how the account functions within Stripe.
4106
4665
  attr_accessor :settings
4107
4666
  # 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.
@@ -4125,6 +4684,7 @@ module Stripe
4125
4684
  groups: nil,
4126
4685
  individual: nil,
4127
4686
  metadata: nil,
4687
+ risk_controls: nil,
4128
4688
  settings: nil,
4129
4689
  tos_acceptance: nil,
4130
4690
  type: nil
@@ -4144,6 +4704,7 @@ module Stripe
4144
4704
  @groups = groups
4145
4705
  @individual = individual
4146
4706
  @metadata = metadata
4707
+ @risk_controls = risk_controls
4147
4708
  @settings = settings
4148
4709
  @tos_acceptance = tos_acceptance
4149
4710
  @type = type