stripe 15.1.0 → 15.2.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 (586) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1561 -695
  3. data/VERSION +1 -1
  4. data/lib/stripe/api_requestor.rb +28 -0
  5. data/lib/stripe/api_version.rb +1 -1
  6. data/lib/stripe/errors.rb +54 -0
  7. data/lib/stripe/event_types.rb +89 -0
  8. data/lib/stripe/events/v2_core_account_closed_event.rb +21 -0
  9. data/lib/stripe/events/v2_core_account_created_event.rb +21 -0
  10. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
  11. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
  12. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
  13. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
  14. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
  15. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
  16. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +21 -0
  17. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
  18. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
  19. data/lib/stripe/events/v2_core_account_link_completed_event.rb +13 -0
  20. data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
  21. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
  22. data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
  23. data/lib/stripe/events/v2_core_account_updated_event.rb +21 -0
  24. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
  25. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
  26. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +21 -0
  27. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
  28. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
  29. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
  30. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
  31. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
  32. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
  33. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
  34. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
  35. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
  36. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
  37. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
  38. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
  39. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
  40. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +21 -0
  41. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
  42. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
  43. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
  44. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
  45. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
  46. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +21 -0
  47. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
  48. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
  49. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
  50. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
  51. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
  52. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
  53. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
  54. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
  55. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
  56. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +21 -0
  57. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
  58. data/lib/stripe/object_types.rb +52 -0
  59. data/lib/stripe/resources/account.rb +653 -1
  60. data/lib/stripe/resources/account_notice.rb +123 -0
  61. data/lib/stripe/resources/account_session.rb +299 -1
  62. data/lib/stripe/resources/balance_settings.rb +105 -0
  63. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
  64. data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
  65. data/lib/stripe/resources/billing/credit_grant.rb +10 -0
  66. data/lib/stripe/resources/billing/meter_error_report.rb +59 -0
  67. data/lib/stripe/resources/billing_portal/session.rb +6 -0
  68. data/lib/stripe/resources/capital/financing_offer.rb +179 -0
  69. data/lib/stripe/resources/capital/financing_summary.rb +55 -0
  70. data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
  71. data/lib/stripe/resources/card.rb +2 -0
  72. data/lib/stripe/resources/cash_balance.rb +2 -0
  73. data/lib/stripe/resources/charge.rb +1470 -0
  74. data/lib/stripe/resources/checkout/session.rb +331 -3
  75. data/lib/stripe/resources/confirmation_token.rb +176 -0
  76. data/lib/stripe/resources/coupon.rb +30 -1
  77. data/lib/stripe/resources/credit_note.rb +10 -0
  78. data/lib/stripe/resources/credit_note_line_item.rb +9 -0
  79. data/lib/stripe/resources/customer.rb +2 -0
  80. data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
  81. data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
  82. data/lib/stripe/resources/customer_session.rb +6 -1
  83. data/lib/stripe/resources/discount.rb +2 -0
  84. data/lib/stripe/resources/event.rb +31 -0
  85. data/lib/stripe/resources/financial_connections/account.rb +20 -1
  86. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
  87. data/lib/stripe/resources/financial_connections/institution.rb +90 -0
  88. data/lib/stripe/resources/financial_connections/session.rb +62 -2
  89. data/lib/stripe/resources/fx_quote.rb +184 -0
  90. data/lib/stripe/resources/gift_cards/card.rb +208 -0
  91. data/lib/stripe/resources/gift_cards/transaction.rb +272 -0
  92. data/lib/stripe/resources/identity/verification_session.rb +10 -0
  93. data/lib/stripe/resources/invoice.rb +1129 -15
  94. data/lib/stripe/resources/invoice_item.rb +78 -2
  95. data/lib/stripe/resources/invoice_line_item.rb +55 -1
  96. data/lib/stripe/resources/invoice_payment.rb +2 -53
  97. data/lib/stripe/resources/issuing/cardholder.rb +2 -1
  98. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +602 -0
  99. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +82 -0
  100. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +86 -0
  101. data/lib/stripe/resources/issuing/settlement.rb +53 -0
  102. data/lib/stripe/resources/issuing/transaction.rb +6 -0
  103. data/lib/stripe/resources/line_item.rb +37 -0
  104. data/lib/stripe/resources/mandate.rb +24 -0
  105. data/lib/stripe/resources/margin.rb +115 -0
  106. data/lib/stripe/resources/order.rb +2859 -0
  107. data/lib/stripe/resources/payment_attempt_record.rb +1078 -0
  108. data/lib/stripe/resources/payment_intent.rb +6036 -1214
  109. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +65 -0
  110. data/lib/stripe/resources/payment_method.rb +198 -1
  111. data/lib/stripe/resources/payment_method_configuration.rb +295 -0
  112. data/lib/stripe/resources/payment_record.rb +1607 -0
  113. data/lib/stripe/resources/payout.rb +6 -0
  114. data/lib/stripe/resources/price.rb +30 -0
  115. data/lib/stripe/resources/privacy/redaction_job.rb +275 -0
  116. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +25 -0
  117. data/lib/stripe/resources/product.rb +59 -0
  118. data/lib/stripe/resources/promotion_code.rb +10 -0
  119. data/lib/stripe/resources/quote.rb +2046 -6
  120. data/lib/stripe/resources/quote_line.rb +274 -0
  121. data/lib/stripe/resources/quote_preview_invoice.rb +663 -0
  122. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +339 -0
  123. data/lib/stripe/resources/refund.rb +9 -0
  124. data/lib/stripe/resources/setup_attempt.rb +21 -0
  125. data/lib/stripe/resources/setup_intent.rb +596 -9
  126. data/lib/stripe/resources/source.rb +29 -0
  127. data/lib/stripe/resources/subscription.rb +298 -9
  128. data/lib/stripe/resources/subscription_item.rb +84 -3
  129. data/lib/stripe/resources/subscription_schedule.rb +1013 -10
  130. data/lib/stripe/resources/tax/association.rb +89 -0
  131. data/lib/stripe/resources/tax/form.rb +211 -0
  132. data/lib/stripe/resources/tax_id.rb +12 -2
  133. data/lib/stripe/resources/terminal/reader.rb +406 -0
  134. data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
  135. data/lib/stripe/resources/transfer.rb +6 -0
  136. data/lib/stripe/resources/treasury/financial_account.rb +22 -3
  137. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  138. data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
  139. data/lib/stripe/resources/treasury/received_credit.rb +38 -1
  140. data/lib/stripe/resources/treasury/received_debit.rb +40 -1
  141. data/lib/stripe/resources/v2/core/account.rb +1746 -0
  142. data/lib/stripe/resources/v2/core/account_link.rb +56 -0
  143. data/lib/stripe/resources/v2/core/person.rb +276 -0
  144. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +74 -0
  145. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +39 -0
  146. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +20 -0
  147. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +22 -0
  148. data/lib/stripe/resources/v2/money_management/adjustment.rb +51 -0
  149. data/lib/stripe/resources/v2/money_management/financial_account.rb +58 -0
  150. data/lib/stripe/resources/v2/money_management/financial_address.rb +68 -0
  151. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +94 -0
  152. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +129 -0
  153. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +82 -0
  154. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +45 -0
  155. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +117 -0
  156. data/lib/stripe/resources/v2/money_management/payout_method.rb +75 -0
  157. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +49 -0
  158. data/lib/stripe/resources/v2/money_management/received_credit.rb +136 -0
  159. data/lib/stripe/resources/v2/money_management/received_debit.rb +108 -0
  160. data/lib/stripe/resources/v2/money_management/transaction.rb +78 -0
  161. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +68 -0
  162. data/lib/stripe/resources.rb +99 -0
  163. data/lib/stripe/services/account_notice_service.rb +101 -0
  164. data/lib/stripe/services/account_service.rb +562 -1
  165. data/lib/stripe/services/account_session_service.rb +269 -1
  166. data/lib/stripe/services/balance_settings_service.rb +96 -0
  167. data/lib/stripe/services/billing/credit_balance_summary_service.rb +4 -1
  168. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
  169. data/lib/stripe/services/billing/credit_grant_service.rb +8 -0
  170. data/lib/stripe/services/billing_portal/session_service.rb +4 -0
  171. data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
  172. data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
  173. data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
  174. data/lib/stripe/services/capital_service.rb +15 -0
  175. data/lib/stripe/services/charge_service.rb +1350 -0
  176. data/lib/stripe/services/checkout/session_service.rb +247 -2
  177. data/lib/stripe/services/coupon_service.rb +17 -1
  178. data/lib/stripe/services/credit_note_service.rb +4 -0
  179. data/lib/stripe/services/customer_session_service.rb +4 -1
  180. data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -123
  181. data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
  182. data/lib/stripe/services/financial_connections/account_service.rb +7 -2
  183. data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
  184. data/lib/stripe/services/financial_connections/session_service.rb +34 -2
  185. data/lib/stripe/services/financial_connections_service.rb +2 -1
  186. data/lib/stripe/services/fx_quote_service.rb +123 -0
  187. data/lib/stripe/services/gift_cards/card_service.rb +170 -0
  188. data/lib/stripe/services/gift_cards/transaction_service.rb +209 -0
  189. data/lib/stripe/services/gift_cards_service.rb +14 -0
  190. data/lib/stripe/services/identity/verification_session_service.rb +8 -0
  191. data/lib/stripe/services/invoice_item_service.rb +74 -2
  192. data/lib/stripe/services/invoice_line_item_service.rb +33 -1
  193. data/lib/stripe/services/invoice_service.rb +1059 -15
  194. data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
  195. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
  196. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
  197. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
  198. data/lib/stripe/services/issuing/transaction_service.rb +4 -0
  199. data/lib/stripe/services/issuing_service.rb +5 -1
  200. data/lib/stripe/services/margin_service.rb +119 -0
  201. data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
  202. data/lib/stripe/services/order_service.rb +2268 -0
  203. data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
  204. data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
  205. data/lib/stripe/services/payment_intent_service.rb +4631 -258
  206. data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
  207. data/lib/stripe/services/payment_method_service.rb +126 -1
  208. data/lib/stripe/services/payment_record_service.rb +542 -0
  209. data/lib/stripe/services/payout_service.rb +4 -0
  210. data/lib/stripe/services/price_service.rb +19 -0
  211. data/lib/stripe/services/privacy/redaction_job_service.rb +231 -0
  212. data/{rbi/stripe/services/tax/calculation_line_item_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +21 -17
  213. data/lib/stripe/services/privacy_service.rb +13 -0
  214. data/lib/stripe/services/product_service.rb +38 -0
  215. data/lib/stripe/services/promotion_code_service.rb +8 -0
  216. data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
  217. data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
  218. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
  219. data/lib/stripe/services/quote_service.rb +1730 -7
  220. data/lib/stripe/services/setup_intent_service.rb +556 -9
  221. data/lib/stripe/services/subscription_item_service.rb +75 -3
  222. data/lib/stripe/services/subscription_schedule_service.rb +915 -10
  223. data/lib/stripe/services/subscription_service.rb +257 -9
  224. data/lib/stripe/services/tax/association_service.rb +31 -0
  225. data/lib/stripe/services/tax/form_service.rb +100 -0
  226. data/lib/stripe/services/tax_id_service.rb +8 -2
  227. data/lib/stripe/services/tax_service.rb +3 -1
  228. data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
  229. data/lib/stripe/services/terminal/reader_service.rb +180 -0
  230. data/lib/stripe/services/terminal_service.rb +2 -1
  231. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +103 -0
  232. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
  233. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
  234. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
  235. data/lib/stripe/services/transfer_service.rb +4 -0
  236. data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
  237. data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
  238. data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
  239. data/lib/stripe/services/v1_services.rb +12 -2
  240. data/lib/stripe/services/v2/core/account_link_service.rb +76 -0
  241. data/lib/stripe/services/v2/core/account_service.rb +4138 -0
  242. data/lib/stripe/services/v2/core/accounts/person_service.rb +1048 -0
  243. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +135 -0
  244. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +109 -0
  245. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  246. data/lib/stripe/services/v2/core_service.rb +4 -1
  247. data/lib/stripe/services/v2/money_management/adjustment_service.rb +75 -0
  248. data/lib/stripe/services/v2/money_management/financial_account_service.rb +44 -0
  249. data/lib/stripe/services/v2/money_management/financial_address_service.rb +81 -0
  250. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +126 -0
  251. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +96 -0
  252. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +202 -0
  253. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +237 -0
  254. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +174 -0
  255. data/lib/stripe/services/v2/money_management/payout_method_service.rb +95 -0
  256. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
  257. data/lib/stripe/services/v2/money_management/received_credit_service.rb +71 -0
  258. data/lib/stripe/services/v2/money_management/received_debit_service.rb +44 -0
  259. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +70 -0
  260. data/lib/stripe/services/v2/money_management/transaction_service.rb +74 -0
  261. data/lib/stripe/services/v2/money_management_service.rb +31 -0
  262. data/lib/stripe/services/v2/test_helper_service.rb +15 -0
  263. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +50 -0
  264. data/lib/stripe/services/v2_services.rb +4 -2
  265. data/lib/stripe/services.rb +54 -1
  266. data/lib/stripe/stripe_configuration.rb +3 -1
  267. data/lib/stripe/stripe_object.rb +1 -1
  268. data/lib/stripe/util.rb +7 -1
  269. data/lib/stripe/version.rb +1 -1
  270. data/lib/stripe.rb +53 -0
  271. data/rbi/stripe.rbi +191867 -0
  272. data/stripe.gemspec +4 -1
  273. metadata +157 -324
  274. data/lib/stripe/services/invoice_payment_service.rb +0 -83
  275. data/rbi/stripe/resources/account.rbi +0 -4903
  276. data/rbi/stripe/resources/account_link.rbi +0 -74
  277. data/rbi/stripe/resources/account_session.rbi +0 -894
  278. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -90
  279. data/rbi/stripe/resources/application.rbi +0 -20
  280. data/rbi/stripe/resources/application_fee.rbi +0 -118
  281. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  282. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  283. data/rbi/stripe/resources/balance.rbi +0 -180
  284. data/rbi/stripe/resources/balance_transaction.rbi +0 -144
  285. data/rbi/stripe/resources/bank_account.rbi +0 -127
  286. data/rbi/stripe/resources/billing/alert.rbi +0 -201
  287. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  288. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
  289. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
  290. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
  291. data/rbi/stripe/resources/billing/meter.rbi +0 -226
  292. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  293. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  294. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
  295. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -645
  296. data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
  297. data/rbi/stripe/resources/capability.rbi +0 -125
  298. data/rbi/stripe/resources/card.rbi +0 -125
  299. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  300. data/rbi/stripe/resources/charge.rbi +0 -2057
  301. data/rbi/stripe/resources/checkout/session.rbi +0 -3988
  302. data/rbi/stripe/resources/climate/order.rbi +0 -245
  303. data/rbi/stripe/resources/climate/product.rbi +0 -75
  304. data/rbi/stripe/resources/climate/supplier.rbi +0 -72
  305. data/rbi/stripe/resources/confirmation_token.rbi +0 -1873
  306. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  307. data/rbi/stripe/resources/country_spec.rbi +0 -85
  308. data/rbi/stripe/resources/coupon.rbi +0 -252
  309. data/rbi/stripe/resources/credit_note.rbi +0 -747
  310. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
  311. data/rbi/stripe/resources/customer.rbi +0 -1009
  312. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
  313. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  314. data/rbi/stripe/resources/customer_session.rbi +0 -200
  315. data/rbi/stripe/resources/discount.rbi +0 -53
  316. data/rbi/stripe/resources/dispute.rbi +0 -761
  317. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
  318. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  319. data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
  320. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  321. data/rbi/stripe/resources/event.rbi +0 -149
  322. data/rbi/stripe/resources/exchange_rate.rbi +0 -66
  323. data/rbi/stripe/resources/file.rbi +0 -143
  324. data/rbi/stripe/resources/file_link.rbi +0 -141
  325. data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
  326. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  327. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  328. data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
  329. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
  330. data/rbi/stripe/resources/forwarding/request.rbi +0 -216
  331. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  332. data/rbi/stripe/resources/identity/verification_report.rbi +0 -351
  333. data/rbi/stripe/resources/identity/verification_session.rbi +0 -517
  334. data/rbi/stripe/resources/invoice.rbi +0 -3736
  335. data/rbi/stripe/resources/invoice_item.rbi +0 -475
  336. data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
  337. data/rbi/stripe/resources/invoice_payment.rbi +0 -114
  338. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
  339. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
  340. data/rbi/stripe/resources/issuing/card.rbi +0 -741
  341. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
  342. data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
  343. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
  344. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
  345. data/rbi/stripe/resources/issuing/token.rbi +0 -226
  346. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
  347. data/rbi/stripe/resources/line_item.rbi +0 -72
  348. data/rbi/stripe/resources/login_link.rbi +0 -19
  349. data/rbi/stripe/resources/mandate.rbi +0 -187
  350. data/rbi/stripe/resources/payment_intent.rbi +0 -9795
  351. data/rbi/stripe/resources/payment_link.rbi +0 -1801
  352. data/rbi/stripe/resources/payment_method.rbi +0 -1831
  353. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3220
  354. data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
  355. data/rbi/stripe/resources/payout.rbi +0 -300
  356. data/rbi/stripe/resources/person.rbi +0 -401
  357. data/rbi/stripe/resources/plan.rbi +0 -373
  358. data/rbi/stripe/resources/price.rbi +0 -694
  359. data/rbi/stripe/resources/product.rbi +0 -557
  360. data/rbi/stripe/resources/product_feature.rbi +0 -26
  361. data/rbi/stripe/resources/promotion_code.rbi +0 -261
  362. data/rbi/stripe/resources/quote.rbi +0 -1126
  363. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
  364. data/rbi/stripe/resources/radar/value_list.rbi +0 -170
  365. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -131
  366. data/rbi/stripe/resources/refund.rbi +0 -519
  367. data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
  368. data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
  369. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  370. data/rbi/stripe/resources/reversal.rbi +0 -51
  371. data/rbi/stripe/resources/review.rbi +0 -154
  372. data/rbi/stripe/resources/setup_attempt.rbi +0 -477
  373. data/rbi/stripe/resources/setup_intent.rbi +0 -3869
  374. data/rbi/stripe/resources/shipping_rate.rbi +0 -305
  375. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
  376. data/rbi/stripe/resources/source.rbi +0 -1496
  377. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  378. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  379. data/rbi/stripe/resources/subscription.rbi +0 -1964
  380. data/rbi/stripe/resources/subscription_item.rbi +0 -370
  381. data/rbi/stripe/resources/subscription_schedule.rbi +0 -1495
  382. data/rbi/stripe/resources/tax/calculation.rbi +0 -474
  383. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -88
  384. data/rbi/stripe/resources/tax/registration.rbi +0 -2713
  385. data/rbi/stripe/resources/tax/settings.rbi +0 -141
  386. data/rbi/stripe/resources/tax/transaction.rbi +0 -351
  387. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  388. data/rbi/stripe/resources/tax_code.rbi +0 -44
  389. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  390. data/rbi/stripe/resources/tax_id.rbi +0 -167
  391. data/rbi/stripe/resources/tax_rate.rbi +0 -239
  392. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1388
  393. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  394. data/rbi/stripe/resources/terminal/location.rbi +0 -224
  395. data/rbi/stripe/resources/terminal/reader.rbi +0 -587
  396. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -134
  397. data/rbi/stripe/resources/token.rbi +0 -1283
  398. data/rbi/stripe/resources/topup.rbi +0 -222
  399. data/rbi/stripe/resources/transfer.rbi +0 -199
  400. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
  401. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
  402. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -865
  403. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
  404. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
  405. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
  406. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
  407. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
  408. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
  409. data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
  410. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
  411. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  412. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  413. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  414. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  415. data/rbi/stripe/resources/v2/event.rbi +0 -48
  416. data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
  417. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -170
  418. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  419. data/rbi/stripe/services/account_link_service.rbi +0 -58
  420. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  421. data/rbi/stripe/services/account_person_service.rbi +0 -1013
  422. data/rbi/stripe/services/account_service.rbi +0 -4189
  423. data/rbi/stripe/services/account_session_service.rbi +0 -572
  424. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -78
  425. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
  426. data/rbi/stripe/services/application_fee_service.rbi +0 -78
  427. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  428. data/rbi/stripe/services/apps_service.rbi +0 -9
  429. data/rbi/stripe/services/balance_service.rbi +0 -21
  430. data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
  431. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  432. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
  433. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  434. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
  435. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
  436. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  437. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  438. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  439. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -511
  440. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
  441. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  442. data/rbi/stripe/services/billing_service.rbi +0 -15
  443. data/rbi/stripe/services/charge_service.rbi +0 -448
  444. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  445. data/rbi/stripe/services/checkout/session_service.rbi +0 -2607
  446. data/rbi/stripe/services/checkout_service.rbi +0 -9
  447. data/rbi/stripe/services/climate/order_service.rbi +0 -142
  448. data/rbi/stripe/services/climate/product_service.rbi +0 -46
  449. data/rbi/stripe/services/climate_service.rbi +0 -11
  450. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  451. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  452. data/rbi/stripe/services/coupon_service.rbi +0 -196
  453. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  454. data/rbi/stripe/services/credit_note_service.rbi +0 -416
  455. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  456. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  457. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  458. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  459. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  460. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
  461. data/rbi/stripe/services/customer_service.rbi +0 -651
  462. data/rbi/stripe/services/customer_session_service.rbi +0 -116
  463. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -72
  464. data/rbi/stripe/services/dispute_service.rbi +0 -424
  465. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  466. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  467. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  468. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  469. data/rbi/stripe/services/event_service.rbi +0 -83
  470. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  471. data/rbi/stripe/services/file_link_service.rbi +0 -124
  472. data/rbi/stripe/services/file_service.rbi +0 -116
  473. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  474. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
  475. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
  476. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
  477. data/rbi/stripe/services/financial_connections_service.rbi +0 -11
  478. data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
  479. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  480. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
  481. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -323
  482. data/rbi/stripe/services/identity_service.rbi +0 -10
  483. data/rbi/stripe/services/invoice_item_service.rbi +0 -368
  484. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
  485. data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
  486. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  487. data/rbi/stripe/services/invoice_service.rbi +0 -2920
  488. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
  489. data/rbi/stripe/services/issuing/card_service.rbi +0 -495
  490. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
  491. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
  492. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
  493. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  494. data/rbi/stripe/services/issuing/token_service.rbi +0 -99
  495. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
  496. data/rbi/stripe/services/issuing_service.rbi +0 -16
  497. data/rbi/stripe/services/mandate_service.rbi +0 -20
  498. data/rbi/stripe/services/payment_intent_service.rbi +0 -7819
  499. data/rbi/stripe/services/payment_link_service.rbi +0 -1352
  500. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2255
  501. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
  502. data/rbi/stripe/services/payment_method_service.rbi +0 -846
  503. data/rbi/stripe/services/payout_service.rbi +0 -205
  504. data/rbi/stripe/services/plan_service.rbi +0 -284
  505. data/rbi/stripe/services/price_service.rbi +0 -546
  506. data/rbi/stripe/services/product_feature_service.rbi +0 -69
  507. data/rbi/stripe/services/product_service.rbi +0 -479
  508. data/rbi/stripe/services/promotion_code_service.rbi +0 -214
  509. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  510. data/rbi/stripe/services/quote_service.rbi +0 -686
  511. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
  512. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -111
  513. data/rbi/stripe/services/radar/value_list_service.rbi +0 -143
  514. data/rbi/stripe/services/radar_service.rbi +0 -11
  515. data/rbi/stripe/services/refund_service.rbi +0 -185
  516. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
  517. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  518. data/rbi/stripe/services/reporting_service.rbi +0 -10
  519. data/rbi/stripe/services/review_service.rbi +0 -84
  520. data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
  521. data/rbi/stripe/services/setup_intent_service.rbi +0 -3605
  522. data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
  523. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  524. data/rbi/stripe/services/sigma_service.rbi +0 -9
  525. data/rbi/stripe/services/source_service.rbi +0 -663
  526. data/rbi/stripe/services/subscription_item_service.rbi +0 -324
  527. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1192
  528. data/rbi/stripe/services/subscription_service.rbi +0 -1596
  529. data/rbi/stripe/services/tax/calculation_service.rbi +0 -230
  530. data/rbi/stripe/services/tax/registration_service.rbi +0 -1845
  531. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  532. data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
  533. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  534. data/rbi/stripe/services/tax_id_service.rbi +0 -112
  535. data/rbi/stripe/services/tax_rate_service.rbi +0 -185
  536. data/rbi/stripe/services/tax_service.rbi +0 -12
  537. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1120
  538. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  539. data/rbi/stripe/services/terminal/location_service.rbi +0 -184
  540. data/rbi/stripe/services/terminal/reader_service.rbi +0 -344
  541. data/rbi/stripe/services/terminal_service.rbi +0 -12
  542. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -805
  543. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  544. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
  545. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  546. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
  547. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
  548. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  549. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  550. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -62
  551. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  552. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -92
  553. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  554. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
  555. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
  556. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
  557. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
  558. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  559. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  560. data/rbi/stripe/services/token_service.rbi +0 -1257
  561. data/rbi/stripe/services/topup_service.rbi +0 -176
  562. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
  563. data/rbi/stripe/services/transfer_service.rbi +0 -152
  564. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  565. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  566. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
  567. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -562
  568. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  569. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
  570. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
  571. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
  572. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  573. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
  574. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
  575. data/rbi/stripe/services/treasury_service.rbi +0 -18
  576. data/rbi/stripe/services/v1_services.rbi +0 -77
  577. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  578. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  579. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -20
  580. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  581. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  582. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -200
  583. data/rbi/stripe/services/v2/core/event_service.rbi +0 -38
  584. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  585. data/rbi/stripe/services/v2_services.rbi +0 -10
  586. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -131
@@ -228,6 +228,15 @@ module Stripe
228
228
  end
229
229
  end
230
230
 
231
+ class AutomaticIndirectTax < Stripe::RequestParams
232
+ # 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.
233
+ attr_accessor :requested
234
+
235
+ def initialize(requested: nil)
236
+ @requested = requested
237
+ end
238
+ end
239
+
231
240
  class BacsDebitPayments < Stripe::RequestParams
232
241
  # 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.
233
242
  attr_accessor :requested
@@ -354,6 +363,15 @@ module Stripe
354
363
  end
355
364
  end
356
365
 
366
+ class GopayPayments < Stripe::RequestParams
367
+ # 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.
368
+ attr_accessor :requested
369
+
370
+ def initialize(requested: nil)
371
+ @requested = requested
372
+ end
373
+ end
374
+
357
375
  class GrabpayPayments < Stripe::RequestParams
358
376
  # 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.
359
377
  attr_accessor :requested
@@ -363,6 +381,24 @@ module Stripe
363
381
  end
364
382
  end
365
383
 
384
+ class IdBankTransferPayments < Stripe::RequestParams
385
+ # 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.
386
+ attr_accessor :requested
387
+
388
+ def initialize(requested: nil)
389
+ @requested = requested
390
+ end
391
+ end
392
+
393
+ class IdBankTransferPaymentsBca < Stripe::RequestParams
394
+ # 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.
395
+ attr_accessor :requested
396
+
397
+ def initialize(requested: nil)
398
+ @requested = requested
399
+ end
400
+ end
401
+
366
402
  class IdealPayments < Stripe::RequestParams
367
403
  # 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.
368
404
  attr_accessor :requested
@@ -453,6 +489,15 @@ module Stripe
453
489
  end
454
490
  end
455
491
 
492
+ class MbWayPayments < Stripe::RequestParams
493
+ # 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.
494
+ attr_accessor :requested
495
+
496
+ def initialize(requested: nil)
497
+ @requested = requested
498
+ end
499
+ end
500
+
456
501
  class MobilepayPayments < Stripe::RequestParams
457
502
  # 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.
458
503
  attr_accessor :requested
@@ -543,6 +588,24 @@ module Stripe
543
588
  end
544
589
  end
545
590
 
591
+ class PaypalPayments < Stripe::RequestParams
592
+ # 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.
593
+ attr_accessor :requested
594
+
595
+ def initialize(requested: nil)
596
+ @requested = requested
597
+ end
598
+ end
599
+
600
+ class PaytoPayments < Stripe::RequestParams
601
+ # 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.
602
+ attr_accessor :requested
603
+
604
+ def initialize(requested: nil)
605
+ @requested = requested
606
+ end
607
+ end
608
+
546
609
  class PromptpayPayments < Stripe::RequestParams
547
610
  # 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.
548
611
  attr_accessor :requested
@@ -552,6 +615,24 @@ module Stripe
552
615
  end
553
616
  end
554
617
 
618
+ class QrisPayments < Stripe::RequestParams
619
+ # 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.
620
+ attr_accessor :requested
621
+
622
+ def initialize(requested: nil)
623
+ @requested = requested
624
+ end
625
+ end
626
+
627
+ class RechnungPayments < Stripe::RequestParams
628
+ # 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.
629
+ attr_accessor :requested
630
+
631
+ def initialize(requested: nil)
632
+ @requested = requested
633
+ end
634
+ end
635
+
555
636
  class RevolutPayPayments < Stripe::RequestParams
556
637
  # 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.
557
638
  attr_accessor :requested
@@ -597,6 +678,15 @@ module Stripe
597
678
  end
598
679
  end
599
680
 
681
+ class ShopeepayPayments < Stripe::RequestParams
682
+ # 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.
683
+ attr_accessor :requested
684
+
685
+ def initialize(requested: nil)
686
+ @requested = requested
687
+ end
688
+ end
689
+
600
690
  class SofortPayments < Stripe::RequestParams
601
691
  # 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.
602
692
  attr_accessor :requested
@@ -606,6 +696,15 @@ module Stripe
606
696
  end
607
697
  end
608
698
 
699
+ class StripeBalancePayments < Stripe::RequestParams
700
+ # 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.
701
+ attr_accessor :requested
702
+
703
+ def initialize(requested: nil)
704
+ @requested = requested
705
+ end
706
+ end
707
+
609
708
  class SwishPayments < Stripe::RequestParams
610
709
  # 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.
611
710
  attr_accessor :requested
@@ -651,6 +750,33 @@ module Stripe
651
750
  end
652
751
  end
653
752
 
753
+ class TreasuryEvolve < Stripe::RequestParams
754
+ # 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.
755
+ attr_accessor :requested
756
+
757
+ def initialize(requested: nil)
758
+ @requested = requested
759
+ end
760
+ end
761
+
762
+ class TreasuryFifthThird < Stripe::RequestParams
763
+ # 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.
764
+ attr_accessor :requested
765
+
766
+ def initialize(requested: nil)
767
+ @requested = requested
768
+ end
769
+ end
770
+
771
+ class TreasuryGoldmanSachs < Stripe::RequestParams
772
+ # 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.
773
+ attr_accessor :requested
774
+
775
+ def initialize(requested: nil)
776
+ @requested = requested
777
+ end
778
+ end
779
+
654
780
  class TwintPayments < Stripe::RequestParams
655
781
  # 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.
656
782
  attr_accessor :requested
@@ -698,6 +824,8 @@ module Stripe
698
824
  attr_accessor :amazon_pay_payments
699
825
  # The au_becs_debit_payments capability.
700
826
  attr_accessor :au_becs_debit_payments
827
+ # The automatic_indirect_tax capability.
828
+ attr_accessor :automatic_indirect_tax
701
829
  # The bacs_debit_payments capability.
702
830
  attr_accessor :bacs_debit_payments
703
831
  # The bancontact_payments capability.
@@ -726,8 +854,14 @@ module Stripe
726
854
  attr_accessor :gb_bank_transfer_payments
727
855
  # The giropay_payments capability.
728
856
  attr_accessor :giropay_payments
857
+ # The gopay_payments capability.
858
+ attr_accessor :gopay_payments
729
859
  # The grabpay_payments capability.
730
860
  attr_accessor :grabpay_payments
861
+ # The id_bank_transfer_payments capability.
862
+ attr_accessor :id_bank_transfer_payments
863
+ # The id_bank_transfer_payments_bca capability.
864
+ attr_accessor :id_bank_transfer_payments_bca
731
865
  # The ideal_payments capability.
732
866
  attr_accessor :ideal_payments
733
867
  # The india_international_payments capability.
@@ -748,6 +882,8 @@ module Stripe
748
882
  attr_accessor :legacy_payments
749
883
  # The link_payments capability.
750
884
  attr_accessor :link_payments
885
+ # The mb_way_payments capability.
886
+ attr_accessor :mb_way_payments
751
887
  # The mobilepay_payments capability.
752
888
  attr_accessor :mobilepay_payments
753
889
  # The multibanco_payments capability.
@@ -768,8 +904,16 @@ module Stripe
768
904
  attr_accessor :payco_payments
769
905
  # The paynow_payments capability.
770
906
  attr_accessor :paynow_payments
907
+ # The paypal_payments capability.
908
+ attr_accessor :paypal_payments
909
+ # The payto_payments capability.
910
+ attr_accessor :payto_payments
771
911
  # The promptpay_payments capability.
772
912
  attr_accessor :promptpay_payments
913
+ # The qris_payments capability.
914
+ attr_accessor :qris_payments
915
+ # The rechnung_payments capability.
916
+ attr_accessor :rechnung_payments
773
917
  # The revolut_pay_payments capability.
774
918
  attr_accessor :revolut_pay_payments
775
919
  # The samsung_pay_payments capability.
@@ -780,8 +924,12 @@ module Stripe
780
924
  attr_accessor :sepa_bank_transfer_payments
781
925
  # The sepa_debit_payments capability.
782
926
  attr_accessor :sepa_debit_payments
927
+ # The shopeepay_payments capability.
928
+ attr_accessor :shopeepay_payments
783
929
  # The sofort_payments capability.
784
930
  attr_accessor :sofort_payments
931
+ # The stripe_balance_payments capability.
932
+ attr_accessor :stripe_balance_payments
785
933
  # The swish_payments capability.
786
934
  attr_accessor :swish_payments
787
935
  # The tax_reporting_us_1099_k capability.
@@ -792,6 +940,12 @@ module Stripe
792
940
  attr_accessor :transfers
793
941
  # The treasury capability.
794
942
  attr_accessor :treasury
943
+ # The treasury_evolve capability.
944
+ attr_accessor :treasury_evolve
945
+ # The treasury_fifth_third capability.
946
+ attr_accessor :treasury_fifth_third
947
+ # The treasury_goldman_sachs capability.
948
+ attr_accessor :treasury_goldman_sachs
795
949
  # The twint_payments capability.
796
950
  attr_accessor :twint_payments
797
951
  # The us_bank_account_ach_payments capability.
@@ -808,6 +962,7 @@ module Stripe
808
962
  alma_payments: nil,
809
963
  amazon_pay_payments: nil,
810
964
  au_becs_debit_payments: nil,
965
+ automatic_indirect_tax: nil,
811
966
  bacs_debit_payments: nil,
812
967
  bancontact_payments: nil,
813
968
  bank_transfer_payments: nil,
@@ -822,7 +977,10 @@ module Stripe
822
977
  fpx_payments: nil,
823
978
  gb_bank_transfer_payments: nil,
824
979
  giropay_payments: nil,
980
+ gopay_payments: nil,
825
981
  grabpay_payments: nil,
982
+ id_bank_transfer_payments: nil,
983
+ id_bank_transfer_payments_bca: nil,
826
984
  ideal_payments: nil,
827
985
  india_international_payments: nil,
828
986
  jcb_payments: nil,
@@ -833,6 +991,7 @@ module Stripe
833
991
  kr_card_payments: nil,
834
992
  legacy_payments: nil,
835
993
  link_payments: nil,
994
+ mb_way_payments: nil,
836
995
  mobilepay_payments: nil,
837
996
  multibanco_payments: nil,
838
997
  mx_bank_transfer_payments: nil,
@@ -843,18 +1002,27 @@ module Stripe
843
1002
  pay_by_bank_payments: nil,
844
1003
  payco_payments: nil,
845
1004
  paynow_payments: nil,
1005
+ paypal_payments: nil,
1006
+ payto_payments: nil,
846
1007
  promptpay_payments: nil,
1008
+ qris_payments: nil,
1009
+ rechnung_payments: nil,
847
1010
  revolut_pay_payments: nil,
848
1011
  samsung_pay_payments: nil,
849
1012
  satispay_payments: nil,
850
1013
  sepa_bank_transfer_payments: nil,
851
1014
  sepa_debit_payments: nil,
1015
+ shopeepay_payments: nil,
852
1016
  sofort_payments: nil,
1017
+ stripe_balance_payments: nil,
853
1018
  swish_payments: nil,
854
1019
  tax_reporting_us_1099_k: nil,
855
1020
  tax_reporting_us_1099_misc: nil,
856
1021
  transfers: nil,
857
1022
  treasury: nil,
1023
+ treasury_evolve: nil,
1024
+ treasury_fifth_third: nil,
1025
+ treasury_goldman_sachs: nil,
858
1026
  twint_payments: nil,
859
1027
  us_bank_account_ach_payments: nil,
860
1028
  us_bank_transfer_payments: nil,
@@ -866,6 +1034,7 @@ module Stripe
866
1034
  @alma_payments = alma_payments
867
1035
  @amazon_pay_payments = amazon_pay_payments
868
1036
  @au_becs_debit_payments = au_becs_debit_payments
1037
+ @automatic_indirect_tax = automatic_indirect_tax
869
1038
  @bacs_debit_payments = bacs_debit_payments
870
1039
  @bancontact_payments = bancontact_payments
871
1040
  @bank_transfer_payments = bank_transfer_payments
@@ -880,7 +1049,10 @@ module Stripe
880
1049
  @fpx_payments = fpx_payments
881
1050
  @gb_bank_transfer_payments = gb_bank_transfer_payments
882
1051
  @giropay_payments = giropay_payments
1052
+ @gopay_payments = gopay_payments
883
1053
  @grabpay_payments = grabpay_payments
1054
+ @id_bank_transfer_payments = id_bank_transfer_payments
1055
+ @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
884
1056
  @ideal_payments = ideal_payments
885
1057
  @india_international_payments = india_international_payments
886
1058
  @jcb_payments = jcb_payments
@@ -891,6 +1063,7 @@ module Stripe
891
1063
  @kr_card_payments = kr_card_payments
892
1064
  @legacy_payments = legacy_payments
893
1065
  @link_payments = link_payments
1066
+ @mb_way_payments = mb_way_payments
894
1067
  @mobilepay_payments = mobilepay_payments
895
1068
  @multibanco_payments = multibanco_payments
896
1069
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -901,18 +1074,27 @@ module Stripe
901
1074
  @pay_by_bank_payments = pay_by_bank_payments
902
1075
  @payco_payments = payco_payments
903
1076
  @paynow_payments = paynow_payments
1077
+ @paypal_payments = paypal_payments
1078
+ @payto_payments = payto_payments
904
1079
  @promptpay_payments = promptpay_payments
1080
+ @qris_payments = qris_payments
1081
+ @rechnung_payments = rechnung_payments
905
1082
  @revolut_pay_payments = revolut_pay_payments
906
1083
  @samsung_pay_payments = samsung_pay_payments
907
1084
  @satispay_payments = satispay_payments
908
1085
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
909
1086
  @sepa_debit_payments = sepa_debit_payments
1087
+ @shopeepay_payments = shopeepay_payments
910
1088
  @sofort_payments = sofort_payments
1089
+ @stripe_balance_payments = stripe_balance_payments
911
1090
  @swish_payments = swish_payments
912
1091
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
913
1092
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
914
1093
  @transfers = transfers
915
1094
  @treasury = treasury
1095
+ @treasury_evolve = treasury_evolve
1096
+ @treasury_fifth_third = treasury_fifth_third
1097
+ @treasury_goldman_sachs = treasury_goldman_sachs
916
1098
  @twint_payments = twint_payments
917
1099
  @us_bank_account_ach_payments = us_bank_account_ach_payments
918
1100
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -1688,6 +1870,37 @@ module Stripe
1688
1870
  end
1689
1871
  end
1690
1872
 
1873
+ class RiskControls < Stripe::RequestParams
1874
+ class Charges < Stripe::RequestParams
1875
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1876
+ # There can be a delay before the risk control is paused or unpaused.
1877
+ attr_accessor :pause_requested
1878
+
1879
+ def initialize(pause_requested: nil)
1880
+ @pause_requested = pause_requested
1881
+ end
1882
+ end
1883
+
1884
+ class Payouts < Stripe::RequestParams
1885
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1886
+ # There can be a delay before the risk control is paused or unpaused.
1887
+ attr_accessor :pause_requested
1888
+
1889
+ def initialize(pause_requested: nil)
1890
+ @pause_requested = pause_requested
1891
+ end
1892
+ end
1893
+ # 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).
1894
+ attr_accessor :charges
1895
+ # 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).
1896
+ attr_accessor :payouts
1897
+
1898
+ def initialize(charges: nil, payouts: nil)
1899
+ @charges = charges
1900
+ @payouts = payouts
1901
+ end
1902
+ end
1903
+
1691
1904
  class Settings < Stripe::RequestParams
1692
1905
  class BacsDebitPayments < Stripe::RequestParams
1693
1906
  # 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.
@@ -1698,6 +1911,18 @@ module Stripe
1698
1911
  end
1699
1912
  end
1700
1913
 
1914
+ class BankBcaOnboarding < Stripe::RequestParams
1915
+ # Bank BCA business account holder name
1916
+ attr_accessor :account_holder_name
1917
+ # Bank BCA business account number
1918
+ attr_accessor :business_account_number
1919
+
1920
+ def initialize(account_holder_name: nil, business_account_number: nil)
1921
+ @account_holder_name = account_holder_name
1922
+ @business_account_number = business_account_number
1923
+ end
1924
+ end
1925
+
1701
1926
  class Branding < Stripe::RequestParams
1702
1927
  # (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.
1703
1928
  attr_accessor :icon
@@ -1716,6 +1941,18 @@ module Stripe
1716
1941
  end
1717
1942
  end
1718
1943
 
1944
+ class Capital < Stripe::RequestParams
1945
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
1946
+ attr_accessor :payout_destination
1947
+ # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
1948
+ attr_accessor :payout_destination_selector
1949
+
1950
+ def initialize(payout_destination: nil, payout_destination_selector: nil)
1951
+ @payout_destination = payout_destination
1952
+ @payout_destination_selector = payout_destination_selector
1953
+ end
1954
+ end
1955
+
1719
1956
  class CardIssuing < Stripe::RequestParams
1720
1957
  class TosAcceptance < Stripe::RequestParams
1721
1958
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -1836,6 +2073,15 @@ module Stripe
1836
2073
  end
1837
2074
  end
1838
2075
 
2076
+ class TaxForms < Stripe::RequestParams
2077
+ # Whether the account opted out of receiving their tax forms by postal delivery.
2078
+ attr_accessor :consented_to_paperless_delivery
2079
+
2080
+ def initialize(consented_to_paperless_delivery: nil)
2081
+ @consented_to_paperless_delivery = consented_to_paperless_delivery
2082
+ end
2083
+ end
2084
+
1839
2085
  class Treasury < Stripe::RequestParams
1840
2086
  class TosAcceptance < Stripe::RequestParams
1841
2087
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -1860,8 +2106,12 @@ module Stripe
1860
2106
  end
1861
2107
  # Settings specific to Bacs Direct Debit payments.
1862
2108
  attr_accessor :bacs_debit_payments
2109
+ # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2110
+ attr_accessor :bank_bca_onboarding
1863
2111
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
1864
2112
  attr_accessor :branding
2113
+ # Settings specific to the account's use of the Capital product.
2114
+ attr_accessor :capital
1865
2115
  # Settings specific to the account's use of the Card Issuing product.
1866
2116
  attr_accessor :card_issuing
1867
2117
  # Settings specific to card charging on the account.
@@ -1872,26 +2122,34 @@ module Stripe
1872
2122
  attr_accessor :payments
1873
2123
  # Settings specific to the account's payouts.
1874
2124
  attr_accessor :payouts
2125
+ # Settings specific to the account's tax forms.
2126
+ attr_accessor :tax_forms
1875
2127
  # Settings specific to the account's Treasury FinancialAccounts.
1876
2128
  attr_accessor :treasury
1877
2129
 
1878
2130
  def initialize(
1879
2131
  bacs_debit_payments: nil,
2132
+ bank_bca_onboarding: nil,
1880
2133
  branding: nil,
2134
+ capital: nil,
1881
2135
  card_issuing: nil,
1882
2136
  card_payments: nil,
1883
2137
  invoices: nil,
1884
2138
  payments: nil,
1885
2139
  payouts: nil,
2140
+ tax_forms: nil,
1886
2141
  treasury: nil
1887
2142
  )
1888
2143
  @bacs_debit_payments = bacs_debit_payments
2144
+ @bank_bca_onboarding = bank_bca_onboarding
1889
2145
  @branding = branding
2146
+ @capital = capital
1890
2147
  @card_issuing = card_issuing
1891
2148
  @card_payments = card_payments
1892
2149
  @invoices = invoices
1893
2150
  @payments = payments
1894
2151
  @payouts = payouts
2152
+ @tax_forms = tax_forms
1895
2153
  @treasury = treasury
1896
2154
  end
1897
2155
  end
@@ -1946,6 +2204,8 @@ module Stripe
1946
2204
  attr_accessor :individual
1947
2205
  # 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`.
1948
2206
  attr_accessor :metadata
2207
+ # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2208
+ attr_accessor :risk_controls
1949
2209
  # Options for customizing how the account functions within Stripe.
1950
2210
  attr_accessor :settings
1951
2211
  # 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.
@@ -1965,6 +2225,7 @@ module Stripe
1965
2225
  groups: nil,
1966
2226
  individual: nil,
1967
2227
  metadata: nil,
2228
+ risk_controls: nil,
1968
2229
  settings: nil,
1969
2230
  tos_acceptance: nil
1970
2231
  )
@@ -1981,6 +2242,7 @@ module Stripe
1981
2242
  @groups = groups
1982
2243
  @individual = individual
1983
2244
  @metadata = metadata
2245
+ @risk_controls = risk_controls
1984
2246
  @settings = settings
1985
2247
  @tos_acceptance = tos_acceptance
1986
2248
  end
@@ -2236,6 +2498,15 @@ module Stripe
2236
2498
  end
2237
2499
  end
2238
2500
 
2501
+ class AutomaticIndirectTax < Stripe::RequestParams
2502
+ # 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.
2503
+ attr_accessor :requested
2504
+
2505
+ def initialize(requested: nil)
2506
+ @requested = requested
2507
+ end
2508
+ end
2509
+
2239
2510
  class BacsDebitPayments < Stripe::RequestParams
2240
2511
  # 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.
2241
2512
  attr_accessor :requested
@@ -2362,6 +2633,15 @@ module Stripe
2362
2633
  end
2363
2634
  end
2364
2635
 
2636
+ class GopayPayments < Stripe::RequestParams
2637
+ # 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.
2638
+ attr_accessor :requested
2639
+
2640
+ def initialize(requested: nil)
2641
+ @requested = requested
2642
+ end
2643
+ end
2644
+
2365
2645
  class GrabpayPayments < Stripe::RequestParams
2366
2646
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2367
2647
  attr_accessor :requested
@@ -2371,6 +2651,24 @@ module Stripe
2371
2651
  end
2372
2652
  end
2373
2653
 
2654
+ class IdBankTransferPayments < Stripe::RequestParams
2655
+ # 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.
2656
+ attr_accessor :requested
2657
+
2658
+ def initialize(requested: nil)
2659
+ @requested = requested
2660
+ end
2661
+ end
2662
+
2663
+ class IdBankTransferPaymentsBca < Stripe::RequestParams
2664
+ # 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.
2665
+ attr_accessor :requested
2666
+
2667
+ def initialize(requested: nil)
2668
+ @requested = requested
2669
+ end
2670
+ end
2671
+
2374
2672
  class IdealPayments < Stripe::RequestParams
2375
2673
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2376
2674
  attr_accessor :requested
@@ -2461,6 +2759,15 @@ module Stripe
2461
2759
  end
2462
2760
  end
2463
2761
 
2762
+ class MbWayPayments < Stripe::RequestParams
2763
+ # 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.
2764
+ attr_accessor :requested
2765
+
2766
+ def initialize(requested: nil)
2767
+ @requested = requested
2768
+ end
2769
+ end
2770
+
2464
2771
  class MobilepayPayments < Stripe::RequestParams
2465
2772
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2466
2773
  attr_accessor :requested
@@ -2551,6 +2858,24 @@ module Stripe
2551
2858
  end
2552
2859
  end
2553
2860
 
2861
+ class PaypalPayments < Stripe::RequestParams
2862
+ # 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.
2863
+ attr_accessor :requested
2864
+
2865
+ def initialize(requested: nil)
2866
+ @requested = requested
2867
+ end
2868
+ end
2869
+
2870
+ class PaytoPayments < Stripe::RequestParams
2871
+ # 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.
2872
+ attr_accessor :requested
2873
+
2874
+ def initialize(requested: nil)
2875
+ @requested = requested
2876
+ end
2877
+ end
2878
+
2554
2879
  class PromptpayPayments < Stripe::RequestParams
2555
2880
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2556
2881
  attr_accessor :requested
@@ -2560,6 +2885,24 @@ module Stripe
2560
2885
  end
2561
2886
  end
2562
2887
 
2888
+ class QrisPayments < Stripe::RequestParams
2889
+ # 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.
2890
+ attr_accessor :requested
2891
+
2892
+ def initialize(requested: nil)
2893
+ @requested = requested
2894
+ end
2895
+ end
2896
+
2897
+ class RechnungPayments < Stripe::RequestParams
2898
+ # 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.
2899
+ attr_accessor :requested
2900
+
2901
+ def initialize(requested: nil)
2902
+ @requested = requested
2903
+ end
2904
+ end
2905
+
2563
2906
  class RevolutPayPayments < Stripe::RequestParams
2564
2907
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2565
2908
  attr_accessor :requested
@@ -2605,6 +2948,15 @@ module Stripe
2605
2948
  end
2606
2949
  end
2607
2950
 
2951
+ class ShopeepayPayments < Stripe::RequestParams
2952
+ # 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.
2953
+ attr_accessor :requested
2954
+
2955
+ def initialize(requested: nil)
2956
+ @requested = requested
2957
+ end
2958
+ end
2959
+
2608
2960
  class SofortPayments < Stripe::RequestParams
2609
2961
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2610
2962
  attr_accessor :requested
@@ -2614,6 +2966,15 @@ module Stripe
2614
2966
  end
2615
2967
  end
2616
2968
 
2969
+ class StripeBalancePayments < Stripe::RequestParams
2970
+ # 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.
2971
+ attr_accessor :requested
2972
+
2973
+ def initialize(requested: nil)
2974
+ @requested = requested
2975
+ end
2976
+ end
2977
+
2617
2978
  class SwishPayments < Stripe::RequestParams
2618
2979
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2619
2980
  attr_accessor :requested
@@ -2659,6 +3020,33 @@ module Stripe
2659
3020
  end
2660
3021
  end
2661
3022
 
3023
+ class TreasuryEvolve < Stripe::RequestParams
3024
+ # 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.
3025
+ attr_accessor :requested
3026
+
3027
+ def initialize(requested: nil)
3028
+ @requested = requested
3029
+ end
3030
+ end
3031
+
3032
+ class TreasuryFifthThird < Stripe::RequestParams
3033
+ # 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.
3034
+ attr_accessor :requested
3035
+
3036
+ def initialize(requested: nil)
3037
+ @requested = requested
3038
+ end
3039
+ end
3040
+
3041
+ class TreasuryGoldmanSachs < Stripe::RequestParams
3042
+ # 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.
3043
+ attr_accessor :requested
3044
+
3045
+ def initialize(requested: nil)
3046
+ @requested = requested
3047
+ end
3048
+ end
3049
+
2662
3050
  class TwintPayments < Stripe::RequestParams
2663
3051
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2664
3052
  attr_accessor :requested
@@ -2706,6 +3094,8 @@ module Stripe
2706
3094
  attr_accessor :amazon_pay_payments
2707
3095
  # The au_becs_debit_payments capability.
2708
3096
  attr_accessor :au_becs_debit_payments
3097
+ # The automatic_indirect_tax capability.
3098
+ attr_accessor :automatic_indirect_tax
2709
3099
  # The bacs_debit_payments capability.
2710
3100
  attr_accessor :bacs_debit_payments
2711
3101
  # The bancontact_payments capability.
@@ -2734,8 +3124,14 @@ module Stripe
2734
3124
  attr_accessor :gb_bank_transfer_payments
2735
3125
  # The giropay_payments capability.
2736
3126
  attr_accessor :giropay_payments
3127
+ # The gopay_payments capability.
3128
+ attr_accessor :gopay_payments
2737
3129
  # The grabpay_payments capability.
2738
3130
  attr_accessor :grabpay_payments
3131
+ # The id_bank_transfer_payments capability.
3132
+ attr_accessor :id_bank_transfer_payments
3133
+ # The id_bank_transfer_payments_bca capability.
3134
+ attr_accessor :id_bank_transfer_payments_bca
2739
3135
  # The ideal_payments capability.
2740
3136
  attr_accessor :ideal_payments
2741
3137
  # The india_international_payments capability.
@@ -2756,6 +3152,8 @@ module Stripe
2756
3152
  attr_accessor :legacy_payments
2757
3153
  # The link_payments capability.
2758
3154
  attr_accessor :link_payments
3155
+ # The mb_way_payments capability.
3156
+ attr_accessor :mb_way_payments
2759
3157
  # The mobilepay_payments capability.
2760
3158
  attr_accessor :mobilepay_payments
2761
3159
  # The multibanco_payments capability.
@@ -2776,8 +3174,16 @@ module Stripe
2776
3174
  attr_accessor :payco_payments
2777
3175
  # The paynow_payments capability.
2778
3176
  attr_accessor :paynow_payments
3177
+ # The paypal_payments capability.
3178
+ attr_accessor :paypal_payments
3179
+ # The payto_payments capability.
3180
+ attr_accessor :payto_payments
2779
3181
  # The promptpay_payments capability.
2780
3182
  attr_accessor :promptpay_payments
3183
+ # The qris_payments capability.
3184
+ attr_accessor :qris_payments
3185
+ # The rechnung_payments capability.
3186
+ attr_accessor :rechnung_payments
2781
3187
  # The revolut_pay_payments capability.
2782
3188
  attr_accessor :revolut_pay_payments
2783
3189
  # The samsung_pay_payments capability.
@@ -2788,8 +3194,12 @@ module Stripe
2788
3194
  attr_accessor :sepa_bank_transfer_payments
2789
3195
  # The sepa_debit_payments capability.
2790
3196
  attr_accessor :sepa_debit_payments
3197
+ # The shopeepay_payments capability.
3198
+ attr_accessor :shopeepay_payments
2791
3199
  # The sofort_payments capability.
2792
3200
  attr_accessor :sofort_payments
3201
+ # The stripe_balance_payments capability.
3202
+ attr_accessor :stripe_balance_payments
2793
3203
  # The swish_payments capability.
2794
3204
  attr_accessor :swish_payments
2795
3205
  # The tax_reporting_us_1099_k capability.
@@ -2800,6 +3210,12 @@ module Stripe
2800
3210
  attr_accessor :transfers
2801
3211
  # The treasury capability.
2802
3212
  attr_accessor :treasury
3213
+ # The treasury_evolve capability.
3214
+ attr_accessor :treasury_evolve
3215
+ # The treasury_fifth_third capability.
3216
+ attr_accessor :treasury_fifth_third
3217
+ # The treasury_goldman_sachs capability.
3218
+ attr_accessor :treasury_goldman_sachs
2803
3219
  # The twint_payments capability.
2804
3220
  attr_accessor :twint_payments
2805
3221
  # The us_bank_account_ach_payments capability.
@@ -2816,6 +3232,7 @@ module Stripe
2816
3232
  alma_payments: nil,
2817
3233
  amazon_pay_payments: nil,
2818
3234
  au_becs_debit_payments: nil,
3235
+ automatic_indirect_tax: nil,
2819
3236
  bacs_debit_payments: nil,
2820
3237
  bancontact_payments: nil,
2821
3238
  bank_transfer_payments: nil,
@@ -2830,7 +3247,10 @@ module Stripe
2830
3247
  fpx_payments: nil,
2831
3248
  gb_bank_transfer_payments: nil,
2832
3249
  giropay_payments: nil,
3250
+ gopay_payments: nil,
2833
3251
  grabpay_payments: nil,
3252
+ id_bank_transfer_payments: nil,
3253
+ id_bank_transfer_payments_bca: nil,
2834
3254
  ideal_payments: nil,
2835
3255
  india_international_payments: nil,
2836
3256
  jcb_payments: nil,
@@ -2841,6 +3261,7 @@ module Stripe
2841
3261
  kr_card_payments: nil,
2842
3262
  legacy_payments: nil,
2843
3263
  link_payments: nil,
3264
+ mb_way_payments: nil,
2844
3265
  mobilepay_payments: nil,
2845
3266
  multibanco_payments: nil,
2846
3267
  mx_bank_transfer_payments: nil,
@@ -2851,18 +3272,27 @@ module Stripe
2851
3272
  pay_by_bank_payments: nil,
2852
3273
  payco_payments: nil,
2853
3274
  paynow_payments: nil,
3275
+ paypal_payments: nil,
3276
+ payto_payments: nil,
2854
3277
  promptpay_payments: nil,
3278
+ qris_payments: nil,
3279
+ rechnung_payments: nil,
2855
3280
  revolut_pay_payments: nil,
2856
3281
  samsung_pay_payments: nil,
2857
3282
  satispay_payments: nil,
2858
3283
  sepa_bank_transfer_payments: nil,
2859
3284
  sepa_debit_payments: nil,
3285
+ shopeepay_payments: nil,
2860
3286
  sofort_payments: nil,
3287
+ stripe_balance_payments: nil,
2861
3288
  swish_payments: nil,
2862
3289
  tax_reporting_us_1099_k: nil,
2863
3290
  tax_reporting_us_1099_misc: nil,
2864
3291
  transfers: nil,
2865
3292
  treasury: nil,
3293
+ treasury_evolve: nil,
3294
+ treasury_fifth_third: nil,
3295
+ treasury_goldman_sachs: nil,
2866
3296
  twint_payments: nil,
2867
3297
  us_bank_account_ach_payments: nil,
2868
3298
  us_bank_transfer_payments: nil,
@@ -2874,6 +3304,7 @@ module Stripe
2874
3304
  @alma_payments = alma_payments
2875
3305
  @amazon_pay_payments = amazon_pay_payments
2876
3306
  @au_becs_debit_payments = au_becs_debit_payments
3307
+ @automatic_indirect_tax = automatic_indirect_tax
2877
3308
  @bacs_debit_payments = bacs_debit_payments
2878
3309
  @bancontact_payments = bancontact_payments
2879
3310
  @bank_transfer_payments = bank_transfer_payments
@@ -2888,7 +3319,10 @@ module Stripe
2888
3319
  @fpx_payments = fpx_payments
2889
3320
  @gb_bank_transfer_payments = gb_bank_transfer_payments
2890
3321
  @giropay_payments = giropay_payments
3322
+ @gopay_payments = gopay_payments
2891
3323
  @grabpay_payments = grabpay_payments
3324
+ @id_bank_transfer_payments = id_bank_transfer_payments
3325
+ @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
2892
3326
  @ideal_payments = ideal_payments
2893
3327
  @india_international_payments = india_international_payments
2894
3328
  @jcb_payments = jcb_payments
@@ -2899,6 +3333,7 @@ module Stripe
2899
3333
  @kr_card_payments = kr_card_payments
2900
3334
  @legacy_payments = legacy_payments
2901
3335
  @link_payments = link_payments
3336
+ @mb_way_payments = mb_way_payments
2902
3337
  @mobilepay_payments = mobilepay_payments
2903
3338
  @multibanco_payments = multibanco_payments
2904
3339
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -2909,18 +3344,27 @@ module Stripe
2909
3344
  @pay_by_bank_payments = pay_by_bank_payments
2910
3345
  @payco_payments = payco_payments
2911
3346
  @paynow_payments = paynow_payments
3347
+ @paypal_payments = paypal_payments
3348
+ @payto_payments = payto_payments
2912
3349
  @promptpay_payments = promptpay_payments
3350
+ @qris_payments = qris_payments
3351
+ @rechnung_payments = rechnung_payments
2913
3352
  @revolut_pay_payments = revolut_pay_payments
2914
3353
  @samsung_pay_payments = samsung_pay_payments
2915
3354
  @satispay_payments = satispay_payments
2916
3355
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
2917
3356
  @sepa_debit_payments = sepa_debit_payments
3357
+ @shopeepay_payments = shopeepay_payments
2918
3358
  @sofort_payments = sofort_payments
3359
+ @stripe_balance_payments = stripe_balance_payments
2919
3360
  @swish_payments = swish_payments
2920
3361
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
2921
3362
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
2922
3363
  @transfers = transfers
2923
3364
  @treasury = treasury
3365
+ @treasury_evolve = treasury_evolve
3366
+ @treasury_fifth_third = treasury_fifth_third
3367
+ @treasury_goldman_sachs = treasury_goldman_sachs
2924
3368
  @twint_payments = twint_payments
2925
3369
  @us_bank_account_ach_payments = us_bank_account_ach_payments
2926
3370
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -3271,6 +3715,30 @@ module Stripe
3271
3715
  end
3272
3716
 
3273
3717
  class Controller < Stripe::RequestParams
3718
+ class Application < Stripe::RequestParams
3719
+ # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
3720
+ attr_accessor :loss_liable
3721
+ # Whether the controller owns onboarding for this account.
3722
+ attr_accessor :onboarding_owner
3723
+ # Whether the controller has pricing controls for this account.
3724
+ attr_accessor :pricing_controls
3725
+
3726
+ def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
3727
+ @loss_liable = loss_liable
3728
+ @onboarding_owner = onboarding_owner
3729
+ @pricing_controls = pricing_controls
3730
+ end
3731
+ end
3732
+
3733
+ class Dashboard < Stripe::RequestParams
3734
+ # 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`.
3735
+ attr_accessor :type
3736
+
3737
+ def initialize(type: nil)
3738
+ @type = type
3739
+ end
3740
+ end
3741
+
3274
3742
  class Fees < Stripe::RequestParams
3275
3743
  # 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).
3276
3744
  attr_accessor :payer
@@ -3297,6 +3765,10 @@ module Stripe
3297
3765
  @type = type
3298
3766
  end
3299
3767
  end
3768
+ # A hash of configuration describing the Connect application that controls the account.
3769
+ attr_accessor :application
3770
+ # Properties of the account's dashboard.
3771
+ attr_accessor :dashboard
3300
3772
  # A hash of configuration for who pays Stripe fees for product usage on this account.
3301
3773
  attr_accessor :fees
3302
3774
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -3306,7 +3778,16 @@ module Stripe
3306
3778
  # A hash of configuration for Stripe-hosted dashboards.
3307
3779
  attr_accessor :stripe_dashboard
3308
3780
 
3309
- def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
3781
+ def initialize(
3782
+ application: nil,
3783
+ dashboard: nil,
3784
+ fees: nil,
3785
+ losses: nil,
3786
+ requirement_collection: nil,
3787
+ stripe_dashboard: nil
3788
+ )
3789
+ @application = application
3790
+ @dashboard = dashboard
3310
3791
  @fees = fees
3311
3792
  @losses = losses
3312
3793
  @requirement_collection = requirement_collection
@@ -3740,6 +4221,37 @@ module Stripe
3740
4221
  end
3741
4222
  end
3742
4223
 
4224
+ class RiskControls < Stripe::RequestParams
4225
+ class Charges < Stripe::RequestParams
4226
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4227
+ # There can be a delay before the risk control is paused or unpaused.
4228
+ attr_accessor :pause_requested
4229
+
4230
+ def initialize(pause_requested: nil)
4231
+ @pause_requested = pause_requested
4232
+ end
4233
+ end
4234
+
4235
+ class Payouts < Stripe::RequestParams
4236
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4237
+ # There can be a delay before the risk control is paused or unpaused.
4238
+ attr_accessor :pause_requested
4239
+
4240
+ def initialize(pause_requested: nil)
4241
+ @pause_requested = pause_requested
4242
+ end
4243
+ end
4244
+ # 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).
4245
+ attr_accessor :charges
4246
+ # 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).
4247
+ attr_accessor :payouts
4248
+
4249
+ def initialize(charges: nil, payouts: nil)
4250
+ @charges = charges
4251
+ @payouts = payouts
4252
+ end
4253
+ end
4254
+
3743
4255
  class Settings < Stripe::RequestParams
3744
4256
  class BacsDebitPayments < Stripe::RequestParams
3745
4257
  # 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.
@@ -3750,6 +4262,18 @@ module Stripe
3750
4262
  end
3751
4263
  end
3752
4264
 
4265
+ class BankBcaOnboarding < Stripe::RequestParams
4266
+ # Bank BCA business account holder name
4267
+ attr_accessor :account_holder_name
4268
+ # Bank BCA business account number
4269
+ attr_accessor :business_account_number
4270
+
4271
+ def initialize(account_holder_name: nil, business_account_number: nil)
4272
+ @account_holder_name = account_holder_name
4273
+ @business_account_number = business_account_number
4274
+ end
4275
+ end
4276
+
3753
4277
  class Branding < Stripe::RequestParams
3754
4278
  # (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.
3755
4279
  attr_accessor :icon
@@ -3768,6 +4292,18 @@ module Stripe
3768
4292
  end
3769
4293
  end
3770
4294
 
4295
+ class Capital < Stripe::RequestParams
4296
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
4297
+ attr_accessor :payout_destination
4298
+ # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4299
+ attr_accessor :payout_destination_selector
4300
+
4301
+ def initialize(payout_destination: nil, payout_destination_selector: nil)
4302
+ @payout_destination = payout_destination
4303
+ @payout_destination_selector = payout_destination_selector
4304
+ end
4305
+ end
4306
+
3771
4307
  class CardIssuing < Stripe::RequestParams
3772
4308
  class TosAcceptance < Stripe::RequestParams
3773
4309
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -3885,6 +4421,15 @@ module Stripe
3885
4421
  end
3886
4422
  end
3887
4423
 
4424
+ class TaxForms < Stripe::RequestParams
4425
+ # Whether the account opted out of receiving their tax forms by postal delivery.
4426
+ attr_accessor :consented_to_paperless_delivery
4427
+
4428
+ def initialize(consented_to_paperless_delivery: nil)
4429
+ @consented_to_paperless_delivery = consented_to_paperless_delivery
4430
+ end
4431
+ end
4432
+
3888
4433
  class Treasury < Stripe::RequestParams
3889
4434
  class TosAcceptance < Stripe::RequestParams
3890
4435
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -3909,8 +4454,12 @@ module Stripe
3909
4454
  end
3910
4455
  # Settings specific to Bacs Direct Debit.
3911
4456
  attr_accessor :bacs_debit_payments
4457
+ # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
4458
+ attr_accessor :bank_bca_onboarding
3912
4459
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
3913
4460
  attr_accessor :branding
4461
+ # Settings specific to the account's use of the Capital product.
4462
+ attr_accessor :capital
3914
4463
  # Settings specific to the account's use of the Card Issuing product.
3915
4464
  attr_accessor :card_issuing
3916
4465
  # Settings specific to card charging on the account.
@@ -3921,26 +4470,34 @@ module Stripe
3921
4470
  attr_accessor :payments
3922
4471
  # Settings specific to the account's payouts.
3923
4472
  attr_accessor :payouts
4473
+ # Settings specific to the account's tax forms.
4474
+ attr_accessor :tax_forms
3924
4475
  # Settings specific to the account's Treasury FinancialAccounts.
3925
4476
  attr_accessor :treasury
3926
4477
 
3927
4478
  def initialize(
3928
4479
  bacs_debit_payments: nil,
4480
+ bank_bca_onboarding: nil,
3929
4481
  branding: nil,
4482
+ capital: nil,
3930
4483
  card_issuing: nil,
3931
4484
  card_payments: nil,
3932
4485
  invoices: nil,
3933
4486
  payments: nil,
3934
4487
  payouts: nil,
4488
+ tax_forms: nil,
3935
4489
  treasury: nil
3936
4490
  )
3937
4491
  @bacs_debit_payments = bacs_debit_payments
4492
+ @bank_bca_onboarding = bank_bca_onboarding
3938
4493
  @branding = branding
4494
+ @capital = capital
3939
4495
  @card_issuing = card_issuing
3940
4496
  @card_payments = card_payments
3941
4497
  @invoices = invoices
3942
4498
  @payments = payments
3943
4499
  @payouts = payouts
4500
+ @tax_forms = tax_forms
3944
4501
  @treasury = treasury
3945
4502
  end
3946
4503
  end
@@ -3999,6 +4556,8 @@ module Stripe
3999
4556
  attr_accessor :individual
4000
4557
  # 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`.
4001
4558
  attr_accessor :metadata
4559
+ # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
4560
+ attr_accessor :risk_controls
4002
4561
  # Options for customizing how the account functions within Stripe.
4003
4562
  attr_accessor :settings
4004
4563
  # 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.
@@ -4022,6 +4581,7 @@ module Stripe
4022
4581
  groups: nil,
4023
4582
  individual: nil,
4024
4583
  metadata: nil,
4584
+ risk_controls: nil,
4025
4585
  settings: nil,
4026
4586
  tos_acceptance: nil,
4027
4587
  type: nil
@@ -4041,6 +4601,7 @@ module Stripe
4041
4601
  @groups = groups
4042
4602
  @individual = individual
4043
4603
  @metadata = metadata
4604
+ @risk_controls = risk_controls
4044
4605
  @settings = settings
4045
4606
  @tos_acceptance = tos_acceptance
4046
4607
  @type = type