stripe 15.0.0 → 15.1.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 (576) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1537 -676
  3. data/OPENAPI_VERSION +1 -1
  4. data/VERSION +1 -1
  5. data/lib/stripe/api_requestor.rb +28 -0
  6. data/lib/stripe/api_version.rb +1 -1
  7. data/lib/stripe/errors.rb +54 -0
  8. data/lib/stripe/event_types.rb +75 -0
  9. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
  10. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
  11. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
  12. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
  13. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
  14. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
  15. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
  16. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
  17. data/lib/stripe/events/v2_core_account_link_completed_event.rb +13 -0
  18. data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
  19. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
  20. data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
  21. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
  22. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
  23. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
  24. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
  25. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
  26. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
  27. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
  28. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
  29. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
  30. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
  31. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
  32. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
  33. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
  34. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
  35. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
  36. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
  37. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
  38. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
  39. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
  40. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
  41. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
  42. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
  43. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
  44. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
  45. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
  46. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
  47. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
  48. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
  49. data/lib/stripe/object_types.rb +51 -0
  50. data/lib/stripe/request_signing_authenticator.rb +79 -0
  51. data/lib/stripe/resources/account.rb +663 -1
  52. data/lib/stripe/resources/account_notice.rb +123 -0
  53. data/lib/stripe/resources/account_session.rb +299 -1
  54. data/lib/stripe/resources/balance_settings.rb +101 -0
  55. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
  56. data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
  57. data/lib/stripe/resources/billing/credit_grant.rb +10 -0
  58. data/lib/stripe/resources/billing/meter_error_report.rb +59 -0
  59. data/lib/stripe/resources/billing_portal/session.rb +6 -0
  60. data/lib/stripe/resources/capital/financing_offer.rb +179 -0
  61. data/lib/stripe/resources/capital/financing_summary.rb +55 -0
  62. data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
  63. data/lib/stripe/resources/card.rb +2 -0
  64. data/lib/stripe/resources/cash_balance.rb +2 -0
  65. data/lib/stripe/resources/charge.rb +1454 -0
  66. data/lib/stripe/resources/checkout/session.rb +295 -7
  67. data/lib/stripe/resources/confirmation_token.rb +237 -3
  68. data/lib/stripe/resources/coupon.rb +1 -1
  69. data/lib/stripe/resources/credit_note.rb +10 -0
  70. data/lib/stripe/resources/credit_note_line_item.rb +9 -0
  71. data/lib/stripe/resources/customer.rb +2 -0
  72. data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
  73. data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
  74. data/lib/stripe/resources/customer_session.rb +6 -1
  75. data/lib/stripe/resources/discount.rb +2 -0
  76. data/lib/stripe/resources/event.rb +33 -0
  77. data/lib/stripe/resources/financial_connections/account.rb +20 -1
  78. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
  79. data/lib/stripe/resources/financial_connections/institution.rb +90 -0
  80. data/lib/stripe/resources/financial_connections/session.rb +62 -2
  81. data/lib/stripe/resources/gift_cards/card.rb +208 -0
  82. data/lib/stripe/resources/gift_cards/transaction.rb +272 -0
  83. data/lib/stripe/resources/identity/verification_session.rb +10 -0
  84. data/lib/stripe/resources/invoice.rb +1176 -16
  85. data/lib/stripe/resources/invoice_item.rb +78 -2
  86. data/lib/stripe/resources/invoice_line_item.rb +55 -1
  87. data/lib/stripe/resources/invoice_payment.rb +2 -53
  88. data/lib/stripe/resources/issuing/cardholder.rb +2 -1
  89. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +602 -0
  90. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +82 -0
  91. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +86 -0
  92. data/lib/stripe/resources/issuing/settlement.rb +53 -0
  93. data/lib/stripe/resources/issuing/transaction.rb +6 -0
  94. data/lib/stripe/resources/line_item.rb +37 -0
  95. data/lib/stripe/resources/login_link.rb +2 -1
  96. data/lib/stripe/resources/mandate.rb +24 -0
  97. data/lib/stripe/resources/margin.rb +115 -0
  98. data/lib/stripe/resources/order.rb +2859 -0
  99. data/lib/stripe/resources/payment_attempt_record.rb +1078 -0
  100. data/lib/stripe/resources/payment_intent.rb +5242 -440
  101. data/lib/stripe/resources/payment_method.rb +199 -4
  102. data/lib/stripe/resources/payment_method_configuration.rb +295 -0
  103. data/lib/stripe/resources/payment_method_domain.rb +13 -0
  104. data/lib/stripe/resources/payment_record.rb +1607 -0
  105. data/lib/stripe/resources/payout.rb +6 -0
  106. data/lib/stripe/resources/price.rb +30 -0
  107. data/lib/stripe/resources/privacy/redaction_job.rb +251 -0
  108. data/lib/stripe/resources/privacy/redaction_job_root_objects.rb +35 -0
  109. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +54 -0
  110. data/lib/stripe/resources/product.rb +59 -0
  111. data/lib/stripe/resources/promotion_code.rb +10 -0
  112. data/lib/stripe/resources/quote.rb +2042 -6
  113. data/lib/stripe/resources/quote_line.rb +274 -0
  114. data/lib/stripe/resources/quote_preview_invoice.rb +663 -0
  115. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +337 -0
  116. data/lib/stripe/resources/refund.rb +9 -0
  117. data/lib/stripe/resources/setup_attempt.rb +21 -0
  118. data/lib/stripe/resources/setup_intent.rb +605 -18
  119. data/lib/stripe/resources/source.rb +30 -1
  120. data/lib/stripe/resources/subscription.rb +292 -9
  121. data/lib/stripe/resources/subscription_item.rb +84 -3
  122. data/lib/stripe/resources/subscription_schedule.rb +1007 -10
  123. data/lib/stripe/resources/tax/association.rb +89 -0
  124. data/lib/stripe/resources/tax/form.rb +211 -0
  125. data/lib/stripe/resources/tax/registration.rb +20 -0
  126. data/lib/stripe/resources/tax_id.rb +12 -2
  127. data/lib/stripe/resources/terminal/reader.rb +406 -0
  128. data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
  129. data/lib/stripe/resources/treasury/financial_account.rb +22 -3
  130. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  131. data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
  132. data/lib/stripe/resources/treasury/received_credit.rb +38 -1
  133. data/lib/stripe/resources/treasury/received_debit.rb +40 -1
  134. data/lib/stripe/resources/v2/core/account.rb +1715 -0
  135. data/lib/stripe/resources/v2/core/account_link.rb +54 -0
  136. data/lib/stripe/resources/v2/core/person.rb +272 -0
  137. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +72 -0
  138. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +37 -0
  139. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +18 -0
  140. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +20 -0
  141. data/lib/stripe/resources/v2/money_management/adjustment.rb +49 -0
  142. data/lib/stripe/resources/v2/money_management/financial_account.rb +56 -0
  143. data/lib/stripe/resources/v2/money_management/financial_address.rb +66 -0
  144. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +92 -0
  145. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +127 -0
  146. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +74 -0
  147. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +43 -0
  148. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +115 -0
  149. data/lib/stripe/resources/v2/money_management/payout_method.rb +73 -0
  150. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +47 -0
  151. data/lib/stripe/resources/v2/money_management/received_credit.rb +134 -0
  152. data/lib/stripe/resources/v2/money_management/received_debit.rb +106 -0
  153. data/lib/stripe/resources/v2/money_management/transaction.rb +76 -0
  154. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +66 -0
  155. data/lib/stripe/resources.rb +88 -0
  156. data/lib/stripe/services/account_notice_service.rb +101 -0
  157. data/lib/stripe/services/account_service.rb +570 -1
  158. data/lib/stripe/services/account_session_service.rb +269 -1
  159. data/lib/stripe/services/balance_settings_service.rb +96 -0
  160. data/lib/stripe/services/billing/credit_balance_summary_service.rb +4 -1
  161. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
  162. data/lib/stripe/services/billing/credit_grant_service.rb +8 -0
  163. data/lib/stripe/services/billing_portal/session_service.rb +4 -0
  164. data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
  165. data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
  166. data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
  167. data/lib/stripe/services/capital_service.rb +15 -0
  168. data/lib/stripe/services/charge_service.rb +1334 -0
  169. data/lib/stripe/services/checkout/session_service.rb +195 -4
  170. data/lib/stripe/services/credit_note_service.rb +4 -0
  171. data/lib/stripe/services/customer_session_service.rb +4 -1
  172. data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -123
  173. data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
  174. data/lib/stripe/services/financial_connections/account_service.rb +7 -2
  175. data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
  176. data/lib/stripe/services/financial_connections/session_service.rb +34 -2
  177. data/lib/stripe/services/financial_connections_service.rb +2 -1
  178. data/lib/stripe/services/gift_cards/card_service.rb +170 -0
  179. data/lib/stripe/services/gift_cards/transaction_service.rb +209 -0
  180. data/lib/stripe/services/gift_cards_service.rb +14 -0
  181. data/lib/stripe/services/identity/verification_session_service.rb +8 -0
  182. data/lib/stripe/services/invoice_item_service.rb +74 -2
  183. data/lib/stripe/services/invoice_line_item_service.rb +33 -1
  184. data/lib/stripe/services/invoice_payment_service.rb +5 -33
  185. data/lib/stripe/services/invoice_service.rb +1088 -17
  186. data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
  187. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
  188. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
  189. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
  190. data/lib/stripe/services/issuing/transaction_service.rb +4 -0
  191. data/lib/stripe/services/issuing_service.rb +5 -1
  192. data/lib/stripe/services/margin_service.rb +119 -0
  193. data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
  194. data/lib/stripe/services/order_service.rb +2268 -0
  195. data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
  196. data/lib/stripe/services/payment_intent_service.rb +4634 -261
  197. data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
  198. data/lib/stripe/services/payment_method_service.rb +129 -4
  199. data/lib/stripe/services/payment_record_service.rb +542 -0
  200. data/lib/stripe/services/payout_service.rb +4 -0
  201. data/lib/stripe/services/price_service.rb +19 -0
  202. data/lib/stripe/services/privacy/redaction_job_service.rb +231 -0
  203. data/{rbi/stripe/services/climate/product_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +36 -25
  204. data/lib/stripe/services/privacy_service.rb +13 -0
  205. data/lib/stripe/services/product_service.rb +38 -0
  206. data/lib/stripe/services/promotion_code_service.rb +8 -0
  207. data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
  208. data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
  209. data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_subscription_schedule_service.rb} +20 -16
  210. data/lib/stripe/services/quote_service.rb +1726 -7
  211. data/lib/stripe/services/setup_intent_service.rb +565 -18
  212. data/lib/stripe/services/subscription_item_service.rb +75 -3
  213. data/lib/stripe/services/subscription_schedule_service.rb +911 -10
  214. data/lib/stripe/services/subscription_service.rb +253 -9
  215. data/lib/stripe/services/tax/association_service.rb +31 -0
  216. data/lib/stripe/services/tax/form_service.rb +100 -0
  217. data/lib/stripe/services/tax/registration_service.rb +13 -0
  218. data/lib/stripe/services/tax_id_service.rb +8 -2
  219. data/lib/stripe/services/tax_service.rb +3 -1
  220. data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
  221. data/lib/stripe/services/terminal/reader_service.rb +180 -0
  222. data/lib/stripe/services/terminal_service.rb +2 -1
  223. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +151 -3
  224. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
  225. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
  226. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
  227. data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
  228. data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
  229. data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
  230. data/lib/stripe/services/v1_services.rb +11 -2
  231. data/lib/stripe/services/v2/core/account_link_service.rb +76 -0
  232. data/lib/stripe/services/v2/core/account_service.rb +4130 -0
  233. data/lib/stripe/services/v2/core/accounts/person_service.rb +1040 -0
  234. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +135 -0
  235. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +109 -0
  236. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  237. data/lib/stripe/services/v2/core_service.rb +4 -1
  238. data/lib/stripe/services/v2/money_management/adjustment_service.rb +75 -0
  239. data/lib/stripe/services/v2/money_management/financial_account_service.rb +44 -0
  240. data/lib/stripe/services/v2/money_management/financial_address_service.rb +81 -0
  241. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +126 -0
  242. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +80 -0
  243. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +202 -0
  244. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +237 -0
  245. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +174 -0
  246. data/lib/stripe/services/v2/money_management/payout_method_service.rb +95 -0
  247. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
  248. data/lib/stripe/services/v2/money_management/received_credit_service.rb +71 -0
  249. data/lib/stripe/services/v2/money_management/received_debit_service.rb +44 -0
  250. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +70 -0
  251. data/lib/stripe/services/v2/money_management/transaction_service.rb +74 -0
  252. data/lib/stripe/services/v2/money_management_service.rb +31 -0
  253. data/lib/stripe/services/v2/test_helper_service.rb +15 -0
  254. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +50 -0
  255. data/lib/stripe/services/v2_services.rb +4 -2
  256. data/lib/stripe/services.rb +52 -0
  257. data/lib/stripe/stripe_configuration.rb +3 -1
  258. data/lib/stripe/stripe_object.rb +1 -1
  259. data/lib/stripe/util.rb +7 -1
  260. data/lib/stripe/version.rb +1 -1
  261. data/lib/stripe.rb +55 -0
  262. data/rbi/stripe.rbi +190156 -0
  263. data/stripe.gemspec +4 -1
  264. metadata +146 -324
  265. data/rbi/stripe/resources/account.rbi +0 -4840
  266. data/rbi/stripe/resources/account_link.rbi +0 -74
  267. data/rbi/stripe/resources/account_session.rbi +0 -894
  268. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -90
  269. data/rbi/stripe/resources/application.rbi +0 -20
  270. data/rbi/stripe/resources/application_fee.rbi +0 -118
  271. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  272. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  273. data/rbi/stripe/resources/balance.rbi +0 -180
  274. data/rbi/stripe/resources/balance_transaction.rbi +0 -144
  275. data/rbi/stripe/resources/bank_account.rbi +0 -127
  276. data/rbi/stripe/resources/billing/alert.rbi +0 -201
  277. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  278. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
  279. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
  280. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
  281. data/rbi/stripe/resources/billing/meter.rbi +0 -226
  282. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  283. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  284. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
  285. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -645
  286. data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
  287. data/rbi/stripe/resources/capability.rbi +0 -125
  288. data/rbi/stripe/resources/card.rbi +0 -125
  289. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  290. data/rbi/stripe/resources/charge.rbi +0 -2054
  291. data/rbi/stripe/resources/checkout/session.rbi +0 -3951
  292. data/rbi/stripe/resources/climate/order.rbi +0 -245
  293. data/rbi/stripe/resources/climate/product.rbi +0 -75
  294. data/rbi/stripe/resources/climate/supplier.rbi +0 -72
  295. data/rbi/stripe/resources/confirmation_token.rbi +0 -1793
  296. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  297. data/rbi/stripe/resources/country_spec.rbi +0 -85
  298. data/rbi/stripe/resources/coupon.rbi +0 -252
  299. data/rbi/stripe/resources/credit_note.rbi +0 -747
  300. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
  301. data/rbi/stripe/resources/customer.rbi +0 -1009
  302. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
  303. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  304. data/rbi/stripe/resources/customer_session.rbi +0 -200
  305. data/rbi/stripe/resources/discount.rbi +0 -53
  306. data/rbi/stripe/resources/dispute.rbi +0 -761
  307. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
  308. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  309. data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
  310. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  311. data/rbi/stripe/resources/event.rbi +0 -146
  312. data/rbi/stripe/resources/exchange_rate.rbi +0 -66
  313. data/rbi/stripe/resources/file.rbi +0 -143
  314. data/rbi/stripe/resources/file_link.rbi +0 -141
  315. data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
  316. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  317. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  318. data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
  319. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
  320. data/rbi/stripe/resources/forwarding/request.rbi +0 -216
  321. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  322. data/rbi/stripe/resources/identity/verification_report.rbi +0 -351
  323. data/rbi/stripe/resources/identity/verification_session.rbi +0 -517
  324. data/rbi/stripe/resources/invoice.rbi +0 -3733
  325. data/rbi/stripe/resources/invoice_item.rbi +0 -475
  326. data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
  327. data/rbi/stripe/resources/invoice_payment.rbi +0 -114
  328. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
  329. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
  330. data/rbi/stripe/resources/issuing/card.rbi +0 -741
  331. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
  332. data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
  333. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
  334. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
  335. data/rbi/stripe/resources/issuing/token.rbi +0 -226
  336. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
  337. data/rbi/stripe/resources/line_item.rbi +0 -72
  338. data/rbi/stripe/resources/login_link.rbi +0 -18
  339. data/rbi/stripe/resources/mandate.rbi +0 -187
  340. data/rbi/stripe/resources/payment_intent.rbi +0 -9731
  341. data/rbi/stripe/resources/payment_link.rbi +0 -1801
  342. data/rbi/stripe/resources/payment_method.rbi +0 -1822
  343. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3154
  344. data/rbi/stripe/resources/payment_method_domain.rbi +0 -212
  345. data/rbi/stripe/resources/payout.rbi +0 -300
  346. data/rbi/stripe/resources/person.rbi +0 -371
  347. data/rbi/stripe/resources/plan.rbi +0 -373
  348. data/rbi/stripe/resources/price.rbi +0 -694
  349. data/rbi/stripe/resources/product.rbi +0 -557
  350. data/rbi/stripe/resources/product_feature.rbi +0 -26
  351. data/rbi/stripe/resources/promotion_code.rbi +0 -261
  352. data/rbi/stripe/resources/quote.rbi +0 -1123
  353. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
  354. data/rbi/stripe/resources/radar/value_list.rbi +0 -170
  355. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -131
  356. data/rbi/stripe/resources/refund.rbi +0 -516
  357. data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
  358. data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
  359. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  360. data/rbi/stripe/resources/reversal.rbi +0 -51
  361. data/rbi/stripe/resources/review.rbi +0 -154
  362. data/rbi/stripe/resources/setup_attempt.rbi +0 -477
  363. data/rbi/stripe/resources/setup_intent.rbi +0 -3860
  364. data/rbi/stripe/resources/shipping_rate.rbi +0 -305
  365. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
  366. data/rbi/stripe/resources/source.rbi +0 -1496
  367. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  368. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  369. data/rbi/stripe/resources/subscription.rbi +0 -1964
  370. data/rbi/stripe/resources/subscription_item.rbi +0 -370
  371. data/rbi/stripe/resources/subscription_schedule.rbi +0 -1495
  372. data/rbi/stripe/resources/tax/calculation.rbi +0 -474
  373. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -88
  374. data/rbi/stripe/resources/tax/registration.rbi +0 -2485
  375. data/rbi/stripe/resources/tax/settings.rbi +0 -141
  376. data/rbi/stripe/resources/tax/transaction.rbi +0 -351
  377. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  378. data/rbi/stripe/resources/tax_code.rbi +0 -44
  379. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  380. data/rbi/stripe/resources/tax_id.rbi +0 -167
  381. data/rbi/stripe/resources/tax_rate.rbi +0 -239
  382. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1388
  383. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  384. data/rbi/stripe/resources/terminal/location.rbi +0 -224
  385. data/rbi/stripe/resources/terminal/reader.rbi +0 -587
  386. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -134
  387. data/rbi/stripe/resources/token.rbi +0 -1217
  388. data/rbi/stripe/resources/topup.rbi +0 -222
  389. data/rbi/stripe/resources/transfer.rbi +0 -199
  390. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
  391. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
  392. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -865
  393. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
  394. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
  395. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
  396. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
  397. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
  398. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
  399. data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
  400. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
  401. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  402. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  403. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  404. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  405. data/rbi/stripe/resources/v2/event.rbi +0 -48
  406. data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
  407. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -170
  408. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  409. data/rbi/stripe/services/account_link_service.rbi +0 -58
  410. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  411. data/rbi/stripe/services/account_person_service.rbi +0 -923
  412. data/rbi/stripe/services/account_service.rbi +0 -4143
  413. data/rbi/stripe/services/account_session_service.rbi +0 -572
  414. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -78
  415. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
  416. data/rbi/stripe/services/application_fee_service.rbi +0 -78
  417. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  418. data/rbi/stripe/services/apps_service.rbi +0 -9
  419. data/rbi/stripe/services/balance_service.rbi +0 -21
  420. data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
  421. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  422. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
  423. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  424. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
  425. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
  426. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  427. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  428. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  429. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -511
  430. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
  431. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  432. data/rbi/stripe/services/billing_service.rbi +0 -15
  433. data/rbi/stripe/services/charge_service.rbi +0 -448
  434. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  435. data/rbi/stripe/services/checkout/session_service.rbi +0 -2585
  436. data/rbi/stripe/services/checkout_service.rbi +0 -9
  437. data/rbi/stripe/services/climate/order_service.rbi +0 -142
  438. data/rbi/stripe/services/climate_service.rbi +0 -11
  439. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  440. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  441. data/rbi/stripe/services/coupon_service.rbi +0 -196
  442. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  443. data/rbi/stripe/services/credit_note_service.rbi +0 -416
  444. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  445. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  446. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  447. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  448. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  449. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
  450. data/rbi/stripe/services/customer_service.rbi +0 -651
  451. data/rbi/stripe/services/customer_session_service.rbi +0 -116
  452. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -72
  453. data/rbi/stripe/services/dispute_service.rbi +0 -424
  454. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  455. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  456. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  457. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  458. data/rbi/stripe/services/event_service.rbi +0 -83
  459. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  460. data/rbi/stripe/services/file_link_service.rbi +0 -124
  461. data/rbi/stripe/services/file_service.rbi +0 -116
  462. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  463. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
  464. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
  465. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
  466. data/rbi/stripe/services/financial_connections_service.rbi +0 -11
  467. data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
  468. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  469. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
  470. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -323
  471. data/rbi/stripe/services/identity_service.rbi +0 -10
  472. data/rbi/stripe/services/invoice_item_service.rbi +0 -368
  473. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
  474. data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
  475. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  476. data/rbi/stripe/services/invoice_service.rbi +0 -2920
  477. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
  478. data/rbi/stripe/services/issuing/card_service.rbi +0 -495
  479. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
  480. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
  481. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
  482. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  483. data/rbi/stripe/services/issuing/token_service.rbi +0 -99
  484. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
  485. data/rbi/stripe/services/issuing_service.rbi +0 -16
  486. data/rbi/stripe/services/mandate_service.rbi +0 -20
  487. data/rbi/stripe/services/payment_intent_service.rbi +0 -7759
  488. data/rbi/stripe/services/payment_link_service.rbi +0 -1352
  489. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2211
  490. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
  491. data/rbi/stripe/services/payment_method_service.rbi +0 -840
  492. data/rbi/stripe/services/payout_service.rbi +0 -205
  493. data/rbi/stripe/services/plan_service.rbi +0 -284
  494. data/rbi/stripe/services/price_service.rbi +0 -546
  495. data/rbi/stripe/services/product_feature_service.rbi +0 -69
  496. data/rbi/stripe/services/product_service.rbi +0 -479
  497. data/rbi/stripe/services/promotion_code_service.rbi +0 -214
  498. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  499. data/rbi/stripe/services/quote_service.rbi +0 -686
  500. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
  501. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -111
  502. data/rbi/stripe/services/radar/value_list_service.rbi +0 -143
  503. data/rbi/stripe/services/radar_service.rbi +0 -11
  504. data/rbi/stripe/services/refund_service.rbi +0 -185
  505. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
  506. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  507. data/rbi/stripe/services/reporting_service.rbi +0 -10
  508. data/rbi/stripe/services/review_service.rbi +0 -84
  509. data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
  510. data/rbi/stripe/services/setup_intent_service.rbi +0 -3596
  511. data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
  512. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  513. data/rbi/stripe/services/sigma_service.rbi +0 -9
  514. data/rbi/stripe/services/source_service.rbi +0 -663
  515. data/rbi/stripe/services/subscription_item_service.rbi +0 -324
  516. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1192
  517. data/rbi/stripe/services/subscription_service.rbi +0 -1596
  518. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -33
  519. data/rbi/stripe/services/tax/calculation_service.rbi +0 -230
  520. data/rbi/stripe/services/tax/registration_service.rbi +0 -1689
  521. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  522. data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
  523. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  524. data/rbi/stripe/services/tax_id_service.rbi +0 -112
  525. data/rbi/stripe/services/tax_rate_service.rbi +0 -185
  526. data/rbi/stripe/services/tax_service.rbi +0 -12
  527. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1120
  528. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  529. data/rbi/stripe/services/terminal/location_service.rbi +0 -184
  530. data/rbi/stripe/services/terminal/reader_service.rbi +0 -344
  531. data/rbi/stripe/services/terminal_service.rbi +0 -12
  532. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
  533. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  534. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
  535. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  536. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
  537. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
  538. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  539. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  540. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -62
  541. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  542. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -92
  543. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  544. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
  545. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
  546. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
  547. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
  548. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  549. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  550. data/rbi/stripe/services/token_service.rbi +0 -1189
  551. data/rbi/stripe/services/topup_service.rbi +0 -176
  552. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
  553. data/rbi/stripe/services/transfer_service.rbi +0 -152
  554. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  555. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  556. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
  557. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -562
  558. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  559. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
  560. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
  561. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
  562. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  563. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
  564. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
  565. data/rbi/stripe/services/treasury_service.rbi +0 -18
  566. data/rbi/stripe/services/v1_services.rbi +0 -77
  567. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  568. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  569. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -20
  570. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  571. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  572. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -200
  573. data/rbi/stripe/services/v2/core/event_service.rbi +0 -38
  574. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  575. data/rbi/stripe/services/v2_services.rbi +0 -10
  576. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -131
@@ -71,6 +71,8 @@ module Stripe
71
71
  attr_reader :estimated_worker_count
72
72
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
73
73
  attr_reader :mcc
74
+ # Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
75
+ attr_reader :minority_owned_business_designation
74
76
  # Attribute for field monthly_estimated_revenue
75
77
  attr_reader :monthly_estimated_revenue
76
78
  # The customer-facing business name.
@@ -102,6 +104,8 @@ module Stripe
102
104
  attr_reader :amazon_pay_payments
103
105
  # The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.
104
106
  attr_reader :au_becs_debit_payments
107
+ # The status of the automatic_indirect_tax capability of the account.
108
+ attr_reader :automatic_indirect_tax
105
109
  # The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
106
110
  attr_reader :bacs_debit_payments
107
111
  # The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.
@@ -130,8 +134,14 @@ module Stripe
130
134
  attr_reader :gb_bank_transfer_payments
131
135
  # The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
132
136
  attr_reader :giropay_payments
137
+ # The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
138
+ attr_reader :gopay_payments
133
139
  # The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
134
140
  attr_reader :grabpay_payments
141
+ # The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
142
+ attr_reader :id_bank_transfer_payments
143
+ # The status of Bank BCA onboarding of the account.
144
+ attr_reader :id_bank_transfer_payments_bca
135
145
  # The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
136
146
  attr_reader :ideal_payments
137
147
  # The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.
@@ -152,6 +162,8 @@ module Stripe
152
162
  attr_reader :legacy_payments
153
163
  # The status of the link_payments capability of the account, or whether the account can directly process Link charges.
154
164
  attr_reader :link_payments
165
+ # The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
166
+ attr_reader :mb_way_payments
155
167
  # The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
156
168
  attr_reader :mobilepay_payments
157
169
  # The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.
@@ -172,8 +184,16 @@ module Stripe
172
184
  attr_reader :payco_payments
173
185
  # The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
174
186
  attr_reader :paynow_payments
187
+ # The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
188
+ attr_reader :paypal_payments
189
+ # The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
190
+ attr_reader :payto_payments
175
191
  # The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
176
192
  attr_reader :promptpay_payments
193
+ # The status of the Qris capability of the account, or whether the account can directly process Qris payments.
194
+ attr_reader :qris_payments
195
+ # The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
196
+ attr_reader :rechnung_payments
177
197
  # The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
178
198
  attr_reader :revolut_pay_payments
179
199
  # The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
@@ -184,8 +204,12 @@ module Stripe
184
204
  attr_reader :sepa_bank_transfer_payments
185
205
  # The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
186
206
  attr_reader :sepa_debit_payments
207
+ # The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
208
+ attr_reader :shopeepay_payments
187
209
  # The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
188
210
  attr_reader :sofort_payments
211
+ # The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
212
+ attr_reader :stripe_balance_payments
189
213
  # The status of the Swish capability of the account, or whether the account can directly process Swish payments.
190
214
  attr_reader :swish_payments
191
215
  # The status of the tax reporting 1099-K (US) capability of the account.
@@ -196,6 +220,12 @@ module Stripe
196
220
  attr_reader :transfers
197
221
  # The status of the banking capability, or whether the account can have bank accounts.
198
222
  attr_reader :treasury
223
+ # The status of the treasury_evolve capability of the account.
224
+ attr_reader :treasury_evolve
225
+ # The status of the treasury_fifth_third capability of the account.
226
+ attr_reader :treasury_fifth_third
227
+ # The status of the treasury_goldman_sachs capability of the account.
228
+ attr_reader :treasury_goldman_sachs
199
229
  # The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
200
230
  attr_reader :twint_payments
201
231
  # The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
@@ -331,6 +361,20 @@ module Stripe
331
361
  end
332
362
 
333
363
  class Controller < Stripe::StripeObject
364
+ class Application < Stripe::StripeObject
365
+ # `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
366
+ attr_reader :loss_liable
367
+ # `true` if the Connect application is responsible for onboarding the account.
368
+ attr_reader :onboarding_owner
369
+ # `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
370
+ attr_reader :pricing_controls
371
+ end
372
+
373
+ class Dashboard < Stripe::StripeObject
374
+ # Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
375
+ attr_reader :type
376
+ end
377
+
334
378
  class Fees < Stripe::StripeObject
335
379
  # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
336
380
  attr_reader :payer
@@ -345,6 +389,10 @@ module Stripe
345
389
  # A value indicating the Stripe dashboard this account has access to independent of the Connect application.
346
390
  attr_reader :type
347
391
  end
392
+ # Attribute for field application
393
+ attr_reader :application
394
+ # Attribute for field dashboard
395
+ attr_reader :dashboard
348
396
  # Attribute for field fees
349
397
  attr_reader :fees
350
398
  # `true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://stripe.com/docs/connect/platform-controls-for-standard-accounts). Otherwise, this field is null.
@@ -432,6 +480,24 @@ module Stripe
432
480
  attr_reader :pending_verification
433
481
  end
434
482
 
483
+ class RiskControls < Stripe::StripeObject
484
+ class Charges < Stripe::StripeObject
485
+ # Whether a pause of the risk control has been requested.
486
+ attr_reader :pause_requested
487
+ end
488
+
489
+ class Payouts < Stripe::StripeObject
490
+ # Whether a pause of the risk control has been requested.
491
+ attr_reader :pause_requested
492
+ end
493
+ # Attribute for field charges
494
+ attr_reader :charges
495
+ # Attribute for field payouts
496
+ attr_reader :payouts
497
+ # Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://stripe.com/docs/connect/)
498
+ attr_reader :rejected_reason
499
+ end
500
+
435
501
  class Settings < Stripe::StripeObject
436
502
  class BacsDebitPayments < Stripe::StripeObject
437
503
  # The Bacs Direct Debit display name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. The fee appears 5 business days after requesting Bacs. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -440,6 +506,13 @@ module Stripe
440
506
  attr_reader :service_user_number
441
507
  end
442
508
 
509
+ class BankBcaOnboarding < Stripe::StripeObject
510
+ # Bank BCA business account holder name.
511
+ attr_reader :account_holder_name
512
+ # Bank BCA business account number.
513
+ attr_reader :business_account_number
514
+ end
515
+
443
516
  class Branding < Stripe::StripeObject
444
517
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
445
518
  attr_reader :icon
@@ -451,6 +524,13 @@ module Stripe
451
524
  attr_reader :secondary_color
452
525
  end
453
526
 
527
+ class Capital < Stripe::StripeObject
528
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
529
+ attr_reader :payout_destination
530
+ # Per-currency mapping of all destination accounts eligible to receive loan payouts.
531
+ attr_reader :payout_destination_selector
532
+ end
533
+
454
534
  class CardIssuing < Stripe::StripeObject
455
535
  class TosAcceptance < Stripe::StripeObject
456
536
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -532,6 +612,11 @@ module Stripe
532
612
  attr_reader :creditor_id
533
613
  end
534
614
 
615
+ class TaxForms < Stripe::StripeObject
616
+ # Whether the account opted out of receiving their tax forms by postal delivery.
617
+ attr_reader :consented_to_paperless_delivery
618
+ end
619
+
535
620
  class Treasury < Stripe::StripeObject
536
621
  class TosAcceptance < Stripe::StripeObject
537
622
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -546,8 +631,12 @@ module Stripe
546
631
  end
547
632
  # Attribute for field bacs_debit_payments
548
633
  attr_reader :bacs_debit_payments
634
+ # Attribute for field bank_bca_onboarding
635
+ attr_reader :bank_bca_onboarding
549
636
  # Attribute for field branding
550
637
  attr_reader :branding
638
+ # Attribute for field capital
639
+ attr_reader :capital
551
640
  # Attribute for field card_issuing
552
641
  attr_reader :card_issuing
553
642
  # Attribute for field card_payments
@@ -562,6 +651,8 @@ module Stripe
562
651
  attr_reader :payouts
563
652
  # Attribute for field sepa_debit_payments
564
653
  attr_reader :sepa_debit_payments
654
+ # Attribute for field tax_forms
655
+ attr_reader :tax_forms
565
656
  # Attribute for field treasury
566
657
  attr_reader :treasury
567
658
  end
@@ -680,6 +771,8 @@ module Stripe
680
771
  attr_accessor :estimated_worker_count
681
772
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
682
773
  attr_accessor :mcc
774
+ # Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
775
+ attr_accessor :minority_owned_business_designation
683
776
  # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
684
777
  attr_accessor :monthly_estimated_revenue
685
778
  # The customer-facing business name.
@@ -701,6 +794,7 @@ module Stripe
701
794
  annual_revenue: nil,
702
795
  estimated_worker_count: nil,
703
796
  mcc: nil,
797
+ minority_owned_business_designation: nil,
704
798
  monthly_estimated_revenue: nil,
705
799
  name: nil,
706
800
  product_description: nil,
@@ -713,6 +807,7 @@ module Stripe
713
807
  @annual_revenue = annual_revenue
714
808
  @estimated_worker_count = estimated_worker_count
715
809
  @mcc = mcc
810
+ @minority_owned_business_designation = minority_owned_business_designation
716
811
  @monthly_estimated_revenue = monthly_estimated_revenue
717
812
  @name = name
718
813
  @product_description = product_description
@@ -779,6 +874,15 @@ module Stripe
779
874
  end
780
875
  end
781
876
 
877
+ class AutomaticIndirectTax < Stripe::RequestParams
878
+ # 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.
879
+ attr_accessor :requested
880
+
881
+ def initialize(requested: nil)
882
+ @requested = requested
883
+ end
884
+ end
885
+
782
886
  class BacsDebitPayments < Stripe::RequestParams
783
887
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
784
888
  attr_accessor :requested
@@ -905,6 +1009,15 @@ module Stripe
905
1009
  end
906
1010
  end
907
1011
 
1012
+ class GopayPayments < Stripe::RequestParams
1013
+ # 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.
1014
+ attr_accessor :requested
1015
+
1016
+ def initialize(requested: nil)
1017
+ @requested = requested
1018
+ end
1019
+ end
1020
+
908
1021
  class GrabpayPayments < Stripe::RequestParams
909
1022
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
910
1023
  attr_accessor :requested
@@ -914,6 +1027,24 @@ module Stripe
914
1027
  end
915
1028
  end
916
1029
 
1030
+ class IdBankTransferPayments < Stripe::RequestParams
1031
+ # 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.
1032
+ attr_accessor :requested
1033
+
1034
+ def initialize(requested: nil)
1035
+ @requested = requested
1036
+ end
1037
+ end
1038
+
1039
+ class IdBankTransferPaymentsBca < Stripe::RequestParams
1040
+ # 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.
1041
+ attr_accessor :requested
1042
+
1043
+ def initialize(requested: nil)
1044
+ @requested = requested
1045
+ end
1046
+ end
1047
+
917
1048
  class IdealPayments < Stripe::RequestParams
918
1049
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
919
1050
  attr_accessor :requested
@@ -1004,6 +1135,15 @@ module Stripe
1004
1135
  end
1005
1136
  end
1006
1137
 
1138
+ class MbWayPayments < Stripe::RequestParams
1139
+ # 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.
1140
+ attr_accessor :requested
1141
+
1142
+ def initialize(requested: nil)
1143
+ @requested = requested
1144
+ end
1145
+ end
1146
+
1007
1147
  class MobilepayPayments < Stripe::RequestParams
1008
1148
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1009
1149
  attr_accessor :requested
@@ -1094,6 +1234,24 @@ module Stripe
1094
1234
  end
1095
1235
  end
1096
1236
 
1237
+ class PaypalPayments < Stripe::RequestParams
1238
+ # 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.
1239
+ attr_accessor :requested
1240
+
1241
+ def initialize(requested: nil)
1242
+ @requested = requested
1243
+ end
1244
+ end
1245
+
1246
+ class PaytoPayments < Stripe::RequestParams
1247
+ # 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.
1248
+ attr_accessor :requested
1249
+
1250
+ def initialize(requested: nil)
1251
+ @requested = requested
1252
+ end
1253
+ end
1254
+
1097
1255
  class PromptpayPayments < Stripe::RequestParams
1098
1256
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1099
1257
  attr_accessor :requested
@@ -1103,6 +1261,24 @@ module Stripe
1103
1261
  end
1104
1262
  end
1105
1263
 
1264
+ class QrisPayments < Stripe::RequestParams
1265
+ # 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.
1266
+ attr_accessor :requested
1267
+
1268
+ def initialize(requested: nil)
1269
+ @requested = requested
1270
+ end
1271
+ end
1272
+
1273
+ class RechnungPayments < Stripe::RequestParams
1274
+ # 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.
1275
+ attr_accessor :requested
1276
+
1277
+ def initialize(requested: nil)
1278
+ @requested = requested
1279
+ end
1280
+ end
1281
+
1106
1282
  class RevolutPayPayments < Stripe::RequestParams
1107
1283
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1108
1284
  attr_accessor :requested
@@ -1148,6 +1324,15 @@ module Stripe
1148
1324
  end
1149
1325
  end
1150
1326
 
1327
+ class ShopeepayPayments < Stripe::RequestParams
1328
+ # 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.
1329
+ attr_accessor :requested
1330
+
1331
+ def initialize(requested: nil)
1332
+ @requested = requested
1333
+ end
1334
+ end
1335
+
1151
1336
  class SofortPayments < Stripe::RequestParams
1152
1337
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1153
1338
  attr_accessor :requested
@@ -1157,6 +1342,15 @@ module Stripe
1157
1342
  end
1158
1343
  end
1159
1344
 
1345
+ class StripeBalancePayments < Stripe::RequestParams
1346
+ # 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.
1347
+ attr_accessor :requested
1348
+
1349
+ def initialize(requested: nil)
1350
+ @requested = requested
1351
+ end
1352
+ end
1353
+
1160
1354
  class SwishPayments < Stripe::RequestParams
1161
1355
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1162
1356
  attr_accessor :requested
@@ -1202,6 +1396,33 @@ module Stripe
1202
1396
  end
1203
1397
  end
1204
1398
 
1399
+ class TreasuryEvolve < Stripe::RequestParams
1400
+ # 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.
1401
+ attr_accessor :requested
1402
+
1403
+ def initialize(requested: nil)
1404
+ @requested = requested
1405
+ end
1406
+ end
1407
+
1408
+ class TreasuryFifthThird < Stripe::RequestParams
1409
+ # 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.
1410
+ attr_accessor :requested
1411
+
1412
+ def initialize(requested: nil)
1413
+ @requested = requested
1414
+ end
1415
+ end
1416
+
1417
+ class TreasuryGoldmanSachs < Stripe::RequestParams
1418
+ # 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.
1419
+ attr_accessor :requested
1420
+
1421
+ def initialize(requested: nil)
1422
+ @requested = requested
1423
+ end
1424
+ end
1425
+
1205
1426
  class TwintPayments < Stripe::RequestParams
1206
1427
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1207
1428
  attr_accessor :requested
@@ -1249,6 +1470,8 @@ module Stripe
1249
1470
  attr_accessor :amazon_pay_payments
1250
1471
  # The au_becs_debit_payments capability.
1251
1472
  attr_accessor :au_becs_debit_payments
1473
+ # The automatic_indirect_tax capability.
1474
+ attr_accessor :automatic_indirect_tax
1252
1475
  # The bacs_debit_payments capability.
1253
1476
  attr_accessor :bacs_debit_payments
1254
1477
  # The bancontact_payments capability.
@@ -1277,8 +1500,14 @@ module Stripe
1277
1500
  attr_accessor :gb_bank_transfer_payments
1278
1501
  # The giropay_payments capability.
1279
1502
  attr_accessor :giropay_payments
1503
+ # The gopay_payments capability.
1504
+ attr_accessor :gopay_payments
1280
1505
  # The grabpay_payments capability.
1281
1506
  attr_accessor :grabpay_payments
1507
+ # The id_bank_transfer_payments capability.
1508
+ attr_accessor :id_bank_transfer_payments
1509
+ # The id_bank_transfer_payments_bca capability.
1510
+ attr_accessor :id_bank_transfer_payments_bca
1282
1511
  # The ideal_payments capability.
1283
1512
  attr_accessor :ideal_payments
1284
1513
  # The india_international_payments capability.
@@ -1299,6 +1528,8 @@ module Stripe
1299
1528
  attr_accessor :legacy_payments
1300
1529
  # The link_payments capability.
1301
1530
  attr_accessor :link_payments
1531
+ # The mb_way_payments capability.
1532
+ attr_accessor :mb_way_payments
1302
1533
  # The mobilepay_payments capability.
1303
1534
  attr_accessor :mobilepay_payments
1304
1535
  # The multibanco_payments capability.
@@ -1319,8 +1550,16 @@ module Stripe
1319
1550
  attr_accessor :payco_payments
1320
1551
  # The paynow_payments capability.
1321
1552
  attr_accessor :paynow_payments
1553
+ # The paypal_payments capability.
1554
+ attr_accessor :paypal_payments
1555
+ # The payto_payments capability.
1556
+ attr_accessor :payto_payments
1322
1557
  # The promptpay_payments capability.
1323
1558
  attr_accessor :promptpay_payments
1559
+ # The qris_payments capability.
1560
+ attr_accessor :qris_payments
1561
+ # The rechnung_payments capability.
1562
+ attr_accessor :rechnung_payments
1324
1563
  # The revolut_pay_payments capability.
1325
1564
  attr_accessor :revolut_pay_payments
1326
1565
  # The samsung_pay_payments capability.
@@ -1331,8 +1570,12 @@ module Stripe
1331
1570
  attr_accessor :sepa_bank_transfer_payments
1332
1571
  # The sepa_debit_payments capability.
1333
1572
  attr_accessor :sepa_debit_payments
1573
+ # The shopeepay_payments capability.
1574
+ attr_accessor :shopeepay_payments
1334
1575
  # The sofort_payments capability.
1335
1576
  attr_accessor :sofort_payments
1577
+ # The stripe_balance_payments capability.
1578
+ attr_accessor :stripe_balance_payments
1336
1579
  # The swish_payments capability.
1337
1580
  attr_accessor :swish_payments
1338
1581
  # The tax_reporting_us_1099_k capability.
@@ -1343,6 +1586,12 @@ module Stripe
1343
1586
  attr_accessor :transfers
1344
1587
  # The treasury capability.
1345
1588
  attr_accessor :treasury
1589
+ # The treasury_evolve capability.
1590
+ attr_accessor :treasury_evolve
1591
+ # The treasury_fifth_third capability.
1592
+ attr_accessor :treasury_fifth_third
1593
+ # The treasury_goldman_sachs capability.
1594
+ attr_accessor :treasury_goldman_sachs
1346
1595
  # The twint_payments capability.
1347
1596
  attr_accessor :twint_payments
1348
1597
  # The us_bank_account_ach_payments capability.
@@ -1359,6 +1608,7 @@ module Stripe
1359
1608
  alma_payments: nil,
1360
1609
  amazon_pay_payments: nil,
1361
1610
  au_becs_debit_payments: nil,
1611
+ automatic_indirect_tax: nil,
1362
1612
  bacs_debit_payments: nil,
1363
1613
  bancontact_payments: nil,
1364
1614
  bank_transfer_payments: nil,
@@ -1373,7 +1623,10 @@ module Stripe
1373
1623
  fpx_payments: nil,
1374
1624
  gb_bank_transfer_payments: nil,
1375
1625
  giropay_payments: nil,
1626
+ gopay_payments: nil,
1376
1627
  grabpay_payments: nil,
1628
+ id_bank_transfer_payments: nil,
1629
+ id_bank_transfer_payments_bca: nil,
1377
1630
  ideal_payments: nil,
1378
1631
  india_international_payments: nil,
1379
1632
  jcb_payments: nil,
@@ -1384,6 +1637,7 @@ module Stripe
1384
1637
  kr_card_payments: nil,
1385
1638
  legacy_payments: nil,
1386
1639
  link_payments: nil,
1640
+ mb_way_payments: nil,
1387
1641
  mobilepay_payments: nil,
1388
1642
  multibanco_payments: nil,
1389
1643
  mx_bank_transfer_payments: nil,
@@ -1394,18 +1648,27 @@ module Stripe
1394
1648
  pay_by_bank_payments: nil,
1395
1649
  payco_payments: nil,
1396
1650
  paynow_payments: nil,
1651
+ paypal_payments: nil,
1652
+ payto_payments: nil,
1397
1653
  promptpay_payments: nil,
1654
+ qris_payments: nil,
1655
+ rechnung_payments: nil,
1398
1656
  revolut_pay_payments: nil,
1399
1657
  samsung_pay_payments: nil,
1400
1658
  satispay_payments: nil,
1401
1659
  sepa_bank_transfer_payments: nil,
1402
1660
  sepa_debit_payments: nil,
1661
+ shopeepay_payments: nil,
1403
1662
  sofort_payments: nil,
1663
+ stripe_balance_payments: nil,
1404
1664
  swish_payments: nil,
1405
1665
  tax_reporting_us_1099_k: nil,
1406
1666
  tax_reporting_us_1099_misc: nil,
1407
1667
  transfers: nil,
1408
1668
  treasury: nil,
1669
+ treasury_evolve: nil,
1670
+ treasury_fifth_third: nil,
1671
+ treasury_goldman_sachs: nil,
1409
1672
  twint_payments: nil,
1410
1673
  us_bank_account_ach_payments: nil,
1411
1674
  us_bank_transfer_payments: nil,
@@ -1417,6 +1680,7 @@ module Stripe
1417
1680
  @alma_payments = alma_payments
1418
1681
  @amazon_pay_payments = amazon_pay_payments
1419
1682
  @au_becs_debit_payments = au_becs_debit_payments
1683
+ @automatic_indirect_tax = automatic_indirect_tax
1420
1684
  @bacs_debit_payments = bacs_debit_payments
1421
1685
  @bancontact_payments = bancontact_payments
1422
1686
  @bank_transfer_payments = bank_transfer_payments
@@ -1431,7 +1695,10 @@ module Stripe
1431
1695
  @fpx_payments = fpx_payments
1432
1696
  @gb_bank_transfer_payments = gb_bank_transfer_payments
1433
1697
  @giropay_payments = giropay_payments
1698
+ @gopay_payments = gopay_payments
1434
1699
  @grabpay_payments = grabpay_payments
1700
+ @id_bank_transfer_payments = id_bank_transfer_payments
1701
+ @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1435
1702
  @ideal_payments = ideal_payments
1436
1703
  @india_international_payments = india_international_payments
1437
1704
  @jcb_payments = jcb_payments
@@ -1442,6 +1709,7 @@ module Stripe
1442
1709
  @kr_card_payments = kr_card_payments
1443
1710
  @legacy_payments = legacy_payments
1444
1711
  @link_payments = link_payments
1712
+ @mb_way_payments = mb_way_payments
1445
1713
  @mobilepay_payments = mobilepay_payments
1446
1714
  @multibanco_payments = multibanco_payments
1447
1715
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -1452,18 +1720,27 @@ module Stripe
1452
1720
  @pay_by_bank_payments = pay_by_bank_payments
1453
1721
  @payco_payments = payco_payments
1454
1722
  @paynow_payments = paynow_payments
1723
+ @paypal_payments = paypal_payments
1724
+ @payto_payments = payto_payments
1455
1725
  @promptpay_payments = promptpay_payments
1726
+ @qris_payments = qris_payments
1727
+ @rechnung_payments = rechnung_payments
1456
1728
  @revolut_pay_payments = revolut_pay_payments
1457
1729
  @samsung_pay_payments = samsung_pay_payments
1458
1730
  @satispay_payments = satispay_payments
1459
1731
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1460
1732
  @sepa_debit_payments = sepa_debit_payments
1733
+ @shopeepay_payments = shopeepay_payments
1461
1734
  @sofort_payments = sofort_payments
1735
+ @stripe_balance_payments = stripe_balance_payments
1462
1736
  @swish_payments = swish_payments
1463
1737
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1464
1738
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1465
1739
  @transfers = transfers
1466
1740
  @treasury = treasury
1741
+ @treasury_evolve = treasury_evolve
1742
+ @treasury_fifth_third = treasury_fifth_third
1743
+ @treasury_goldman_sachs = treasury_goldman_sachs
1467
1744
  @twint_payments = twint_payments
1468
1745
  @us_bank_account_ach_payments = us_bank_account_ach_payments
1469
1746
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -2220,6 +2497,37 @@ module Stripe
2220
2497
  end
2221
2498
  end
2222
2499
 
2500
+ class RiskControls < Stripe::RequestParams
2501
+ class Charges < Stripe::RequestParams
2502
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2503
+ # There can be a delay before the risk control is paused or unpaused.
2504
+ attr_accessor :pause_requested
2505
+
2506
+ def initialize(pause_requested: nil)
2507
+ @pause_requested = pause_requested
2508
+ end
2509
+ end
2510
+
2511
+ class Payouts < Stripe::RequestParams
2512
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2513
+ # There can be a delay before the risk control is paused or unpaused.
2514
+ attr_accessor :pause_requested
2515
+
2516
+ def initialize(pause_requested: nil)
2517
+ @pause_requested = pause_requested
2518
+ end
2519
+ end
2520
+ # 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).
2521
+ attr_accessor :charges
2522
+ # 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).
2523
+ attr_accessor :payouts
2524
+
2525
+ def initialize(charges: nil, payouts: nil)
2526
+ @charges = charges
2527
+ @payouts = payouts
2528
+ end
2529
+ end
2530
+
2223
2531
  class Settings < Stripe::RequestParams
2224
2532
  class BacsDebitPayments < Stripe::RequestParams
2225
2533
  # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -2230,6 +2538,18 @@ module Stripe
2230
2538
  end
2231
2539
  end
2232
2540
 
2541
+ class BankBcaOnboarding < Stripe::RequestParams
2542
+ # Bank BCA business account holder name
2543
+ attr_accessor :account_holder_name
2544
+ # Bank BCA business account number
2545
+ attr_accessor :business_account_number
2546
+
2547
+ def initialize(account_holder_name: nil, business_account_number: nil)
2548
+ @account_holder_name = account_holder_name
2549
+ @business_account_number = business_account_number
2550
+ end
2551
+ end
2552
+
2233
2553
  class Branding < Stripe::RequestParams
2234
2554
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
2235
2555
  attr_accessor :icon
@@ -2248,6 +2568,18 @@ module Stripe
2248
2568
  end
2249
2569
  end
2250
2570
 
2571
+ class Capital < Stripe::RequestParams
2572
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
2573
+ attr_accessor :payout_destination
2574
+ # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
2575
+ attr_accessor :payout_destination_selector
2576
+
2577
+ def initialize(payout_destination: nil, payout_destination_selector: nil)
2578
+ @payout_destination = payout_destination
2579
+ @payout_destination_selector = payout_destination_selector
2580
+ end
2581
+ end
2582
+
2251
2583
  class CardIssuing < Stripe::RequestParams
2252
2584
  class TosAcceptance < Stripe::RequestParams
2253
2585
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2368,6 +2700,15 @@ module Stripe
2368
2700
  end
2369
2701
  end
2370
2702
 
2703
+ class TaxForms < Stripe::RequestParams
2704
+ # Whether the account opted out of receiving their tax forms by postal delivery.
2705
+ attr_accessor :consented_to_paperless_delivery
2706
+
2707
+ def initialize(consented_to_paperless_delivery: nil)
2708
+ @consented_to_paperless_delivery = consented_to_paperless_delivery
2709
+ end
2710
+ end
2711
+
2371
2712
  class Treasury < Stripe::RequestParams
2372
2713
  class TosAcceptance < Stripe::RequestParams
2373
2714
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2392,8 +2733,12 @@ module Stripe
2392
2733
  end
2393
2734
  # Settings specific to Bacs Direct Debit payments.
2394
2735
  attr_accessor :bacs_debit_payments
2736
+ # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2737
+ attr_accessor :bank_bca_onboarding
2395
2738
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2396
2739
  attr_accessor :branding
2740
+ # Settings specific to the account's use of the Capital product.
2741
+ attr_accessor :capital
2397
2742
  # Settings specific to the account's use of the Card Issuing product.
2398
2743
  attr_accessor :card_issuing
2399
2744
  # Settings specific to card charging on the account.
@@ -2404,26 +2749,34 @@ module Stripe
2404
2749
  attr_accessor :payments
2405
2750
  # Settings specific to the account's payouts.
2406
2751
  attr_accessor :payouts
2752
+ # Settings specific to the account's tax forms.
2753
+ attr_accessor :tax_forms
2407
2754
  # Settings specific to the account's Treasury FinancialAccounts.
2408
2755
  attr_accessor :treasury
2409
2756
 
2410
2757
  def initialize(
2411
2758
  bacs_debit_payments: nil,
2759
+ bank_bca_onboarding: nil,
2412
2760
  branding: nil,
2761
+ capital: nil,
2413
2762
  card_issuing: nil,
2414
2763
  card_payments: nil,
2415
2764
  invoices: nil,
2416
2765
  payments: nil,
2417
2766
  payouts: nil,
2767
+ tax_forms: nil,
2418
2768
  treasury: nil
2419
2769
  )
2420
2770
  @bacs_debit_payments = bacs_debit_payments
2771
+ @bank_bca_onboarding = bank_bca_onboarding
2421
2772
  @branding = branding
2773
+ @capital = capital
2422
2774
  @card_issuing = card_issuing
2423
2775
  @card_payments = card_payments
2424
2776
  @invoices = invoices
2425
2777
  @payments = payments
2426
2778
  @payouts = payouts
2779
+ @tax_forms = tax_forms
2427
2780
  @treasury = treasury
2428
2781
  end
2429
2782
  end
@@ -2478,6 +2831,8 @@ module Stripe
2478
2831
  attr_accessor :individual
2479
2832
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2480
2833
  attr_accessor :metadata
2834
+ # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2835
+ attr_accessor :risk_controls
2481
2836
  # Options for customizing how the account functions within Stripe.
2482
2837
  attr_accessor :settings
2483
2838
  # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
@@ -2497,6 +2852,7 @@ module Stripe
2497
2852
  groups: nil,
2498
2853
  individual: nil,
2499
2854
  metadata: nil,
2855
+ risk_controls: nil,
2500
2856
  settings: nil,
2501
2857
  tos_acceptance: nil
2502
2858
  )
@@ -2513,6 +2869,7 @@ module Stripe
2513
2869
  @groups = groups
2514
2870
  @individual = individual
2515
2871
  @metadata = metadata
2872
+ @risk_controls = risk_controls
2516
2873
  @settings = settings
2517
2874
  @tos_acceptance = tos_acceptance
2518
2875
  end
@@ -2656,6 +3013,8 @@ module Stripe
2656
3013
  attr_accessor :estimated_worker_count
2657
3014
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
2658
3015
  attr_accessor :mcc
3016
+ # Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
3017
+ attr_accessor :minority_owned_business_designation
2659
3018
  # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
2660
3019
  attr_accessor :monthly_estimated_revenue
2661
3020
  # The customer-facing business name.
@@ -2677,6 +3036,7 @@ module Stripe
2677
3036
  annual_revenue: nil,
2678
3037
  estimated_worker_count: nil,
2679
3038
  mcc: nil,
3039
+ minority_owned_business_designation: nil,
2680
3040
  monthly_estimated_revenue: nil,
2681
3041
  name: nil,
2682
3042
  product_description: nil,
@@ -2689,6 +3049,7 @@ module Stripe
2689
3049
  @annual_revenue = annual_revenue
2690
3050
  @estimated_worker_count = estimated_worker_count
2691
3051
  @mcc = mcc
3052
+ @minority_owned_business_designation = minority_owned_business_designation
2692
3053
  @monthly_estimated_revenue = monthly_estimated_revenue
2693
3054
  @name = name
2694
3055
  @product_description = product_description
@@ -2755,6 +3116,15 @@ module Stripe
2755
3116
  end
2756
3117
  end
2757
3118
 
3119
+ class AutomaticIndirectTax < Stripe::RequestParams
3120
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3121
+ attr_accessor :requested
3122
+
3123
+ def initialize(requested: nil)
3124
+ @requested = requested
3125
+ end
3126
+ end
3127
+
2758
3128
  class BacsDebitPayments < Stripe::RequestParams
2759
3129
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2760
3130
  attr_accessor :requested
@@ -2881,6 +3251,15 @@ module Stripe
2881
3251
  end
2882
3252
  end
2883
3253
 
3254
+ class GopayPayments < Stripe::RequestParams
3255
+ # 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.
3256
+ attr_accessor :requested
3257
+
3258
+ def initialize(requested: nil)
3259
+ @requested = requested
3260
+ end
3261
+ end
3262
+
2884
3263
  class GrabpayPayments < Stripe::RequestParams
2885
3264
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2886
3265
  attr_accessor :requested
@@ -2890,6 +3269,24 @@ module Stripe
2890
3269
  end
2891
3270
  end
2892
3271
 
3272
+ class IdBankTransferPayments < Stripe::RequestParams
3273
+ # 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.
3274
+ attr_accessor :requested
3275
+
3276
+ def initialize(requested: nil)
3277
+ @requested = requested
3278
+ end
3279
+ end
3280
+
3281
+ class IdBankTransferPaymentsBca < Stripe::RequestParams
3282
+ # 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.
3283
+ attr_accessor :requested
3284
+
3285
+ def initialize(requested: nil)
3286
+ @requested = requested
3287
+ end
3288
+ end
3289
+
2893
3290
  class IdealPayments < Stripe::RequestParams
2894
3291
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2895
3292
  attr_accessor :requested
@@ -2980,6 +3377,15 @@ module Stripe
2980
3377
  end
2981
3378
  end
2982
3379
 
3380
+ class MbWayPayments < Stripe::RequestParams
3381
+ # 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.
3382
+ attr_accessor :requested
3383
+
3384
+ def initialize(requested: nil)
3385
+ @requested = requested
3386
+ end
3387
+ end
3388
+
2983
3389
  class MobilepayPayments < Stripe::RequestParams
2984
3390
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2985
3391
  attr_accessor :requested
@@ -3070,6 +3476,24 @@ module Stripe
3070
3476
  end
3071
3477
  end
3072
3478
 
3479
+ class PaypalPayments < Stripe::RequestParams
3480
+ # 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.
3481
+ attr_accessor :requested
3482
+
3483
+ def initialize(requested: nil)
3484
+ @requested = requested
3485
+ end
3486
+ end
3487
+
3488
+ class PaytoPayments < Stripe::RequestParams
3489
+ # 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.
3490
+ attr_accessor :requested
3491
+
3492
+ def initialize(requested: nil)
3493
+ @requested = requested
3494
+ end
3495
+ end
3496
+
3073
3497
  class PromptpayPayments < Stripe::RequestParams
3074
3498
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3075
3499
  attr_accessor :requested
@@ -3079,6 +3503,24 @@ module Stripe
3079
3503
  end
3080
3504
  end
3081
3505
 
3506
+ class QrisPayments < Stripe::RequestParams
3507
+ # 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.
3508
+ attr_accessor :requested
3509
+
3510
+ def initialize(requested: nil)
3511
+ @requested = requested
3512
+ end
3513
+ end
3514
+
3515
+ class RechnungPayments < Stripe::RequestParams
3516
+ # 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.
3517
+ attr_accessor :requested
3518
+
3519
+ def initialize(requested: nil)
3520
+ @requested = requested
3521
+ end
3522
+ end
3523
+
3082
3524
  class RevolutPayPayments < Stripe::RequestParams
3083
3525
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3084
3526
  attr_accessor :requested
@@ -3124,6 +3566,15 @@ module Stripe
3124
3566
  end
3125
3567
  end
3126
3568
 
3569
+ class ShopeepayPayments < Stripe::RequestParams
3570
+ # 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.
3571
+ attr_accessor :requested
3572
+
3573
+ def initialize(requested: nil)
3574
+ @requested = requested
3575
+ end
3576
+ end
3577
+
3127
3578
  class SofortPayments < Stripe::RequestParams
3128
3579
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3129
3580
  attr_accessor :requested
@@ -3133,6 +3584,15 @@ module Stripe
3133
3584
  end
3134
3585
  end
3135
3586
 
3587
+ class StripeBalancePayments < Stripe::RequestParams
3588
+ # 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.
3589
+ attr_accessor :requested
3590
+
3591
+ def initialize(requested: nil)
3592
+ @requested = requested
3593
+ end
3594
+ end
3595
+
3136
3596
  class SwishPayments < Stripe::RequestParams
3137
3597
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3138
3598
  attr_accessor :requested
@@ -3178,6 +3638,33 @@ module Stripe
3178
3638
  end
3179
3639
  end
3180
3640
 
3641
+ class TreasuryEvolve < Stripe::RequestParams
3642
+ # 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.
3643
+ attr_accessor :requested
3644
+
3645
+ def initialize(requested: nil)
3646
+ @requested = requested
3647
+ end
3648
+ end
3649
+
3650
+ class TreasuryFifthThird < Stripe::RequestParams
3651
+ # 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.
3652
+ attr_accessor :requested
3653
+
3654
+ def initialize(requested: nil)
3655
+ @requested = requested
3656
+ end
3657
+ end
3658
+
3659
+ class TreasuryGoldmanSachs < Stripe::RequestParams
3660
+ # 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.
3661
+ attr_accessor :requested
3662
+
3663
+ def initialize(requested: nil)
3664
+ @requested = requested
3665
+ end
3666
+ end
3667
+
3181
3668
  class TwintPayments < Stripe::RequestParams
3182
3669
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3183
3670
  attr_accessor :requested
@@ -3225,6 +3712,8 @@ module Stripe
3225
3712
  attr_accessor :amazon_pay_payments
3226
3713
  # The au_becs_debit_payments capability.
3227
3714
  attr_accessor :au_becs_debit_payments
3715
+ # The automatic_indirect_tax capability.
3716
+ attr_accessor :automatic_indirect_tax
3228
3717
  # The bacs_debit_payments capability.
3229
3718
  attr_accessor :bacs_debit_payments
3230
3719
  # The bancontact_payments capability.
@@ -3253,8 +3742,14 @@ module Stripe
3253
3742
  attr_accessor :gb_bank_transfer_payments
3254
3743
  # The giropay_payments capability.
3255
3744
  attr_accessor :giropay_payments
3745
+ # The gopay_payments capability.
3746
+ attr_accessor :gopay_payments
3256
3747
  # The grabpay_payments capability.
3257
3748
  attr_accessor :grabpay_payments
3749
+ # The id_bank_transfer_payments capability.
3750
+ attr_accessor :id_bank_transfer_payments
3751
+ # The id_bank_transfer_payments_bca capability.
3752
+ attr_accessor :id_bank_transfer_payments_bca
3258
3753
  # The ideal_payments capability.
3259
3754
  attr_accessor :ideal_payments
3260
3755
  # The india_international_payments capability.
@@ -3275,6 +3770,8 @@ module Stripe
3275
3770
  attr_accessor :legacy_payments
3276
3771
  # The link_payments capability.
3277
3772
  attr_accessor :link_payments
3773
+ # The mb_way_payments capability.
3774
+ attr_accessor :mb_way_payments
3278
3775
  # The mobilepay_payments capability.
3279
3776
  attr_accessor :mobilepay_payments
3280
3777
  # The multibanco_payments capability.
@@ -3295,8 +3792,16 @@ module Stripe
3295
3792
  attr_accessor :payco_payments
3296
3793
  # The paynow_payments capability.
3297
3794
  attr_accessor :paynow_payments
3795
+ # The paypal_payments capability.
3796
+ attr_accessor :paypal_payments
3797
+ # The payto_payments capability.
3798
+ attr_accessor :payto_payments
3298
3799
  # The promptpay_payments capability.
3299
3800
  attr_accessor :promptpay_payments
3801
+ # The qris_payments capability.
3802
+ attr_accessor :qris_payments
3803
+ # The rechnung_payments capability.
3804
+ attr_accessor :rechnung_payments
3300
3805
  # The revolut_pay_payments capability.
3301
3806
  attr_accessor :revolut_pay_payments
3302
3807
  # The samsung_pay_payments capability.
@@ -3307,8 +3812,12 @@ module Stripe
3307
3812
  attr_accessor :sepa_bank_transfer_payments
3308
3813
  # The sepa_debit_payments capability.
3309
3814
  attr_accessor :sepa_debit_payments
3815
+ # The shopeepay_payments capability.
3816
+ attr_accessor :shopeepay_payments
3310
3817
  # The sofort_payments capability.
3311
3818
  attr_accessor :sofort_payments
3819
+ # The stripe_balance_payments capability.
3820
+ attr_accessor :stripe_balance_payments
3312
3821
  # The swish_payments capability.
3313
3822
  attr_accessor :swish_payments
3314
3823
  # The tax_reporting_us_1099_k capability.
@@ -3319,6 +3828,12 @@ module Stripe
3319
3828
  attr_accessor :transfers
3320
3829
  # The treasury capability.
3321
3830
  attr_accessor :treasury
3831
+ # The treasury_evolve capability.
3832
+ attr_accessor :treasury_evolve
3833
+ # The treasury_fifth_third capability.
3834
+ attr_accessor :treasury_fifth_third
3835
+ # The treasury_goldman_sachs capability.
3836
+ attr_accessor :treasury_goldman_sachs
3322
3837
  # The twint_payments capability.
3323
3838
  attr_accessor :twint_payments
3324
3839
  # The us_bank_account_ach_payments capability.
@@ -3335,6 +3850,7 @@ module Stripe
3335
3850
  alma_payments: nil,
3336
3851
  amazon_pay_payments: nil,
3337
3852
  au_becs_debit_payments: nil,
3853
+ automatic_indirect_tax: nil,
3338
3854
  bacs_debit_payments: nil,
3339
3855
  bancontact_payments: nil,
3340
3856
  bank_transfer_payments: nil,
@@ -3349,7 +3865,10 @@ module Stripe
3349
3865
  fpx_payments: nil,
3350
3866
  gb_bank_transfer_payments: nil,
3351
3867
  giropay_payments: nil,
3868
+ gopay_payments: nil,
3352
3869
  grabpay_payments: nil,
3870
+ id_bank_transfer_payments: nil,
3871
+ id_bank_transfer_payments_bca: nil,
3353
3872
  ideal_payments: nil,
3354
3873
  india_international_payments: nil,
3355
3874
  jcb_payments: nil,
@@ -3360,6 +3879,7 @@ module Stripe
3360
3879
  kr_card_payments: nil,
3361
3880
  legacy_payments: nil,
3362
3881
  link_payments: nil,
3882
+ mb_way_payments: nil,
3363
3883
  mobilepay_payments: nil,
3364
3884
  multibanco_payments: nil,
3365
3885
  mx_bank_transfer_payments: nil,
@@ -3370,18 +3890,27 @@ module Stripe
3370
3890
  pay_by_bank_payments: nil,
3371
3891
  payco_payments: nil,
3372
3892
  paynow_payments: nil,
3893
+ paypal_payments: nil,
3894
+ payto_payments: nil,
3373
3895
  promptpay_payments: nil,
3896
+ qris_payments: nil,
3897
+ rechnung_payments: nil,
3374
3898
  revolut_pay_payments: nil,
3375
3899
  samsung_pay_payments: nil,
3376
3900
  satispay_payments: nil,
3377
3901
  sepa_bank_transfer_payments: nil,
3378
3902
  sepa_debit_payments: nil,
3903
+ shopeepay_payments: nil,
3379
3904
  sofort_payments: nil,
3905
+ stripe_balance_payments: nil,
3380
3906
  swish_payments: nil,
3381
3907
  tax_reporting_us_1099_k: nil,
3382
3908
  tax_reporting_us_1099_misc: nil,
3383
3909
  transfers: nil,
3384
3910
  treasury: nil,
3911
+ treasury_evolve: nil,
3912
+ treasury_fifth_third: nil,
3913
+ treasury_goldman_sachs: nil,
3385
3914
  twint_payments: nil,
3386
3915
  us_bank_account_ach_payments: nil,
3387
3916
  us_bank_transfer_payments: nil,
@@ -3393,6 +3922,7 @@ module Stripe
3393
3922
  @alma_payments = alma_payments
3394
3923
  @amazon_pay_payments = amazon_pay_payments
3395
3924
  @au_becs_debit_payments = au_becs_debit_payments
3925
+ @automatic_indirect_tax = automatic_indirect_tax
3396
3926
  @bacs_debit_payments = bacs_debit_payments
3397
3927
  @bancontact_payments = bancontact_payments
3398
3928
  @bank_transfer_payments = bank_transfer_payments
@@ -3407,7 +3937,10 @@ module Stripe
3407
3937
  @fpx_payments = fpx_payments
3408
3938
  @gb_bank_transfer_payments = gb_bank_transfer_payments
3409
3939
  @giropay_payments = giropay_payments
3940
+ @gopay_payments = gopay_payments
3410
3941
  @grabpay_payments = grabpay_payments
3942
+ @id_bank_transfer_payments = id_bank_transfer_payments
3943
+ @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
3411
3944
  @ideal_payments = ideal_payments
3412
3945
  @india_international_payments = india_international_payments
3413
3946
  @jcb_payments = jcb_payments
@@ -3418,6 +3951,7 @@ module Stripe
3418
3951
  @kr_card_payments = kr_card_payments
3419
3952
  @legacy_payments = legacy_payments
3420
3953
  @link_payments = link_payments
3954
+ @mb_way_payments = mb_way_payments
3421
3955
  @mobilepay_payments = mobilepay_payments
3422
3956
  @multibanco_payments = multibanco_payments
3423
3957
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -3428,18 +3962,27 @@ module Stripe
3428
3962
  @pay_by_bank_payments = pay_by_bank_payments
3429
3963
  @payco_payments = payco_payments
3430
3964
  @paynow_payments = paynow_payments
3965
+ @paypal_payments = paypal_payments
3966
+ @payto_payments = payto_payments
3431
3967
  @promptpay_payments = promptpay_payments
3968
+ @qris_payments = qris_payments
3969
+ @rechnung_payments = rechnung_payments
3432
3970
  @revolut_pay_payments = revolut_pay_payments
3433
3971
  @samsung_pay_payments = samsung_pay_payments
3434
3972
  @satispay_payments = satispay_payments
3435
3973
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
3436
3974
  @sepa_debit_payments = sepa_debit_payments
3975
+ @shopeepay_payments = shopeepay_payments
3437
3976
  @sofort_payments = sofort_payments
3977
+ @stripe_balance_payments = stripe_balance_payments
3438
3978
  @swish_payments = swish_payments
3439
3979
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
3440
3980
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
3441
3981
  @transfers = transfers
3442
3982
  @treasury = treasury
3983
+ @treasury_evolve = treasury_evolve
3984
+ @treasury_fifth_third = treasury_fifth_third
3985
+ @treasury_goldman_sachs = treasury_goldman_sachs
3443
3986
  @twint_payments = twint_payments
3444
3987
  @us_bank_account_ach_payments = us_bank_account_ach_payments
3445
3988
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -3771,6 +4314,30 @@ module Stripe
3771
4314
  end
3772
4315
 
3773
4316
  class Controller < Stripe::RequestParams
4317
+ class Application < Stripe::RequestParams
4318
+ # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
4319
+ attr_accessor :loss_liable
4320
+ # Whether the controller owns onboarding for this account.
4321
+ attr_accessor :onboarding_owner
4322
+ # Whether the controller has pricing controls for this account.
4323
+ attr_accessor :pricing_controls
4324
+
4325
+ def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
4326
+ @loss_liable = loss_liable
4327
+ @onboarding_owner = onboarding_owner
4328
+ @pricing_controls = pricing_controls
4329
+ end
4330
+ end
4331
+
4332
+ class Dashboard < Stripe::RequestParams
4333
+ # 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`.
4334
+ attr_accessor :type
4335
+
4336
+ def initialize(type: nil)
4337
+ @type = type
4338
+ end
4339
+ end
4340
+
3774
4341
  class Fees < Stripe::RequestParams
3775
4342
  # A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
3776
4343
  attr_accessor :payer
@@ -3797,6 +4364,10 @@ module Stripe
3797
4364
  @type = type
3798
4365
  end
3799
4366
  end
4367
+ # A hash of configuration describing the Connect application that controls the account.
4368
+ attr_accessor :application
4369
+ # Properties of the account's dashboard.
4370
+ attr_accessor :dashboard
3800
4371
  # A hash of configuration for who pays Stripe fees for product usage on this account.
3801
4372
  attr_accessor :fees
3802
4373
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -3806,7 +4377,16 @@ module Stripe
3806
4377
  # A hash of configuration for Stripe-hosted dashboards.
3807
4378
  attr_accessor :stripe_dashboard
3808
4379
 
3809
- def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
4380
+ def initialize(
4381
+ application: nil,
4382
+ dashboard: nil,
4383
+ fees: nil,
4384
+ losses: nil,
4385
+ requirement_collection: nil,
4386
+ stripe_dashboard: nil
4387
+ )
4388
+ @application = application
4389
+ @dashboard = dashboard
3810
4390
  @fees = fees
3811
4391
  @losses = losses
3812
4392
  @requirement_collection = requirement_collection
@@ -4240,6 +4820,37 @@ module Stripe
4240
4820
  end
4241
4821
  end
4242
4822
 
4823
+ class RiskControls < Stripe::RequestParams
4824
+ class Charges < Stripe::RequestParams
4825
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4826
+ # There can be a delay before the risk control is paused or unpaused.
4827
+ attr_accessor :pause_requested
4828
+
4829
+ def initialize(pause_requested: nil)
4830
+ @pause_requested = pause_requested
4831
+ end
4832
+ end
4833
+
4834
+ class Payouts < Stripe::RequestParams
4835
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4836
+ # There can be a delay before the risk control is paused or unpaused.
4837
+ attr_accessor :pause_requested
4838
+
4839
+ def initialize(pause_requested: nil)
4840
+ @pause_requested = pause_requested
4841
+ end
4842
+ end
4843
+ # 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).
4844
+ attr_accessor :charges
4845
+ # 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).
4846
+ attr_accessor :payouts
4847
+
4848
+ def initialize(charges: nil, payouts: nil)
4849
+ @charges = charges
4850
+ @payouts = payouts
4851
+ end
4852
+ end
4853
+
4243
4854
  class Settings < Stripe::RequestParams
4244
4855
  class BacsDebitPayments < Stripe::RequestParams
4245
4856
  # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -4250,6 +4861,18 @@ module Stripe
4250
4861
  end
4251
4862
  end
4252
4863
 
4864
+ class BankBcaOnboarding < Stripe::RequestParams
4865
+ # Bank BCA business account holder name
4866
+ attr_accessor :account_holder_name
4867
+ # Bank BCA business account number
4868
+ attr_accessor :business_account_number
4869
+
4870
+ def initialize(account_holder_name: nil, business_account_number: nil)
4871
+ @account_holder_name = account_holder_name
4872
+ @business_account_number = business_account_number
4873
+ end
4874
+ end
4875
+
4253
4876
  class Branding < Stripe::RequestParams
4254
4877
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
4255
4878
  attr_accessor :icon
@@ -4268,6 +4891,18 @@ module Stripe
4268
4891
  end
4269
4892
  end
4270
4893
 
4894
+ class Capital < Stripe::RequestParams
4895
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
4896
+ attr_accessor :payout_destination
4897
+ # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4898
+ attr_accessor :payout_destination_selector
4899
+
4900
+ def initialize(payout_destination: nil, payout_destination_selector: nil)
4901
+ @payout_destination = payout_destination
4902
+ @payout_destination_selector = payout_destination_selector
4903
+ end
4904
+ end
4905
+
4271
4906
  class CardIssuing < Stripe::RequestParams
4272
4907
  class TosAcceptance < Stripe::RequestParams
4273
4908
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4385,6 +5020,15 @@ module Stripe
4385
5020
  end
4386
5021
  end
4387
5022
 
5023
+ class TaxForms < Stripe::RequestParams
5024
+ # Whether the account opted out of receiving their tax forms by postal delivery.
5025
+ attr_accessor :consented_to_paperless_delivery
5026
+
5027
+ def initialize(consented_to_paperless_delivery: nil)
5028
+ @consented_to_paperless_delivery = consented_to_paperless_delivery
5029
+ end
5030
+ end
5031
+
4388
5032
  class Treasury < Stripe::RequestParams
4389
5033
  class TosAcceptance < Stripe::RequestParams
4390
5034
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4409,8 +5053,12 @@ module Stripe
4409
5053
  end
4410
5054
  # Settings specific to Bacs Direct Debit.
4411
5055
  attr_accessor :bacs_debit_payments
5056
+ # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
5057
+ attr_accessor :bank_bca_onboarding
4412
5058
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
4413
5059
  attr_accessor :branding
5060
+ # Settings specific to the account's use of the Capital product.
5061
+ attr_accessor :capital
4414
5062
  # Settings specific to the account's use of the Card Issuing product.
4415
5063
  attr_accessor :card_issuing
4416
5064
  # Settings specific to card charging on the account.
@@ -4421,26 +5069,34 @@ module Stripe
4421
5069
  attr_accessor :payments
4422
5070
  # Settings specific to the account's payouts.
4423
5071
  attr_accessor :payouts
5072
+ # Settings specific to the account's tax forms.
5073
+ attr_accessor :tax_forms
4424
5074
  # Settings specific to the account's Treasury FinancialAccounts.
4425
5075
  attr_accessor :treasury
4426
5076
 
4427
5077
  def initialize(
4428
5078
  bacs_debit_payments: nil,
5079
+ bank_bca_onboarding: nil,
4429
5080
  branding: nil,
5081
+ capital: nil,
4430
5082
  card_issuing: nil,
4431
5083
  card_payments: nil,
4432
5084
  invoices: nil,
4433
5085
  payments: nil,
4434
5086
  payouts: nil,
5087
+ tax_forms: nil,
4435
5088
  treasury: nil
4436
5089
  )
4437
5090
  @bacs_debit_payments = bacs_debit_payments
5091
+ @bank_bca_onboarding = bank_bca_onboarding
4438
5092
  @branding = branding
5093
+ @capital = capital
4439
5094
  @card_issuing = card_issuing
4440
5095
  @card_payments = card_payments
4441
5096
  @invoices = invoices
4442
5097
  @payments = payments
4443
5098
  @payouts = payouts
5099
+ @tax_forms = tax_forms
4444
5100
  @treasury = treasury
4445
5101
  end
4446
5102
  end
@@ -4499,6 +5155,8 @@ module Stripe
4499
5155
  attr_accessor :individual
4500
5156
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
4501
5157
  attr_accessor :metadata
5158
+ # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
5159
+ attr_accessor :risk_controls
4502
5160
  # Options for customizing how the account functions within Stripe.
4503
5161
  attr_accessor :settings
4504
5162
  # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
@@ -4522,6 +5180,7 @@ module Stripe
4522
5180
  groups: nil,
4523
5181
  individual: nil,
4524
5182
  metadata: nil,
5183
+ risk_controls: nil,
4525
5184
  settings: nil,
4526
5185
  tos_acceptance: nil,
4527
5186
  type: nil
@@ -4541,6 +5200,7 @@ module Stripe
4541
5200
  @groups = groups
4542
5201
  @individual = individual
4543
5202
  @metadata = metadata
5203
+ @risk_controls = risk_controls
4544
5204
  @settings = settings
4545
5205
  @tos_acceptance = tos_acceptance
4546
5206
  @type = type
@@ -4659,6 +5319,8 @@ module Stripe
4659
5319
  attr_reader :payouts_enabled
4660
5320
  # Attribute for field requirements
4661
5321
  attr_reader :requirements
5322
+ # Attribute for field risk_controls
5323
+ attr_reader :risk_controls
4662
5324
  # Options for customizing how the account functions within Stripe.
4663
5325
  attr_reader :settings
4664
5326
  # Attribute for field tos_acceptance