stripe 15.3.0 → 15.4.0.pre.beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (589) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -1
  3. data/CHANGELOG.md +1594 -667
  4. data/README.md +1 -1
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_requestor.rb +28 -0
  7. data/lib/stripe/api_version.rb +1 -2
  8. data/lib/stripe/errors.rb +54 -0
  9. data/lib/stripe/event_types.rb +98 -0
  10. data/lib/stripe/events/v2_core_account_closed_event.rb +21 -0
  11. data/lib/stripe/events/v2_core_account_created_event.rb +21 -0
  12. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
  13. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
  14. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
  15. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
  16. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
  17. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
  18. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +21 -0
  19. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
  20. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
  21. data/lib/stripe/events/v2_core_account_link_completed_event.rb +13 -0
  22. data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
  23. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
  24. data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
  25. data/lib/stripe/events/v2_core_account_updated_event.rb +21 -0
  26. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
  27. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
  28. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +21 -0
  29. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
  30. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
  31. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
  32. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
  33. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
  34. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
  35. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
  36. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
  37. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
  38. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
  39. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
  40. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
  41. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
  42. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +21 -0
  43. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
  44. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
  45. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
  46. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
  47. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
  48. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +21 -0
  49. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
  50. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
  51. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
  52. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
  53. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
  54. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
  55. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
  56. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
  57. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
  58. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +21 -0
  59. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
  60. data/lib/stripe/events/v2_off_session_payment_requires_capture_event.rb +21 -0
  61. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +21 -0
  62. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +21 -0
  63. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +21 -0
  64. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +21 -0
  65. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +21 -0
  66. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +21 -0
  67. data/lib/stripe/object_types.rb +50 -0
  68. data/lib/stripe/resources/account.rb +653 -1
  69. data/lib/stripe/resources/account_notice.rb +123 -0
  70. data/lib/stripe/resources/account_session.rb +256 -1
  71. data/lib/stripe/resources/balance_settings.rb +105 -0
  72. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
  73. data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
  74. data/lib/stripe/resources/billing/credit_grant.rb +10 -0
  75. data/lib/stripe/resources/billing_portal/session.rb +6 -0
  76. data/lib/stripe/resources/capital/financing_offer.rb +179 -0
  77. data/lib/stripe/resources/capital/financing_summary.rb +55 -0
  78. data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
  79. data/lib/stripe/resources/card.rb +2 -0
  80. data/lib/stripe/resources/cash_balance.rb +2 -0
  81. data/lib/stripe/resources/charge.rb +1538 -0
  82. data/lib/stripe/resources/checkout/session.rb +326 -2
  83. data/lib/stripe/resources/confirmation_token.rb +170 -0
  84. data/lib/stripe/resources/coupon.rb +30 -1
  85. data/lib/stripe/resources/credit_note.rb +6 -0
  86. data/lib/stripe/resources/credit_note_line_item.rb +9 -0
  87. data/lib/stripe/resources/customer.rb +2 -0
  88. data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
  89. data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
  90. data/lib/stripe/resources/customer_session.rb +6 -1
  91. data/lib/stripe/resources/discount.rb +2 -0
  92. data/lib/stripe/resources/dispute.rb +2 -0
  93. data/lib/stripe/resources/event.rb +31 -0
  94. data/lib/stripe/resources/financial_connections/account.rb +22 -1
  95. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
  96. data/lib/stripe/resources/financial_connections/institution.rb +92 -0
  97. data/lib/stripe/resources/financial_connections/session.rb +62 -2
  98. data/lib/stripe/resources/fx_quote.rb +184 -0
  99. data/lib/stripe/resources/identity/verification_session.rb +10 -0
  100. data/lib/stripe/resources/invoice.rb +1063 -16
  101. data/lib/stripe/resources/invoice_item.rb +78 -2
  102. data/lib/stripe/resources/invoice_line_item.rb +55 -1
  103. data/lib/stripe/resources/invoice_payment.rb +2 -53
  104. data/lib/stripe/resources/issuing/cardholder.rb +2 -1
  105. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +602 -0
  106. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +82 -0
  107. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +86 -0
  108. data/lib/stripe/resources/issuing/settlement.rb +53 -0
  109. data/lib/stripe/resources/issuing/transaction.rb +6 -0
  110. data/lib/stripe/resources/line_item.rb +37 -0
  111. data/lib/stripe/resources/mandate.rb +24 -0
  112. data/lib/stripe/resources/margin.rb +115 -0
  113. data/lib/stripe/resources/order.rb +2958 -0
  114. data/lib/stripe/resources/payment_attempt_record.rb +1099 -0
  115. data/lib/stripe/resources/payment_intent.rb +8540 -3584
  116. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +72 -0
  117. data/lib/stripe/resources/payment_method.rb +192 -1
  118. data/lib/stripe/resources/payment_method_configuration.rb +295 -0
  119. data/lib/stripe/resources/payment_record.rb +1628 -0
  120. data/lib/stripe/resources/payout.rb +6 -0
  121. data/lib/stripe/resources/price.rb +30 -0
  122. data/lib/stripe/resources/privacy/redaction_job.rb +298 -0
  123. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +33 -0
  124. data/lib/stripe/resources/promotion_code.rb +10 -0
  125. data/lib/stripe/resources/quote.rb +2038 -7
  126. data/lib/stripe/resources/quote_line.rb +274 -0
  127. data/lib/stripe/resources/quote_preview_invoice.rb +663 -0
  128. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +371 -0
  129. data/lib/stripe/resources/refund.rb +9 -0
  130. data/lib/stripe/resources/setup_attempt.rb +21 -0
  131. data/lib/stripe/resources/setup_intent.rb +578 -9
  132. data/lib/stripe/resources/source.rb +29 -0
  133. data/lib/stripe/resources/subscription.rb +288 -9
  134. data/lib/stripe/resources/subscription_item.rb +84 -3
  135. data/lib/stripe/resources/subscription_schedule.rb +1007 -10
  136. data/lib/stripe/resources/tax/association.rb +66 -0
  137. data/lib/stripe/resources/tax/form.rb +211 -0
  138. data/lib/stripe/resources/tax_id.rb +12 -2
  139. data/lib/stripe/resources/terminal/reader.rb +8 -0
  140. data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
  141. data/lib/stripe/resources/transfer.rb +6 -0
  142. data/lib/stripe/resources/treasury/financial_account.rb +22 -3
  143. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  144. data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
  145. data/lib/stripe/resources/treasury/received_credit.rb +38 -1
  146. data/lib/stripe/resources/treasury/received_debit.rb +40 -1
  147. data/lib/stripe/resources/v2/core/account.rb +1755 -0
  148. data/lib/stripe/resources/v2/core/account_link.rb +56 -0
  149. data/lib/stripe/resources/v2/core/person.rb +276 -0
  150. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +74 -0
  151. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +39 -0
  152. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +20 -0
  153. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +22 -0
  154. data/lib/stripe/resources/v2/money_management/adjustment.rb +51 -0
  155. data/lib/stripe/resources/v2/money_management/financial_account.rb +58 -0
  156. data/lib/stripe/resources/v2/money_management/financial_address.rb +68 -0
  157. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +94 -0
  158. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +129 -0
  159. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +82 -0
  160. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +45 -0
  161. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +117 -0
  162. data/lib/stripe/resources/v2/money_management/payout_method.rb +75 -0
  163. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +49 -0
  164. data/lib/stripe/resources/v2/money_management/received_credit.rb +122 -0
  165. data/lib/stripe/resources/v2/money_management/received_debit.rb +84 -0
  166. data/lib/stripe/resources/v2/money_management/transaction.rb +78 -0
  167. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +68 -0
  168. data/lib/stripe/resources/v2/payments/off_session_payment.rb +72 -0
  169. data/lib/stripe/resources.rb +104 -0
  170. data/lib/stripe/services/account_notice_service.rb +101 -0
  171. data/lib/stripe/services/account_service.rb +562 -1
  172. data/lib/stripe/services/account_session_service.rb +226 -1
  173. data/lib/stripe/services/balance_settings_service.rb +96 -0
  174. data/lib/stripe/services/billing/credit_balance_summary_service.rb +4 -1
  175. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
  176. data/lib/stripe/services/billing/credit_grant_service.rb +8 -0
  177. data/lib/stripe/services/billing_portal/session_service.rb +4 -0
  178. data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
  179. data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
  180. data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
  181. data/lib/stripe/services/capital_service.rb +15 -0
  182. data/lib/stripe/services/charge_service.rb +1418 -0
  183. data/lib/stripe/services/checkout/session_service.rb +243 -2
  184. data/lib/stripe/services/coupon_service.rb +17 -1
  185. data/lib/stripe/services/credit_note_service.rb +4 -0
  186. data/lib/stripe/services/customer_session_service.rb +4 -1
  187. data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -122
  188. data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
  189. data/lib/stripe/services/financial_connections/account_service.rb +7 -2
  190. data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
  191. data/lib/stripe/services/financial_connections/session_service.rb +34 -2
  192. data/lib/stripe/services/financial_connections_service.rb +2 -1
  193. data/lib/stripe/services/fx_quote_service.rb +123 -0
  194. data/lib/stripe/services/identity/verification_session_service.rb +8 -0
  195. data/lib/stripe/services/invoice_item_service.rb +74 -2
  196. data/lib/stripe/services/invoice_line_item_service.rb +33 -1
  197. data/lib/stripe/services/invoice_service.rb +1014 -16
  198. data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
  199. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
  200. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
  201. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
  202. data/lib/stripe/services/issuing/transaction_service.rb +4 -0
  203. data/lib/stripe/services/issuing_service.rb +5 -1
  204. data/lib/stripe/services/margin_service.rb +119 -0
  205. data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
  206. data/lib/stripe/services/order_service.rb +2388 -0
  207. data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
  208. data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
  209. data/lib/stripe/services/payment_intent_service.rb +4879 -391
  210. data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
  211. data/lib/stripe/services/payment_method_service.rb +120 -1
  212. data/lib/stripe/services/payment_record_service.rb +542 -0
  213. data/lib/stripe/services/payout_service.rb +4 -0
  214. data/lib/stripe/services/price_service.rb +19 -0
  215. data/lib/stripe/services/privacy/redaction_job_service.rb +240 -0
  216. data/{rbi/stripe/services/tax/calculation_line_item_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +21 -17
  217. data/lib/stripe/services/privacy_service.rb +13 -0
  218. data/lib/stripe/services/promotion_code_service.rb +8 -0
  219. data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
  220. data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
  221. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
  222. data/lib/stripe/services/quote_service.rb +1723 -8
  223. data/lib/stripe/services/setup_intent_service.rb +538 -9
  224. data/lib/stripe/services/subscription_item_service.rb +75 -3
  225. data/lib/stripe/services/subscription_schedule_service.rb +911 -10
  226. data/lib/stripe/services/subscription_service.rb +249 -9
  227. data/lib/stripe/services/tax/association_service.rb +31 -0
  228. data/lib/stripe/services/tax/form_service.rb +100 -0
  229. data/lib/stripe/services/tax_id_service.rb +8 -2
  230. data/lib/stripe/services/tax_service.rb +3 -1
  231. data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
  232. data/lib/stripe/services/terminal_service.rb +2 -1
  233. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +97 -0
  234. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
  235. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
  236. data/lib/stripe/services/transfer_service.rb +4 -0
  237. data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
  238. data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
  239. data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
  240. data/lib/stripe/services/v1_services.rb +11 -2
  241. data/lib/stripe/services/v2/core/account_link_service.rb +76 -0
  242. data/lib/stripe/services/v2/core/account_service.rb +4170 -0
  243. data/lib/stripe/services/v2/core/accounts/person_service.rb +1045 -0
  244. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +130 -0
  245. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +107 -0
  246. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  247. data/lib/stripe/services/v2/core_service.rb +4 -1
  248. data/lib/stripe/services/v2/money_management/adjustment_service.rb +74 -0
  249. data/lib/stripe/services/v2/money_management/financial_account_service.rb +43 -0
  250. data/lib/stripe/services/v2/money_management/financial_address_service.rb +82 -0
  251. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +125 -0
  252. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +95 -0
  253. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +199 -0
  254. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +235 -0
  255. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +172 -0
  256. data/lib/stripe/services/v2/money_management/payout_method_service.rb +90 -0
  257. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
  258. data/lib/stripe/services/v2/money_management/received_credit_service.rb +70 -0
  259. data/lib/stripe/services/v2/money_management/received_debit_service.rb +43 -0
  260. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +69 -0
  261. data/lib/stripe/services/v2/money_management/transaction_service.rb +73 -0
  262. data/lib/stripe/services/v2/money_management_service.rb +31 -0
  263. data/lib/stripe/services/v2/payment_service.rb +15 -0
  264. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +137 -0
  265. data/lib/stripe/services/v2/test_helper_service.rb +15 -0
  266. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +49 -0
  267. data/lib/stripe/services/v2_services.rb +4 -1
  268. data/lib/stripe/services.rb +53 -1
  269. data/lib/stripe/stripe_configuration.rb +3 -1
  270. data/lib/stripe/stripe_object.rb +1 -1
  271. data/lib/stripe/util.rb +7 -1
  272. data/lib/stripe/version.rb +1 -1
  273. data/lib/stripe.rb +53 -0
  274. data/rbi/stripe.rbi +193855 -0
  275. data/stripe.gemspec +4 -1
  276. metadata +161 -324
  277. data/lib/stripe/services/invoice_payment_service.rb +0 -83
  278. data/rbi/stripe/resources/account.rbi +0 -4995
  279. data/rbi/stripe/resources/account_link.rbi +0 -74
  280. data/rbi/stripe/resources/account_session.rbi +0 -1013
  281. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
  282. data/rbi/stripe/resources/application.rbi +0 -20
  283. data/rbi/stripe/resources/application_fee.rbi +0 -118
  284. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  285. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  286. data/rbi/stripe/resources/balance.rbi +0 -235
  287. data/rbi/stripe/resources/balance_transaction.rbi +0 -147
  288. data/rbi/stripe/resources/bank_account.rbi +0 -127
  289. data/rbi/stripe/resources/billing/alert.rbi +0 -201
  290. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  291. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
  292. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
  293. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
  294. data/rbi/stripe/resources/billing/meter.rbi +0 -226
  295. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  296. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  297. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
  298. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -645
  299. data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
  300. data/rbi/stripe/resources/capability.rbi +0 -125
  301. data/rbi/stripe/resources/card.rbi +0 -125
  302. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  303. data/rbi/stripe/resources/charge.rbi +0 -2086
  304. data/rbi/stripe/resources/checkout/session.rbi +0 -4060
  305. data/rbi/stripe/resources/climate/order.rbi +0 -245
  306. data/rbi/stripe/resources/climate/product.rbi +0 -75
  307. data/rbi/stripe/resources/climate/supplier.rbi +0 -72
  308. data/rbi/stripe/resources/confirmation_token.rbi +0 -1818
  309. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  310. data/rbi/stripe/resources/country_spec.rbi +0 -85
  311. data/rbi/stripe/resources/coupon.rbi +0 -250
  312. data/rbi/stripe/resources/credit_note.rbi +0 -752
  313. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
  314. data/rbi/stripe/resources/customer.rbi +0 -1005
  315. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
  316. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  317. data/rbi/stripe/resources/customer_session.rbi +0 -200
  318. data/rbi/stripe/resources/discount.rbi +0 -53
  319. data/rbi/stripe/resources/dispute.rbi +0 -761
  320. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
  321. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  322. data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
  323. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  324. data/rbi/stripe/resources/event.rbi +0 -149
  325. data/rbi/stripe/resources/exchange_rate.rbi +0 -66
  326. data/rbi/stripe/resources/file.rbi +0 -143
  327. data/rbi/stripe/resources/file_link.rbi +0 -141
  328. data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
  329. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  330. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  331. data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
  332. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
  333. data/rbi/stripe/resources/forwarding/request.rbi +0 -216
  334. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  335. data/rbi/stripe/resources/identity/verification_report.rbi +0 -360
  336. data/rbi/stripe/resources/identity/verification_session.rbi +0 -564
  337. data/rbi/stripe/resources/invoice.rbi +0 -3842
  338. data/rbi/stripe/resources/invoice_item.rbi +0 -470
  339. data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
  340. data/rbi/stripe/resources/invoice_payment.rbi +0 -121
  341. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
  342. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
  343. data/rbi/stripe/resources/issuing/card.rbi +0 -741
  344. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
  345. data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
  346. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
  347. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
  348. data/rbi/stripe/resources/issuing/token.rbi +0 -226
  349. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
  350. data/rbi/stripe/resources/line_item.rbi +0 -72
  351. data/rbi/stripe/resources/login_link.rbi +0 -19
  352. data/rbi/stripe/resources/mandate.rbi +0 -191
  353. data/rbi/stripe/resources/payment_intent.rbi +0 -9987
  354. data/rbi/stripe/resources/payment_link.rbi +0 -1801
  355. data/rbi/stripe/resources/payment_method.rbi +0 -1770
  356. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
  357. data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
  358. data/rbi/stripe/resources/payout.rbi +0 -300
  359. data/rbi/stripe/resources/person.rbi +0 -401
  360. data/rbi/stripe/resources/plan.rbi +0 -371
  361. data/rbi/stripe/resources/price.rbi +0 -694
  362. data/rbi/stripe/resources/product.rbi +0 -555
  363. data/rbi/stripe/resources/product_feature.rbi +0 -26
  364. data/rbi/stripe/resources/promotion_code.rbi +0 -261
  365. data/rbi/stripe/resources/quote.rbi +0 -1145
  366. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
  367. data/rbi/stripe/resources/radar/value_list.rbi +0 -168
  368. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
  369. data/rbi/stripe/resources/refund.rbi +0 -523
  370. data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
  371. data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
  372. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  373. data/rbi/stripe/resources/reversal.rbi +0 -51
  374. data/rbi/stripe/resources/review.rbi +0 -154
  375. data/rbi/stripe/resources/setup_attempt.rbi +0 -477
  376. data/rbi/stripe/resources/setup_intent.rbi +0 -3978
  377. data/rbi/stripe/resources/shipping_rate.rbi +0 -305
  378. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
  379. data/rbi/stripe/resources/source.rbi +0 -1496
  380. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  381. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  382. data/rbi/stripe/resources/subscription.rbi +0 -2080
  383. data/rbi/stripe/resources/subscription_item.rbi +0 -404
  384. data/rbi/stripe/resources/subscription_schedule.rbi +0 -1645
  385. data/rbi/stripe/resources/tax/calculation.rbi +0 -478
  386. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
  387. data/rbi/stripe/resources/tax/registration.rbi +0 -2732
  388. data/rbi/stripe/resources/tax/settings.rbi +0 -141
  389. data/rbi/stripe/resources/tax/transaction.rbi +0 -351
  390. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  391. data/rbi/stripe/resources/tax_code.rbi +0 -44
  392. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  393. data/rbi/stripe/resources/tax_id.rbi +0 -165
  394. data/rbi/stripe/resources/tax_rate.rbi +0 -239
  395. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1387
  396. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  397. data/rbi/stripe/resources/terminal/location.rbi +0 -222
  398. data/rbi/stripe/resources/terminal/reader.rbi +0 -994
  399. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
  400. data/rbi/stripe/resources/token.rbi +0 -1283
  401. data/rbi/stripe/resources/topup.rbi +0 -222
  402. data/rbi/stripe/resources/transfer.rbi +0 -199
  403. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
  404. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
  405. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -869
  406. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
  407. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
  408. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
  409. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
  410. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
  411. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
  412. data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
  413. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
  414. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  415. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  416. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  417. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  418. data/rbi/stripe/resources/v2/event.rbi +0 -48
  419. data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
  420. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -168
  421. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  422. data/rbi/stripe/services/account_link_service.rbi +0 -58
  423. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  424. data/rbi/stripe/services/account_person_service.rbi +0 -1011
  425. data/rbi/stripe/services/account_service.rbi +0 -4281
  426. data/rbi/stripe/services/account_session_service.rbi +0 -646
  427. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
  428. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
  429. data/rbi/stripe/services/application_fee_service.rbi +0 -78
  430. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  431. data/rbi/stripe/services/apps_service.rbi +0 -9
  432. data/rbi/stripe/services/balance_service.rbi +0 -21
  433. data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
  434. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  435. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
  436. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  437. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
  438. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
  439. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  440. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  441. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  442. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -511
  443. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
  444. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  445. data/rbi/stripe/services/billing_service.rbi +0 -15
  446. data/rbi/stripe/services/charge_service.rbi +0 -448
  447. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  448. data/rbi/stripe/services/checkout/session_service.rbi +0 -2670
  449. data/rbi/stripe/services/checkout_service.rbi +0 -9
  450. data/rbi/stripe/services/climate/order_service.rbi +0 -142
  451. data/rbi/stripe/services/climate/product_service.rbi +0 -46
  452. data/rbi/stripe/services/climate_service.rbi +0 -11
  453. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  454. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  455. data/rbi/stripe/services/coupon_service.rbi +0 -194
  456. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  457. data/rbi/stripe/services/credit_note_service.rbi +0 -415
  458. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  459. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  460. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  461. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  462. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  463. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
  464. data/rbi/stripe/services/customer_service.rbi +0 -647
  465. data/rbi/stripe/services/customer_session_service.rbi +0 -116
  466. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
  467. data/rbi/stripe/services/dispute_service.rbi +0 -424
  468. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  469. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  470. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  471. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  472. data/rbi/stripe/services/event_service.rbi +0 -83
  473. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  474. data/rbi/stripe/services/file_link_service.rbi +0 -124
  475. data/rbi/stripe/services/file_service.rbi +0 -116
  476. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  477. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
  478. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
  479. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
  480. data/rbi/stripe/services/financial_connections_service.rbi +0 -11
  481. data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
  482. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  483. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
  484. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -339
  485. data/rbi/stripe/services/identity_service.rbi +0 -10
  486. data/rbi/stripe/services/invoice_item_service.rbi +0 -366
  487. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
  488. data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
  489. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  490. data/rbi/stripe/services/invoice_service.rbi +0 -3011
  491. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
  492. data/rbi/stripe/services/issuing/card_service.rbi +0 -495
  493. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
  494. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
  495. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
  496. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  497. data/rbi/stripe/services/issuing/token_service.rbi +0 -99
  498. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
  499. data/rbi/stripe/services/issuing_service.rbi +0 -16
  500. data/rbi/stripe/services/mandate_service.rbi +0 -20
  501. data/rbi/stripe/services/payment_intent_service.rbi +0 -7989
  502. data/rbi/stripe/services/payment_link_service.rbi +0 -1352
  503. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
  504. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
  505. data/rbi/stripe/services/payment_method_service.rbi +0 -781
  506. data/rbi/stripe/services/payout_service.rbi +0 -205
  507. data/rbi/stripe/services/plan_service.rbi +0 -282
  508. data/rbi/stripe/services/price_service.rbi +0 -546
  509. data/rbi/stripe/services/product_feature_service.rbi +0 -67
  510. data/rbi/stripe/services/product_service.rbi +0 -477
  511. data/rbi/stripe/services/promotion_code_service.rbi +0 -214
  512. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  513. data/rbi/stripe/services/quote_service.rbi +0 -699
  514. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
  515. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -109
  516. data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
  517. data/rbi/stripe/services/radar_service.rbi +0 -11
  518. data/rbi/stripe/services/refund_service.rbi +0 -185
  519. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
  520. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  521. data/rbi/stripe/services/reporting_service.rbi +0 -10
  522. data/rbi/stripe/services/review_service.rbi +0 -84
  523. data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
  524. data/rbi/stripe/services/setup_intent_service.rbi +0 -3709
  525. data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
  526. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  527. data/rbi/stripe/services/sigma_service.rbi +0 -9
  528. data/rbi/stripe/services/source_service.rbi +0 -663
  529. data/rbi/stripe/services/subscription_item_service.rbi +0 -350
  530. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1301
  531. data/rbi/stripe/services/subscription_service.rbi +0 -1684
  532. data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
  533. data/rbi/stripe/services/tax/registration_service.rbi +0 -1858
  534. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  535. data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
  536. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  537. data/rbi/stripe/services/tax_id_service.rbi +0 -110
  538. data/rbi/stripe/services/tax_rate_service.rbi +0 -185
  539. data/rbi/stripe/services/tax_service.rbi +0 -12
  540. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1118
  541. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  542. data/rbi/stripe/services/terminal/location_service.rbi +0 -182
  543. data/rbi/stripe/services/terminal/reader_service.rbi +0 -540
  544. data/rbi/stripe/services/terminal_service.rbi +0 -12
  545. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
  546. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  547. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
  548. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  549. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
  550. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
  551. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  552. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  553. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -93
  554. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  555. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
  556. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  557. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
  558. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
  559. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
  560. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
  561. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  562. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  563. data/rbi/stripe/services/token_service.rbi +0 -1257
  564. data/rbi/stripe/services/topup_service.rbi +0 -176
  565. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
  566. data/rbi/stripe/services/transfer_service.rbi +0 -152
  567. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  568. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  569. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
  570. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
  571. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  572. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
  573. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
  574. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
  575. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  576. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
  577. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
  578. data/rbi/stripe/services/treasury_service.rbi +0 -18
  579. data/rbi/stripe/services/v1_services.rbi +0 -77
  580. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  581. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  582. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -18
  583. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  584. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  585. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -192
  586. data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
  587. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  588. data/rbi/stripe/services/v2_services.rbi +0 -10
  589. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -129
@@ -104,6 +104,8 @@ module Stripe
104
104
  attr_reader :amazon_pay_payments
105
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.
106
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
107
109
  # The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
108
110
  attr_reader :bacs_debit_payments
109
111
  # The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.
@@ -134,8 +136,14 @@ module Stripe
134
136
  attr_reader :gb_bank_transfer_payments
135
137
  # The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
136
138
  attr_reader :giropay_payments
139
+ # The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
140
+ attr_reader :gopay_payments
137
141
  # The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
138
142
  attr_reader :grabpay_payments
143
+ # The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
144
+ attr_reader :id_bank_transfer_payments
145
+ # The status of Bank BCA onboarding of the account.
146
+ attr_reader :id_bank_transfer_payments_bca
139
147
  # The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
140
148
  attr_reader :ideal_payments
141
149
  # The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.
@@ -156,6 +164,8 @@ module Stripe
156
164
  attr_reader :legacy_payments
157
165
  # The status of the link_payments capability of the account, or whether the account can directly process Link charges.
158
166
  attr_reader :link_payments
167
+ # The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
168
+ attr_reader :mb_way_payments
159
169
  # The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
160
170
  attr_reader :mobilepay_payments
161
171
  # The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.
@@ -176,10 +186,18 @@ module Stripe
176
186
  attr_reader :payco_payments
177
187
  # The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
178
188
  attr_reader :paynow_payments
189
+ # The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
190
+ attr_reader :paypal_payments
191
+ # The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
192
+ attr_reader :payto_payments
179
193
  # The status of the pix payments capability of the account, or whether the account can directly process pix charges.
180
194
  attr_reader :pix_payments
181
195
  # The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
182
196
  attr_reader :promptpay_payments
197
+ # The status of the Qris capability of the account, or whether the account can directly process Qris payments.
198
+ attr_reader :qris_payments
199
+ # The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
200
+ attr_reader :rechnung_payments
183
201
  # The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
184
202
  attr_reader :revolut_pay_payments
185
203
  # The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
@@ -190,8 +208,12 @@ module Stripe
190
208
  attr_reader :sepa_bank_transfer_payments
191
209
  # The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
192
210
  attr_reader :sepa_debit_payments
211
+ # The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
212
+ attr_reader :shopeepay_payments
193
213
  # The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
194
214
  attr_reader :sofort_payments
215
+ # The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
216
+ attr_reader :stripe_balance_payments
195
217
  # The status of the Swish capability of the account, or whether the account can directly process Swish payments.
196
218
  attr_reader :swish_payments
197
219
  # The status of the tax reporting 1099-K (US) capability of the account.
@@ -202,6 +224,12 @@ module Stripe
202
224
  attr_reader :transfers
203
225
  # The status of the banking capability, or whether the account can have bank accounts.
204
226
  attr_reader :treasury
227
+ # The status of the treasury_evolve capability of the account.
228
+ attr_reader :treasury_evolve
229
+ # The status of the treasury_fifth_third capability of the account.
230
+ attr_reader :treasury_fifth_third
231
+ # The status of the treasury_goldman_sachs capability of the account.
232
+ attr_reader :treasury_goldman_sachs
205
233
  # The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
206
234
  attr_reader :twint_payments
207
235
  # The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
@@ -348,6 +376,20 @@ module Stripe
348
376
  end
349
377
 
350
378
  class Controller < Stripe::StripeObject
379
+ class Application < Stripe::StripeObject
380
+ # `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
381
+ attr_reader :loss_liable
382
+ # `true` if the Connect application is responsible for onboarding the account.
383
+ attr_reader :onboarding_owner
384
+ # `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
385
+ attr_reader :pricing_controls
386
+ end
387
+
388
+ class Dashboard < Stripe::StripeObject
389
+ # Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
390
+ attr_reader :type
391
+ end
392
+
351
393
  class Fees < Stripe::StripeObject
352
394
  # 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).
353
395
  attr_reader :payer
@@ -362,6 +404,10 @@ module Stripe
362
404
  # A value indicating the Stripe dashboard this account has access to independent of the Connect application.
363
405
  attr_reader :type
364
406
  end
407
+ # Attribute for field application
408
+ attr_reader :application
409
+ # Attribute for field dashboard
410
+ attr_reader :dashboard
365
411
  # Attribute for field fees
366
412
  attr_reader :fees
367
413
  # `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.
@@ -449,6 +495,24 @@ module Stripe
449
495
  attr_reader :pending_verification
450
496
  end
451
497
 
498
+ class RiskControls < Stripe::StripeObject
499
+ class Charges < Stripe::StripeObject
500
+ # Whether a pause of the risk control has been requested.
501
+ attr_reader :pause_requested
502
+ end
503
+
504
+ class Payouts < Stripe::StripeObject
505
+ # Whether a pause of the risk control has been requested.
506
+ attr_reader :pause_requested
507
+ end
508
+ # Attribute for field charges
509
+ attr_reader :charges
510
+ # Attribute for field payouts
511
+ attr_reader :payouts
512
+ # 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/)
513
+ attr_reader :rejected_reason
514
+ end
515
+
452
516
  class Settings < Stripe::StripeObject
453
517
  class BacsDebitPayments < Stripe::StripeObject
454
518
  # 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.
@@ -457,6 +521,13 @@ module Stripe
457
521
  attr_reader :service_user_number
458
522
  end
459
523
 
524
+ class BankBcaOnboarding < Stripe::StripeObject
525
+ # Bank BCA business account holder name.
526
+ attr_reader :account_holder_name
527
+ # Bank BCA business account number.
528
+ attr_reader :business_account_number
529
+ end
530
+
460
531
  class Branding < Stripe::StripeObject
461
532
  # (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.
462
533
  attr_reader :icon
@@ -468,6 +539,13 @@ module Stripe
468
539
  attr_reader :secondary_color
469
540
  end
470
541
 
542
+ class Capital < Stripe::StripeObject
543
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
544
+ attr_reader :payout_destination
545
+ # Per-currency mapping of all destination accounts eligible to receive loan payouts.
546
+ attr_reader :payout_destination_selector
547
+ end
548
+
471
549
  class CardIssuing < Stripe::StripeObject
472
550
  class TosAcceptance < Stripe::StripeObject
473
551
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -553,6 +631,11 @@ module Stripe
553
631
  attr_reader :creditor_id
554
632
  end
555
633
 
634
+ class TaxForms < Stripe::StripeObject
635
+ # Whether the account opted out of receiving their tax forms by postal delivery.
636
+ attr_reader :consented_to_paperless_delivery
637
+ end
638
+
556
639
  class Treasury < Stripe::StripeObject
557
640
  class TosAcceptance < Stripe::StripeObject
558
641
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -567,8 +650,12 @@ module Stripe
567
650
  end
568
651
  # Attribute for field bacs_debit_payments
569
652
  attr_reader :bacs_debit_payments
653
+ # Attribute for field bank_bca_onboarding
654
+ attr_reader :bank_bca_onboarding
570
655
  # Attribute for field branding
571
656
  attr_reader :branding
657
+ # Attribute for field capital
658
+ attr_reader :capital
572
659
  # Attribute for field card_issuing
573
660
  attr_reader :card_issuing
574
661
  # Attribute for field card_payments
@@ -583,6 +670,8 @@ module Stripe
583
670
  attr_reader :payouts
584
671
  # Attribute for field sepa_debit_payments
585
672
  attr_reader :sepa_debit_payments
673
+ # Attribute for field tax_forms
674
+ attr_reader :tax_forms
586
675
  # Attribute for field treasury
587
676
  attr_reader :treasury
588
677
  end
@@ -803,6 +892,15 @@ module Stripe
803
892
  end
804
893
  end
805
894
 
895
+ class AutomaticIndirectTax < Stripe::RequestParams
896
+ # 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.
897
+ attr_accessor :requested
898
+
899
+ def initialize(requested: nil)
900
+ @requested = requested
901
+ end
902
+ end
903
+
806
904
  class BacsDebitPayments < Stripe::RequestParams
807
905
  # 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.
808
906
  attr_accessor :requested
@@ -938,6 +1036,15 @@ module Stripe
938
1036
  end
939
1037
  end
940
1038
 
1039
+ class GopayPayments < 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
+
941
1048
  class GrabpayPayments < Stripe::RequestParams
942
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.
943
1050
  attr_accessor :requested
@@ -947,6 +1054,24 @@ module Stripe
947
1054
  end
948
1055
  end
949
1056
 
1057
+ class IdBankTransferPayments < Stripe::RequestParams
1058
+ # 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.
1059
+ attr_accessor :requested
1060
+
1061
+ def initialize(requested: nil)
1062
+ @requested = requested
1063
+ end
1064
+ end
1065
+
1066
+ class IdBankTransferPaymentsBca < Stripe::RequestParams
1067
+ # 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.
1068
+ attr_accessor :requested
1069
+
1070
+ def initialize(requested: nil)
1071
+ @requested = requested
1072
+ end
1073
+ end
1074
+
950
1075
  class IdealPayments < Stripe::RequestParams
951
1076
  # 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.
952
1077
  attr_accessor :requested
@@ -1037,6 +1162,15 @@ module Stripe
1037
1162
  end
1038
1163
  end
1039
1164
 
1165
+ class MbWayPayments < Stripe::RequestParams
1166
+ # 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.
1167
+ attr_accessor :requested
1168
+
1169
+ def initialize(requested: nil)
1170
+ @requested = requested
1171
+ end
1172
+ end
1173
+
1040
1174
  class MobilepayPayments < Stripe::RequestParams
1041
1175
  # 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.
1042
1176
  attr_accessor :requested
@@ -1127,6 +1261,24 @@ module Stripe
1127
1261
  end
1128
1262
  end
1129
1263
 
1264
+ class PaypalPayments < 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 PaytoPayments < 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
+
1130
1282
  class PixPayments < Stripe::RequestParams
1131
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.
1132
1284
  attr_accessor :requested
@@ -1145,6 +1297,24 @@ module Stripe
1145
1297
  end
1146
1298
  end
1147
1299
 
1300
+ class QrisPayments < Stripe::RequestParams
1301
+ # 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.
1302
+ attr_accessor :requested
1303
+
1304
+ def initialize(requested: nil)
1305
+ @requested = requested
1306
+ end
1307
+ end
1308
+
1309
+ class RechnungPayments < Stripe::RequestParams
1310
+ # 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.
1311
+ attr_accessor :requested
1312
+
1313
+ def initialize(requested: nil)
1314
+ @requested = requested
1315
+ end
1316
+ end
1317
+
1148
1318
  class RevolutPayPayments < Stripe::RequestParams
1149
1319
  # 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.
1150
1320
  attr_accessor :requested
@@ -1190,6 +1360,15 @@ module Stripe
1190
1360
  end
1191
1361
  end
1192
1362
 
1363
+ class ShopeepayPayments < Stripe::RequestParams
1364
+ # 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.
1365
+ attr_accessor :requested
1366
+
1367
+ def initialize(requested: nil)
1368
+ @requested = requested
1369
+ end
1370
+ end
1371
+
1193
1372
  class SofortPayments < Stripe::RequestParams
1194
1373
  # 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.
1195
1374
  attr_accessor :requested
@@ -1199,6 +1378,15 @@ module Stripe
1199
1378
  end
1200
1379
  end
1201
1380
 
1381
+ class StripeBalancePayments < Stripe::RequestParams
1382
+ # 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.
1383
+ attr_accessor :requested
1384
+
1385
+ def initialize(requested: nil)
1386
+ @requested = requested
1387
+ end
1388
+ end
1389
+
1202
1390
  class SwishPayments < Stripe::RequestParams
1203
1391
  # 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.
1204
1392
  attr_accessor :requested
@@ -1244,6 +1432,33 @@ module Stripe
1244
1432
  end
1245
1433
  end
1246
1434
 
1435
+ class TreasuryEvolve < Stripe::RequestParams
1436
+ # 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.
1437
+ attr_accessor :requested
1438
+
1439
+ def initialize(requested: nil)
1440
+ @requested = requested
1441
+ end
1442
+ end
1443
+
1444
+ class TreasuryFifthThird < Stripe::RequestParams
1445
+ # 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.
1446
+ attr_accessor :requested
1447
+
1448
+ def initialize(requested: nil)
1449
+ @requested = requested
1450
+ end
1451
+ end
1452
+
1453
+ class TreasuryGoldmanSachs < Stripe::RequestParams
1454
+ # 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.
1455
+ attr_accessor :requested
1456
+
1457
+ def initialize(requested: nil)
1458
+ @requested = requested
1459
+ end
1460
+ end
1461
+
1247
1462
  class TwintPayments < Stripe::RequestParams
1248
1463
  # 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.
1249
1464
  attr_accessor :requested
@@ -1291,6 +1506,8 @@ module Stripe
1291
1506
  attr_accessor :amazon_pay_payments
1292
1507
  # The au_becs_debit_payments capability.
1293
1508
  attr_accessor :au_becs_debit_payments
1509
+ # The automatic_indirect_tax capability.
1510
+ attr_accessor :automatic_indirect_tax
1294
1511
  # The bacs_debit_payments capability.
1295
1512
  attr_accessor :bacs_debit_payments
1296
1513
  # The bancontact_payments capability.
@@ -1321,8 +1538,14 @@ module Stripe
1321
1538
  attr_accessor :gb_bank_transfer_payments
1322
1539
  # The giropay_payments capability.
1323
1540
  attr_accessor :giropay_payments
1541
+ # The gopay_payments capability.
1542
+ attr_accessor :gopay_payments
1324
1543
  # The grabpay_payments capability.
1325
1544
  attr_accessor :grabpay_payments
1545
+ # The id_bank_transfer_payments capability.
1546
+ attr_accessor :id_bank_transfer_payments
1547
+ # The id_bank_transfer_payments_bca capability.
1548
+ attr_accessor :id_bank_transfer_payments_bca
1326
1549
  # The ideal_payments capability.
1327
1550
  attr_accessor :ideal_payments
1328
1551
  # The india_international_payments capability.
@@ -1343,6 +1566,8 @@ module Stripe
1343
1566
  attr_accessor :legacy_payments
1344
1567
  # The link_payments capability.
1345
1568
  attr_accessor :link_payments
1569
+ # The mb_way_payments capability.
1570
+ attr_accessor :mb_way_payments
1346
1571
  # The mobilepay_payments capability.
1347
1572
  attr_accessor :mobilepay_payments
1348
1573
  # The multibanco_payments capability.
@@ -1363,10 +1588,18 @@ module Stripe
1363
1588
  attr_accessor :payco_payments
1364
1589
  # The paynow_payments capability.
1365
1590
  attr_accessor :paynow_payments
1591
+ # The paypal_payments capability.
1592
+ attr_accessor :paypal_payments
1593
+ # The payto_payments capability.
1594
+ attr_accessor :payto_payments
1366
1595
  # The pix_payments capability.
1367
1596
  attr_accessor :pix_payments
1368
1597
  # The promptpay_payments capability.
1369
1598
  attr_accessor :promptpay_payments
1599
+ # The qris_payments capability.
1600
+ attr_accessor :qris_payments
1601
+ # The rechnung_payments capability.
1602
+ attr_accessor :rechnung_payments
1370
1603
  # The revolut_pay_payments capability.
1371
1604
  attr_accessor :revolut_pay_payments
1372
1605
  # The samsung_pay_payments capability.
@@ -1377,8 +1610,12 @@ module Stripe
1377
1610
  attr_accessor :sepa_bank_transfer_payments
1378
1611
  # The sepa_debit_payments capability.
1379
1612
  attr_accessor :sepa_debit_payments
1613
+ # The shopeepay_payments capability.
1614
+ attr_accessor :shopeepay_payments
1380
1615
  # The sofort_payments capability.
1381
1616
  attr_accessor :sofort_payments
1617
+ # The stripe_balance_payments capability.
1618
+ attr_accessor :stripe_balance_payments
1382
1619
  # The swish_payments capability.
1383
1620
  attr_accessor :swish_payments
1384
1621
  # The tax_reporting_us_1099_k capability.
@@ -1389,6 +1626,12 @@ module Stripe
1389
1626
  attr_accessor :transfers
1390
1627
  # The treasury capability.
1391
1628
  attr_accessor :treasury
1629
+ # The treasury_evolve capability.
1630
+ attr_accessor :treasury_evolve
1631
+ # The treasury_fifth_third capability.
1632
+ attr_accessor :treasury_fifth_third
1633
+ # The treasury_goldman_sachs capability.
1634
+ attr_accessor :treasury_goldman_sachs
1392
1635
  # The twint_payments capability.
1393
1636
  attr_accessor :twint_payments
1394
1637
  # The us_bank_account_ach_payments capability.
@@ -1405,6 +1648,7 @@ module Stripe
1405
1648
  alma_payments: nil,
1406
1649
  amazon_pay_payments: nil,
1407
1650
  au_becs_debit_payments: nil,
1651
+ automatic_indirect_tax: nil,
1408
1652
  bacs_debit_payments: nil,
1409
1653
  bancontact_payments: nil,
1410
1654
  bank_transfer_payments: nil,
@@ -1420,7 +1664,10 @@ module Stripe
1420
1664
  fpx_payments: nil,
1421
1665
  gb_bank_transfer_payments: nil,
1422
1666
  giropay_payments: nil,
1667
+ gopay_payments: nil,
1423
1668
  grabpay_payments: nil,
1669
+ id_bank_transfer_payments: nil,
1670
+ id_bank_transfer_payments_bca: nil,
1424
1671
  ideal_payments: nil,
1425
1672
  india_international_payments: nil,
1426
1673
  jcb_payments: nil,
@@ -1431,6 +1678,7 @@ module Stripe
1431
1678
  kr_card_payments: nil,
1432
1679
  legacy_payments: nil,
1433
1680
  link_payments: nil,
1681
+ mb_way_payments: nil,
1434
1682
  mobilepay_payments: nil,
1435
1683
  multibanco_payments: nil,
1436
1684
  mx_bank_transfer_payments: nil,
@@ -1441,19 +1689,28 @@ module Stripe
1441
1689
  pay_by_bank_payments: nil,
1442
1690
  payco_payments: nil,
1443
1691
  paynow_payments: nil,
1692
+ paypal_payments: nil,
1693
+ payto_payments: nil,
1444
1694
  pix_payments: nil,
1445
1695
  promptpay_payments: nil,
1696
+ qris_payments: nil,
1697
+ rechnung_payments: nil,
1446
1698
  revolut_pay_payments: nil,
1447
1699
  samsung_pay_payments: nil,
1448
1700
  satispay_payments: nil,
1449
1701
  sepa_bank_transfer_payments: nil,
1450
1702
  sepa_debit_payments: nil,
1703
+ shopeepay_payments: nil,
1451
1704
  sofort_payments: nil,
1705
+ stripe_balance_payments: nil,
1452
1706
  swish_payments: nil,
1453
1707
  tax_reporting_us_1099_k: nil,
1454
1708
  tax_reporting_us_1099_misc: nil,
1455
1709
  transfers: nil,
1456
1710
  treasury: nil,
1711
+ treasury_evolve: nil,
1712
+ treasury_fifth_third: nil,
1713
+ treasury_goldman_sachs: nil,
1457
1714
  twint_payments: nil,
1458
1715
  us_bank_account_ach_payments: nil,
1459
1716
  us_bank_transfer_payments: nil,
@@ -1465,6 +1722,7 @@ module Stripe
1465
1722
  @alma_payments = alma_payments
1466
1723
  @amazon_pay_payments = amazon_pay_payments
1467
1724
  @au_becs_debit_payments = au_becs_debit_payments
1725
+ @automatic_indirect_tax = automatic_indirect_tax
1468
1726
  @bacs_debit_payments = bacs_debit_payments
1469
1727
  @bancontact_payments = bancontact_payments
1470
1728
  @bank_transfer_payments = bank_transfer_payments
@@ -1480,7 +1738,10 @@ module Stripe
1480
1738
  @fpx_payments = fpx_payments
1481
1739
  @gb_bank_transfer_payments = gb_bank_transfer_payments
1482
1740
  @giropay_payments = giropay_payments
1741
+ @gopay_payments = gopay_payments
1483
1742
  @grabpay_payments = grabpay_payments
1743
+ @id_bank_transfer_payments = id_bank_transfer_payments
1744
+ @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1484
1745
  @ideal_payments = ideal_payments
1485
1746
  @india_international_payments = india_international_payments
1486
1747
  @jcb_payments = jcb_payments
@@ -1491,6 +1752,7 @@ module Stripe
1491
1752
  @kr_card_payments = kr_card_payments
1492
1753
  @legacy_payments = legacy_payments
1493
1754
  @link_payments = link_payments
1755
+ @mb_way_payments = mb_way_payments
1494
1756
  @mobilepay_payments = mobilepay_payments
1495
1757
  @multibanco_payments = multibanco_payments
1496
1758
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -1501,19 +1763,28 @@ module Stripe
1501
1763
  @pay_by_bank_payments = pay_by_bank_payments
1502
1764
  @payco_payments = payco_payments
1503
1765
  @paynow_payments = paynow_payments
1766
+ @paypal_payments = paypal_payments
1767
+ @payto_payments = payto_payments
1504
1768
  @pix_payments = pix_payments
1505
1769
  @promptpay_payments = promptpay_payments
1770
+ @qris_payments = qris_payments
1771
+ @rechnung_payments = rechnung_payments
1506
1772
  @revolut_pay_payments = revolut_pay_payments
1507
1773
  @samsung_pay_payments = samsung_pay_payments
1508
1774
  @satispay_payments = satispay_payments
1509
1775
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1510
1776
  @sepa_debit_payments = sepa_debit_payments
1777
+ @shopeepay_payments = shopeepay_payments
1511
1778
  @sofort_payments = sofort_payments
1779
+ @stripe_balance_payments = stripe_balance_payments
1512
1780
  @swish_payments = swish_payments
1513
1781
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1514
1782
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1515
1783
  @transfers = transfers
1516
1784
  @treasury = treasury
1785
+ @treasury_evolve = treasury_evolve
1786
+ @treasury_fifth_third = treasury_fifth_third
1787
+ @treasury_goldman_sachs = treasury_goldman_sachs
1517
1788
  @twint_payments = twint_payments
1518
1789
  @us_bank_account_ach_payments = us_bank_account_ach_payments
1519
1790
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -2302,6 +2573,37 @@ module Stripe
2302
2573
  end
2303
2574
  end
2304
2575
 
2576
+ class RiskControls < Stripe::RequestParams
2577
+ class Charges < Stripe::RequestParams
2578
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2579
+ # There can be a delay before the risk control is paused or unpaused.
2580
+ attr_accessor :pause_requested
2581
+
2582
+ def initialize(pause_requested: nil)
2583
+ @pause_requested = pause_requested
2584
+ end
2585
+ end
2586
+
2587
+ class Payouts < Stripe::RequestParams
2588
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2589
+ # There can be a delay before the risk control is paused or unpaused.
2590
+ attr_accessor :pause_requested
2591
+
2592
+ def initialize(pause_requested: nil)
2593
+ @pause_requested = pause_requested
2594
+ end
2595
+ end
2596
+ # 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).
2597
+ attr_accessor :charges
2598
+ # 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).
2599
+ attr_accessor :payouts
2600
+
2601
+ def initialize(charges: nil, payouts: nil)
2602
+ @charges = charges
2603
+ @payouts = payouts
2604
+ end
2605
+ end
2606
+
2305
2607
  class Settings < Stripe::RequestParams
2306
2608
  class BacsDebitPayments < Stripe::RequestParams
2307
2609
  # 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.
@@ -2312,6 +2614,18 @@ module Stripe
2312
2614
  end
2313
2615
  end
2314
2616
 
2617
+ class BankBcaOnboarding < Stripe::RequestParams
2618
+ # Bank BCA business account holder name
2619
+ attr_accessor :account_holder_name
2620
+ # Bank BCA business account number
2621
+ attr_accessor :business_account_number
2622
+
2623
+ def initialize(account_holder_name: nil, business_account_number: nil)
2624
+ @account_holder_name = account_holder_name
2625
+ @business_account_number = business_account_number
2626
+ end
2627
+ end
2628
+
2315
2629
  class Branding < Stripe::RequestParams
2316
2630
  # (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.
2317
2631
  attr_accessor :icon
@@ -2330,6 +2644,18 @@ module Stripe
2330
2644
  end
2331
2645
  end
2332
2646
 
2647
+ class Capital < Stripe::RequestParams
2648
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
2649
+ attr_accessor :payout_destination
2650
+ # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
2651
+ attr_accessor :payout_destination_selector
2652
+
2653
+ def initialize(payout_destination: nil, payout_destination_selector: nil)
2654
+ @payout_destination = payout_destination
2655
+ @payout_destination_selector = payout_destination_selector
2656
+ end
2657
+ end
2658
+
2333
2659
  class CardIssuing < Stripe::RequestParams
2334
2660
  class TosAcceptance < Stripe::RequestParams
2335
2661
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2463,6 +2789,15 @@ module Stripe
2463
2789
  end
2464
2790
  end
2465
2791
 
2792
+ class TaxForms < Stripe::RequestParams
2793
+ # Whether the account opted out of receiving their tax forms by postal delivery.
2794
+ attr_accessor :consented_to_paperless_delivery
2795
+
2796
+ def initialize(consented_to_paperless_delivery: nil)
2797
+ @consented_to_paperless_delivery = consented_to_paperless_delivery
2798
+ end
2799
+ end
2800
+
2466
2801
  class Treasury < Stripe::RequestParams
2467
2802
  class TosAcceptance < Stripe::RequestParams
2468
2803
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2487,8 +2822,12 @@ module Stripe
2487
2822
  end
2488
2823
  # Settings specific to Bacs Direct Debit payments.
2489
2824
  attr_accessor :bacs_debit_payments
2825
+ # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2826
+ attr_accessor :bank_bca_onboarding
2490
2827
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2491
2828
  attr_accessor :branding
2829
+ # Settings specific to the account's use of the Capital product.
2830
+ attr_accessor :capital
2492
2831
  # Settings specific to the account's use of the Card Issuing product.
2493
2832
  attr_accessor :card_issuing
2494
2833
  # Settings specific to card charging on the account.
@@ -2499,26 +2838,34 @@ module Stripe
2499
2838
  attr_accessor :payments
2500
2839
  # Settings specific to the account's payouts.
2501
2840
  attr_accessor :payouts
2841
+ # Settings specific to the account's tax forms.
2842
+ attr_accessor :tax_forms
2502
2843
  # Settings specific to the account's Treasury FinancialAccounts.
2503
2844
  attr_accessor :treasury
2504
2845
 
2505
2846
  def initialize(
2506
2847
  bacs_debit_payments: nil,
2848
+ bank_bca_onboarding: nil,
2507
2849
  branding: nil,
2850
+ capital: nil,
2508
2851
  card_issuing: nil,
2509
2852
  card_payments: nil,
2510
2853
  invoices: nil,
2511
2854
  payments: nil,
2512
2855
  payouts: nil,
2856
+ tax_forms: nil,
2513
2857
  treasury: nil
2514
2858
  )
2515
2859
  @bacs_debit_payments = bacs_debit_payments
2860
+ @bank_bca_onboarding = bank_bca_onboarding
2516
2861
  @branding = branding
2862
+ @capital = capital
2517
2863
  @card_issuing = card_issuing
2518
2864
  @card_payments = card_payments
2519
2865
  @invoices = invoices
2520
2866
  @payments = payments
2521
2867
  @payouts = payouts
2868
+ @tax_forms = tax_forms
2522
2869
  @treasury = treasury
2523
2870
  end
2524
2871
  end
@@ -2573,6 +2920,8 @@ module Stripe
2573
2920
  attr_accessor :individual
2574
2921
  # 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`.
2575
2922
  attr_accessor :metadata
2923
+ # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2924
+ attr_accessor :risk_controls
2576
2925
  # Options for customizing how the account functions within Stripe.
2577
2926
  attr_accessor :settings
2578
2927
  # 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.
@@ -2592,6 +2941,7 @@ module Stripe
2592
2941
  groups: nil,
2593
2942
  individual: nil,
2594
2943
  metadata: nil,
2944
+ risk_controls: nil,
2595
2945
  settings: nil,
2596
2946
  tos_acceptance: nil
2597
2947
  )
@@ -2608,6 +2958,7 @@ module Stripe
2608
2958
  @groups = groups
2609
2959
  @individual = individual
2610
2960
  @metadata = metadata
2961
+ @risk_controls = risk_controls
2611
2962
  @settings = settings
2612
2963
  @tos_acceptance = tos_acceptance
2613
2964
  end
@@ -2854,6 +3205,15 @@ module Stripe
2854
3205
  end
2855
3206
  end
2856
3207
 
3208
+ class AutomaticIndirectTax < Stripe::RequestParams
3209
+ # 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.
3210
+ attr_accessor :requested
3211
+
3212
+ def initialize(requested: nil)
3213
+ @requested = requested
3214
+ end
3215
+ end
3216
+
2857
3217
  class BacsDebitPayments < Stripe::RequestParams
2858
3218
  # 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.
2859
3219
  attr_accessor :requested
@@ -2989,6 +3349,15 @@ module Stripe
2989
3349
  end
2990
3350
  end
2991
3351
 
3352
+ class GopayPayments < Stripe::RequestParams
3353
+ # 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.
3354
+ attr_accessor :requested
3355
+
3356
+ def initialize(requested: nil)
3357
+ @requested = requested
3358
+ end
3359
+ end
3360
+
2992
3361
  class GrabpayPayments < Stripe::RequestParams
2993
3362
  # 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.
2994
3363
  attr_accessor :requested
@@ -2998,6 +3367,24 @@ module Stripe
2998
3367
  end
2999
3368
  end
3000
3369
 
3370
+ class IdBankTransferPayments < Stripe::RequestParams
3371
+ # 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.
3372
+ attr_accessor :requested
3373
+
3374
+ def initialize(requested: nil)
3375
+ @requested = requested
3376
+ end
3377
+ end
3378
+
3379
+ class IdBankTransferPaymentsBca < Stripe::RequestParams
3380
+ # 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.
3381
+ attr_accessor :requested
3382
+
3383
+ def initialize(requested: nil)
3384
+ @requested = requested
3385
+ end
3386
+ end
3387
+
3001
3388
  class IdealPayments < Stripe::RequestParams
3002
3389
  # 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.
3003
3390
  attr_accessor :requested
@@ -3088,6 +3475,15 @@ module Stripe
3088
3475
  end
3089
3476
  end
3090
3477
 
3478
+ class MbWayPayments < Stripe::RequestParams
3479
+ # 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.
3480
+ attr_accessor :requested
3481
+
3482
+ def initialize(requested: nil)
3483
+ @requested = requested
3484
+ end
3485
+ end
3486
+
3091
3487
  class MobilepayPayments < Stripe::RequestParams
3092
3488
  # 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.
3093
3489
  attr_accessor :requested
@@ -3178,6 +3574,24 @@ module Stripe
3178
3574
  end
3179
3575
  end
3180
3576
 
3577
+ class PaypalPayments < Stripe::RequestParams
3578
+ # 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.
3579
+ attr_accessor :requested
3580
+
3581
+ def initialize(requested: nil)
3582
+ @requested = requested
3583
+ end
3584
+ end
3585
+
3586
+ class PaytoPayments < Stripe::RequestParams
3587
+ # 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.
3588
+ attr_accessor :requested
3589
+
3590
+ def initialize(requested: nil)
3591
+ @requested = requested
3592
+ end
3593
+ end
3594
+
3181
3595
  class PixPayments < Stripe::RequestParams
3182
3596
  # 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
3597
  attr_accessor :requested
@@ -3196,6 +3610,24 @@ module Stripe
3196
3610
  end
3197
3611
  end
3198
3612
 
3613
+ class QrisPayments < Stripe::RequestParams
3614
+ # 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.
3615
+ attr_accessor :requested
3616
+
3617
+ def initialize(requested: nil)
3618
+ @requested = requested
3619
+ end
3620
+ end
3621
+
3622
+ class RechnungPayments < Stripe::RequestParams
3623
+ # 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.
3624
+ attr_accessor :requested
3625
+
3626
+ def initialize(requested: nil)
3627
+ @requested = requested
3628
+ end
3629
+ end
3630
+
3199
3631
  class RevolutPayPayments < Stripe::RequestParams
3200
3632
  # 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.
3201
3633
  attr_accessor :requested
@@ -3241,6 +3673,15 @@ module Stripe
3241
3673
  end
3242
3674
  end
3243
3675
 
3676
+ class ShopeepayPayments < Stripe::RequestParams
3677
+ # 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.
3678
+ attr_accessor :requested
3679
+
3680
+ def initialize(requested: nil)
3681
+ @requested = requested
3682
+ end
3683
+ end
3684
+
3244
3685
  class SofortPayments < Stripe::RequestParams
3245
3686
  # 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.
3246
3687
  attr_accessor :requested
@@ -3250,6 +3691,15 @@ module Stripe
3250
3691
  end
3251
3692
  end
3252
3693
 
3694
+ class StripeBalancePayments < Stripe::RequestParams
3695
+ # 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.
3696
+ attr_accessor :requested
3697
+
3698
+ def initialize(requested: nil)
3699
+ @requested = requested
3700
+ end
3701
+ end
3702
+
3253
3703
  class SwishPayments < Stripe::RequestParams
3254
3704
  # 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.
3255
3705
  attr_accessor :requested
@@ -3295,6 +3745,33 @@ module Stripe
3295
3745
  end
3296
3746
  end
3297
3747
 
3748
+ class TreasuryEvolve < Stripe::RequestParams
3749
+ # 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.
3750
+ attr_accessor :requested
3751
+
3752
+ def initialize(requested: nil)
3753
+ @requested = requested
3754
+ end
3755
+ end
3756
+
3757
+ class TreasuryFifthThird < Stripe::RequestParams
3758
+ # 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.
3759
+ attr_accessor :requested
3760
+
3761
+ def initialize(requested: nil)
3762
+ @requested = requested
3763
+ end
3764
+ end
3765
+
3766
+ class TreasuryGoldmanSachs < Stripe::RequestParams
3767
+ # 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.
3768
+ attr_accessor :requested
3769
+
3770
+ def initialize(requested: nil)
3771
+ @requested = requested
3772
+ end
3773
+ end
3774
+
3298
3775
  class TwintPayments < Stripe::RequestParams
3299
3776
  # 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.
3300
3777
  attr_accessor :requested
@@ -3342,6 +3819,8 @@ module Stripe
3342
3819
  attr_accessor :amazon_pay_payments
3343
3820
  # The au_becs_debit_payments capability.
3344
3821
  attr_accessor :au_becs_debit_payments
3822
+ # The automatic_indirect_tax capability.
3823
+ attr_accessor :automatic_indirect_tax
3345
3824
  # The bacs_debit_payments capability.
3346
3825
  attr_accessor :bacs_debit_payments
3347
3826
  # The bancontact_payments capability.
@@ -3372,8 +3851,14 @@ module Stripe
3372
3851
  attr_accessor :gb_bank_transfer_payments
3373
3852
  # The giropay_payments capability.
3374
3853
  attr_accessor :giropay_payments
3854
+ # The gopay_payments capability.
3855
+ attr_accessor :gopay_payments
3375
3856
  # The grabpay_payments capability.
3376
3857
  attr_accessor :grabpay_payments
3858
+ # The id_bank_transfer_payments capability.
3859
+ attr_accessor :id_bank_transfer_payments
3860
+ # The id_bank_transfer_payments_bca capability.
3861
+ attr_accessor :id_bank_transfer_payments_bca
3377
3862
  # The ideal_payments capability.
3378
3863
  attr_accessor :ideal_payments
3379
3864
  # The india_international_payments capability.
@@ -3394,6 +3879,8 @@ module Stripe
3394
3879
  attr_accessor :legacy_payments
3395
3880
  # The link_payments capability.
3396
3881
  attr_accessor :link_payments
3882
+ # The mb_way_payments capability.
3883
+ attr_accessor :mb_way_payments
3397
3884
  # The mobilepay_payments capability.
3398
3885
  attr_accessor :mobilepay_payments
3399
3886
  # The multibanco_payments capability.
@@ -3414,10 +3901,18 @@ module Stripe
3414
3901
  attr_accessor :payco_payments
3415
3902
  # The paynow_payments capability.
3416
3903
  attr_accessor :paynow_payments
3904
+ # The paypal_payments capability.
3905
+ attr_accessor :paypal_payments
3906
+ # The payto_payments capability.
3907
+ attr_accessor :payto_payments
3417
3908
  # The pix_payments capability.
3418
3909
  attr_accessor :pix_payments
3419
3910
  # The promptpay_payments capability.
3420
3911
  attr_accessor :promptpay_payments
3912
+ # The qris_payments capability.
3913
+ attr_accessor :qris_payments
3914
+ # The rechnung_payments capability.
3915
+ attr_accessor :rechnung_payments
3421
3916
  # The revolut_pay_payments capability.
3422
3917
  attr_accessor :revolut_pay_payments
3423
3918
  # The samsung_pay_payments capability.
@@ -3428,8 +3923,12 @@ module Stripe
3428
3923
  attr_accessor :sepa_bank_transfer_payments
3429
3924
  # The sepa_debit_payments capability.
3430
3925
  attr_accessor :sepa_debit_payments
3926
+ # The shopeepay_payments capability.
3927
+ attr_accessor :shopeepay_payments
3431
3928
  # The sofort_payments capability.
3432
3929
  attr_accessor :sofort_payments
3930
+ # The stripe_balance_payments capability.
3931
+ attr_accessor :stripe_balance_payments
3433
3932
  # The swish_payments capability.
3434
3933
  attr_accessor :swish_payments
3435
3934
  # The tax_reporting_us_1099_k capability.
@@ -3440,6 +3939,12 @@ module Stripe
3440
3939
  attr_accessor :transfers
3441
3940
  # The treasury capability.
3442
3941
  attr_accessor :treasury
3942
+ # The treasury_evolve capability.
3943
+ attr_accessor :treasury_evolve
3944
+ # The treasury_fifth_third capability.
3945
+ attr_accessor :treasury_fifth_third
3946
+ # The treasury_goldman_sachs capability.
3947
+ attr_accessor :treasury_goldman_sachs
3443
3948
  # The twint_payments capability.
3444
3949
  attr_accessor :twint_payments
3445
3950
  # The us_bank_account_ach_payments capability.
@@ -3456,6 +3961,7 @@ module Stripe
3456
3961
  alma_payments: nil,
3457
3962
  amazon_pay_payments: nil,
3458
3963
  au_becs_debit_payments: nil,
3964
+ automatic_indirect_tax: nil,
3459
3965
  bacs_debit_payments: nil,
3460
3966
  bancontact_payments: nil,
3461
3967
  bank_transfer_payments: nil,
@@ -3471,7 +3977,10 @@ module Stripe
3471
3977
  fpx_payments: nil,
3472
3978
  gb_bank_transfer_payments: nil,
3473
3979
  giropay_payments: nil,
3980
+ gopay_payments: nil,
3474
3981
  grabpay_payments: nil,
3982
+ id_bank_transfer_payments: nil,
3983
+ id_bank_transfer_payments_bca: nil,
3475
3984
  ideal_payments: nil,
3476
3985
  india_international_payments: nil,
3477
3986
  jcb_payments: nil,
@@ -3482,6 +3991,7 @@ module Stripe
3482
3991
  kr_card_payments: nil,
3483
3992
  legacy_payments: nil,
3484
3993
  link_payments: nil,
3994
+ mb_way_payments: nil,
3485
3995
  mobilepay_payments: nil,
3486
3996
  multibanco_payments: nil,
3487
3997
  mx_bank_transfer_payments: nil,
@@ -3492,19 +4002,28 @@ module Stripe
3492
4002
  pay_by_bank_payments: nil,
3493
4003
  payco_payments: nil,
3494
4004
  paynow_payments: nil,
4005
+ paypal_payments: nil,
4006
+ payto_payments: nil,
3495
4007
  pix_payments: nil,
3496
4008
  promptpay_payments: nil,
4009
+ qris_payments: nil,
4010
+ rechnung_payments: nil,
3497
4011
  revolut_pay_payments: nil,
3498
4012
  samsung_pay_payments: nil,
3499
4013
  satispay_payments: nil,
3500
4014
  sepa_bank_transfer_payments: nil,
3501
4015
  sepa_debit_payments: nil,
4016
+ shopeepay_payments: nil,
3502
4017
  sofort_payments: nil,
4018
+ stripe_balance_payments: nil,
3503
4019
  swish_payments: nil,
3504
4020
  tax_reporting_us_1099_k: nil,
3505
4021
  tax_reporting_us_1099_misc: nil,
3506
4022
  transfers: nil,
3507
4023
  treasury: nil,
4024
+ treasury_evolve: nil,
4025
+ treasury_fifth_third: nil,
4026
+ treasury_goldman_sachs: nil,
3508
4027
  twint_payments: nil,
3509
4028
  us_bank_account_ach_payments: nil,
3510
4029
  us_bank_transfer_payments: nil,
@@ -3516,6 +4035,7 @@ module Stripe
3516
4035
  @alma_payments = alma_payments
3517
4036
  @amazon_pay_payments = amazon_pay_payments
3518
4037
  @au_becs_debit_payments = au_becs_debit_payments
4038
+ @automatic_indirect_tax = automatic_indirect_tax
3519
4039
  @bacs_debit_payments = bacs_debit_payments
3520
4040
  @bancontact_payments = bancontact_payments
3521
4041
  @bank_transfer_payments = bank_transfer_payments
@@ -3531,7 +4051,10 @@ module Stripe
3531
4051
  @fpx_payments = fpx_payments
3532
4052
  @gb_bank_transfer_payments = gb_bank_transfer_payments
3533
4053
  @giropay_payments = giropay_payments
4054
+ @gopay_payments = gopay_payments
3534
4055
  @grabpay_payments = grabpay_payments
4056
+ @id_bank_transfer_payments = id_bank_transfer_payments
4057
+ @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
3535
4058
  @ideal_payments = ideal_payments
3536
4059
  @india_international_payments = india_international_payments
3537
4060
  @jcb_payments = jcb_payments
@@ -3542,6 +4065,7 @@ module Stripe
3542
4065
  @kr_card_payments = kr_card_payments
3543
4066
  @legacy_payments = legacy_payments
3544
4067
  @link_payments = link_payments
4068
+ @mb_way_payments = mb_way_payments
3545
4069
  @mobilepay_payments = mobilepay_payments
3546
4070
  @multibanco_payments = multibanco_payments
3547
4071
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -3552,19 +4076,28 @@ module Stripe
3552
4076
  @pay_by_bank_payments = pay_by_bank_payments
3553
4077
  @payco_payments = payco_payments
3554
4078
  @paynow_payments = paynow_payments
4079
+ @paypal_payments = paypal_payments
4080
+ @payto_payments = payto_payments
3555
4081
  @pix_payments = pix_payments
3556
4082
  @promptpay_payments = promptpay_payments
4083
+ @qris_payments = qris_payments
4084
+ @rechnung_payments = rechnung_payments
3557
4085
  @revolut_pay_payments = revolut_pay_payments
3558
4086
  @samsung_pay_payments = samsung_pay_payments
3559
4087
  @satispay_payments = satispay_payments
3560
4088
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
3561
4089
  @sepa_debit_payments = sepa_debit_payments
4090
+ @shopeepay_payments = shopeepay_payments
3562
4091
  @sofort_payments = sofort_payments
4092
+ @stripe_balance_payments = stripe_balance_payments
3563
4093
  @swish_payments = swish_payments
3564
4094
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
3565
4095
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
3566
4096
  @transfers = transfers
3567
4097
  @treasury = treasury
4098
+ @treasury_evolve = treasury_evolve
4099
+ @treasury_fifth_third = treasury_fifth_third
4100
+ @treasury_goldman_sachs = treasury_goldman_sachs
3568
4101
  @twint_payments = twint_payments
3569
4102
  @us_bank_account_ach_payments = us_bank_account_ach_payments
3570
4103
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -3915,6 +4448,30 @@ module Stripe
3915
4448
  end
3916
4449
 
3917
4450
  class Controller < Stripe::RequestParams
4451
+ class Application < Stripe::RequestParams
4452
+ # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
4453
+ attr_accessor :loss_liable
4454
+ # Whether the controller owns onboarding for this account.
4455
+ attr_accessor :onboarding_owner
4456
+ # Whether the controller has pricing controls for this account.
4457
+ attr_accessor :pricing_controls
4458
+
4459
+ def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
4460
+ @loss_liable = loss_liable
4461
+ @onboarding_owner = onboarding_owner
4462
+ @pricing_controls = pricing_controls
4463
+ end
4464
+ end
4465
+
4466
+ class Dashboard < Stripe::RequestParams
4467
+ # 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`.
4468
+ attr_accessor :type
4469
+
4470
+ def initialize(type: nil)
4471
+ @type = type
4472
+ end
4473
+ end
4474
+
3918
4475
  class Fees < Stripe::RequestParams
3919
4476
  # 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).
3920
4477
  attr_accessor :payer
@@ -3941,6 +4498,10 @@ module Stripe
3941
4498
  @type = type
3942
4499
  end
3943
4500
  end
4501
+ # A hash of configuration describing the Connect application that controls the account.
4502
+ attr_accessor :application
4503
+ # Properties of the account's dashboard.
4504
+ attr_accessor :dashboard
3944
4505
  # A hash of configuration for who pays Stripe fees for product usage on this account.
3945
4506
  attr_accessor :fees
3946
4507
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -3950,7 +4511,16 @@ module Stripe
3950
4511
  # A hash of configuration for Stripe-hosted dashboards.
3951
4512
  attr_accessor :stripe_dashboard
3952
4513
 
3953
- def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
4514
+ def initialize(
4515
+ application: nil,
4516
+ dashboard: nil,
4517
+ fees: nil,
4518
+ losses: nil,
4519
+ requirement_collection: nil,
4520
+ stripe_dashboard: nil
4521
+ )
4522
+ @application = application
4523
+ @dashboard = dashboard
3954
4524
  @fees = fees
3955
4525
  @losses = losses
3956
4526
  @requirement_collection = requirement_collection
@@ -4397,6 +4967,37 @@ module Stripe
4397
4967
  end
4398
4968
  end
4399
4969
 
4970
+ class RiskControls < Stripe::RequestParams
4971
+ class Charges < Stripe::RequestParams
4972
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4973
+ # There can be a delay before the risk control is paused or unpaused.
4974
+ attr_accessor :pause_requested
4975
+
4976
+ def initialize(pause_requested: nil)
4977
+ @pause_requested = pause_requested
4978
+ end
4979
+ end
4980
+
4981
+ class Payouts < Stripe::RequestParams
4982
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4983
+ # There can be a delay before the risk control is paused or unpaused.
4984
+ attr_accessor :pause_requested
4985
+
4986
+ def initialize(pause_requested: nil)
4987
+ @pause_requested = pause_requested
4988
+ end
4989
+ end
4990
+ # 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).
4991
+ attr_accessor :charges
4992
+ # 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).
4993
+ attr_accessor :payouts
4994
+
4995
+ def initialize(charges: nil, payouts: nil)
4996
+ @charges = charges
4997
+ @payouts = payouts
4998
+ end
4999
+ end
5000
+
4400
5001
  class Settings < Stripe::RequestParams
4401
5002
  class BacsDebitPayments < Stripe::RequestParams
4402
5003
  # 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.
@@ -4407,6 +5008,18 @@ module Stripe
4407
5008
  end
4408
5009
  end
4409
5010
 
5011
+ class BankBcaOnboarding < Stripe::RequestParams
5012
+ # Bank BCA business account holder name
5013
+ attr_accessor :account_holder_name
5014
+ # Bank BCA business account number
5015
+ attr_accessor :business_account_number
5016
+
5017
+ def initialize(account_holder_name: nil, business_account_number: nil)
5018
+ @account_holder_name = account_holder_name
5019
+ @business_account_number = business_account_number
5020
+ end
5021
+ end
5022
+
4410
5023
  class Branding < Stripe::RequestParams
4411
5024
  # (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.
4412
5025
  attr_accessor :icon
@@ -4425,6 +5038,18 @@ module Stripe
4425
5038
  end
4426
5039
  end
4427
5040
 
5041
+ class Capital < Stripe::RequestParams
5042
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
5043
+ attr_accessor :payout_destination
5044
+ # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
5045
+ attr_accessor :payout_destination_selector
5046
+
5047
+ def initialize(payout_destination: nil, payout_destination_selector: nil)
5048
+ @payout_destination = payout_destination
5049
+ @payout_destination_selector = payout_destination_selector
5050
+ end
5051
+ end
5052
+
4428
5053
  class CardIssuing < Stripe::RequestParams
4429
5054
  class TosAcceptance < Stripe::RequestParams
4430
5055
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4555,6 +5180,15 @@ module Stripe
4555
5180
  end
4556
5181
  end
4557
5182
 
5183
+ class TaxForms < Stripe::RequestParams
5184
+ # Whether the account opted out of receiving their tax forms by postal delivery.
5185
+ attr_accessor :consented_to_paperless_delivery
5186
+
5187
+ def initialize(consented_to_paperless_delivery: nil)
5188
+ @consented_to_paperless_delivery = consented_to_paperless_delivery
5189
+ end
5190
+ end
5191
+
4558
5192
  class Treasury < Stripe::RequestParams
4559
5193
  class TosAcceptance < Stripe::RequestParams
4560
5194
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4579,8 +5213,12 @@ module Stripe
4579
5213
  end
4580
5214
  # Settings specific to Bacs Direct Debit.
4581
5215
  attr_accessor :bacs_debit_payments
5216
+ # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
5217
+ attr_accessor :bank_bca_onboarding
4582
5218
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
4583
5219
  attr_accessor :branding
5220
+ # Settings specific to the account's use of the Capital product.
5221
+ attr_accessor :capital
4584
5222
  # Settings specific to the account's use of the Card Issuing product.
4585
5223
  attr_accessor :card_issuing
4586
5224
  # Settings specific to card charging on the account.
@@ -4591,26 +5229,34 @@ module Stripe
4591
5229
  attr_accessor :payments
4592
5230
  # Settings specific to the account's payouts.
4593
5231
  attr_accessor :payouts
5232
+ # Settings specific to the account's tax forms.
5233
+ attr_accessor :tax_forms
4594
5234
  # Settings specific to the account's Treasury FinancialAccounts.
4595
5235
  attr_accessor :treasury
4596
5236
 
4597
5237
  def initialize(
4598
5238
  bacs_debit_payments: nil,
5239
+ bank_bca_onboarding: nil,
4599
5240
  branding: nil,
5241
+ capital: nil,
4600
5242
  card_issuing: nil,
4601
5243
  card_payments: nil,
4602
5244
  invoices: nil,
4603
5245
  payments: nil,
4604
5246
  payouts: nil,
5247
+ tax_forms: nil,
4605
5248
  treasury: nil
4606
5249
  )
4607
5250
  @bacs_debit_payments = bacs_debit_payments
5251
+ @bank_bca_onboarding = bank_bca_onboarding
4608
5252
  @branding = branding
5253
+ @capital = capital
4609
5254
  @card_issuing = card_issuing
4610
5255
  @card_payments = card_payments
4611
5256
  @invoices = invoices
4612
5257
  @payments = payments
4613
5258
  @payouts = payouts
5259
+ @tax_forms = tax_forms
4614
5260
  @treasury = treasury
4615
5261
  end
4616
5262
  end
@@ -4669,6 +5315,8 @@ module Stripe
4669
5315
  attr_accessor :individual
4670
5316
  # 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`.
4671
5317
  attr_accessor :metadata
5318
+ # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
5319
+ attr_accessor :risk_controls
4672
5320
  # Options for customizing how the account functions within Stripe.
4673
5321
  attr_accessor :settings
4674
5322
  # 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.
@@ -4692,6 +5340,7 @@ module Stripe
4692
5340
  groups: nil,
4693
5341
  individual: nil,
4694
5342
  metadata: nil,
5343
+ risk_controls: nil,
4695
5344
  settings: nil,
4696
5345
  tos_acceptance: nil,
4697
5346
  type: nil
@@ -4711,6 +5360,7 @@ module Stripe
4711
5360
  @groups = groups
4712
5361
  @individual = individual
4713
5362
  @metadata = metadata
5363
+ @risk_controls = risk_controls
4714
5364
  @settings = settings
4715
5365
  @tos_acceptance = tos_acceptance
4716
5366
  @type = type
@@ -4829,6 +5479,8 @@ module Stripe
4829
5479
  attr_reader :payouts_enabled
4830
5480
  # Attribute for field requirements
4831
5481
  attr_reader :requirements
5482
+ # Attribute for field risk_controls
5483
+ attr_reader :risk_controls
4832
5484
  # Options for customizing how the account functions within Stripe.
4833
5485
  attr_reader :settings
4834
5486
  # Attribute for field tos_acceptance