stripe 15.1.0 → 15.2.0.pre.beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (586) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1561 -695
  3. data/VERSION +1 -1
  4. data/lib/stripe/api_requestor.rb +28 -0
  5. data/lib/stripe/api_version.rb +1 -1
  6. data/lib/stripe/errors.rb +54 -0
  7. data/lib/stripe/event_types.rb +89 -0
  8. data/lib/stripe/events/v2_core_account_closed_event.rb +21 -0
  9. data/lib/stripe/events/v2_core_account_created_event.rb +21 -0
  10. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
  11. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
  12. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
  13. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
  14. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
  15. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
  16. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +21 -0
  17. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
  18. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
  19. data/lib/stripe/events/v2_core_account_link_completed_event.rb +13 -0
  20. data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
  21. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
  22. data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
  23. data/lib/stripe/events/v2_core_account_updated_event.rb +21 -0
  24. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
  25. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
  26. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +21 -0
  27. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
  28. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
  29. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
  30. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
  31. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
  32. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
  33. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
  34. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
  35. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
  36. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
  37. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
  38. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
  39. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
  40. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +21 -0
  41. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
  42. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
  43. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
  44. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
  45. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
  46. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +21 -0
  47. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
  48. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
  49. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
  50. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
  51. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
  52. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
  53. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
  54. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
  55. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
  56. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +21 -0
  57. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
  58. data/lib/stripe/object_types.rb +52 -0
  59. data/lib/stripe/resources/account.rb +653 -1
  60. data/lib/stripe/resources/account_notice.rb +123 -0
  61. data/lib/stripe/resources/account_session.rb +299 -1
  62. data/lib/stripe/resources/balance_settings.rb +105 -0
  63. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
  64. data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
  65. data/lib/stripe/resources/billing/credit_grant.rb +10 -0
  66. data/lib/stripe/resources/billing/meter_error_report.rb +59 -0
  67. data/lib/stripe/resources/billing_portal/session.rb +6 -0
  68. data/lib/stripe/resources/capital/financing_offer.rb +179 -0
  69. data/lib/stripe/resources/capital/financing_summary.rb +55 -0
  70. data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
  71. data/lib/stripe/resources/card.rb +2 -0
  72. data/lib/stripe/resources/cash_balance.rb +2 -0
  73. data/lib/stripe/resources/charge.rb +1470 -0
  74. data/lib/stripe/resources/checkout/session.rb +331 -3
  75. data/lib/stripe/resources/confirmation_token.rb +176 -0
  76. data/lib/stripe/resources/coupon.rb +30 -1
  77. data/lib/stripe/resources/credit_note.rb +10 -0
  78. data/lib/stripe/resources/credit_note_line_item.rb +9 -0
  79. data/lib/stripe/resources/customer.rb +2 -0
  80. data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
  81. data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
  82. data/lib/stripe/resources/customer_session.rb +6 -1
  83. data/lib/stripe/resources/discount.rb +2 -0
  84. data/lib/stripe/resources/event.rb +31 -0
  85. data/lib/stripe/resources/financial_connections/account.rb +20 -1
  86. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
  87. data/lib/stripe/resources/financial_connections/institution.rb +90 -0
  88. data/lib/stripe/resources/financial_connections/session.rb +62 -2
  89. data/lib/stripe/resources/fx_quote.rb +184 -0
  90. data/lib/stripe/resources/gift_cards/card.rb +208 -0
  91. data/lib/stripe/resources/gift_cards/transaction.rb +272 -0
  92. data/lib/stripe/resources/identity/verification_session.rb +10 -0
  93. data/lib/stripe/resources/invoice.rb +1129 -15
  94. data/lib/stripe/resources/invoice_item.rb +78 -2
  95. data/lib/stripe/resources/invoice_line_item.rb +55 -1
  96. data/lib/stripe/resources/invoice_payment.rb +2 -53
  97. data/lib/stripe/resources/issuing/cardholder.rb +2 -1
  98. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +602 -0
  99. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +82 -0
  100. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +86 -0
  101. data/lib/stripe/resources/issuing/settlement.rb +53 -0
  102. data/lib/stripe/resources/issuing/transaction.rb +6 -0
  103. data/lib/stripe/resources/line_item.rb +37 -0
  104. data/lib/stripe/resources/mandate.rb +24 -0
  105. data/lib/stripe/resources/margin.rb +115 -0
  106. data/lib/stripe/resources/order.rb +2859 -0
  107. data/lib/stripe/resources/payment_attempt_record.rb +1078 -0
  108. data/lib/stripe/resources/payment_intent.rb +6036 -1214
  109. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +65 -0
  110. data/lib/stripe/resources/payment_method.rb +198 -1
  111. data/lib/stripe/resources/payment_method_configuration.rb +295 -0
  112. data/lib/stripe/resources/payment_record.rb +1607 -0
  113. data/lib/stripe/resources/payout.rb +6 -0
  114. data/lib/stripe/resources/price.rb +30 -0
  115. data/lib/stripe/resources/privacy/redaction_job.rb +275 -0
  116. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +25 -0
  117. data/lib/stripe/resources/product.rb +59 -0
  118. data/lib/stripe/resources/promotion_code.rb +10 -0
  119. data/lib/stripe/resources/quote.rb +2046 -6
  120. data/lib/stripe/resources/quote_line.rb +274 -0
  121. data/lib/stripe/resources/quote_preview_invoice.rb +663 -0
  122. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +339 -0
  123. data/lib/stripe/resources/refund.rb +9 -0
  124. data/lib/stripe/resources/setup_attempt.rb +21 -0
  125. data/lib/stripe/resources/setup_intent.rb +596 -9
  126. data/lib/stripe/resources/source.rb +29 -0
  127. data/lib/stripe/resources/subscription.rb +298 -9
  128. data/lib/stripe/resources/subscription_item.rb +84 -3
  129. data/lib/stripe/resources/subscription_schedule.rb +1013 -10
  130. data/lib/stripe/resources/tax/association.rb +89 -0
  131. data/lib/stripe/resources/tax/form.rb +211 -0
  132. data/lib/stripe/resources/tax_id.rb +12 -2
  133. data/lib/stripe/resources/terminal/reader.rb +406 -0
  134. data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
  135. data/lib/stripe/resources/transfer.rb +6 -0
  136. data/lib/stripe/resources/treasury/financial_account.rb +22 -3
  137. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  138. data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
  139. data/lib/stripe/resources/treasury/received_credit.rb +38 -1
  140. data/lib/stripe/resources/treasury/received_debit.rb +40 -1
  141. data/lib/stripe/resources/v2/core/account.rb +1746 -0
  142. data/lib/stripe/resources/v2/core/account_link.rb +56 -0
  143. data/lib/stripe/resources/v2/core/person.rb +276 -0
  144. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +74 -0
  145. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +39 -0
  146. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +20 -0
  147. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +22 -0
  148. data/lib/stripe/resources/v2/money_management/adjustment.rb +51 -0
  149. data/lib/stripe/resources/v2/money_management/financial_account.rb +58 -0
  150. data/lib/stripe/resources/v2/money_management/financial_address.rb +68 -0
  151. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +94 -0
  152. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +129 -0
  153. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +82 -0
  154. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +45 -0
  155. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +117 -0
  156. data/lib/stripe/resources/v2/money_management/payout_method.rb +75 -0
  157. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +49 -0
  158. data/lib/stripe/resources/v2/money_management/received_credit.rb +136 -0
  159. data/lib/stripe/resources/v2/money_management/received_debit.rb +108 -0
  160. data/lib/stripe/resources/v2/money_management/transaction.rb +78 -0
  161. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +68 -0
  162. data/lib/stripe/resources.rb +99 -0
  163. data/lib/stripe/services/account_notice_service.rb +101 -0
  164. data/lib/stripe/services/account_service.rb +562 -1
  165. data/lib/stripe/services/account_session_service.rb +269 -1
  166. data/lib/stripe/services/balance_settings_service.rb +96 -0
  167. data/lib/stripe/services/billing/credit_balance_summary_service.rb +4 -1
  168. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
  169. data/lib/stripe/services/billing/credit_grant_service.rb +8 -0
  170. data/lib/stripe/services/billing_portal/session_service.rb +4 -0
  171. data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
  172. data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
  173. data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
  174. data/lib/stripe/services/capital_service.rb +15 -0
  175. data/lib/stripe/services/charge_service.rb +1350 -0
  176. data/lib/stripe/services/checkout/session_service.rb +247 -2
  177. data/lib/stripe/services/coupon_service.rb +17 -1
  178. data/lib/stripe/services/credit_note_service.rb +4 -0
  179. data/lib/stripe/services/customer_session_service.rb +4 -1
  180. data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -123
  181. data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
  182. data/lib/stripe/services/financial_connections/account_service.rb +7 -2
  183. data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
  184. data/lib/stripe/services/financial_connections/session_service.rb +34 -2
  185. data/lib/stripe/services/financial_connections_service.rb +2 -1
  186. data/lib/stripe/services/fx_quote_service.rb +123 -0
  187. data/lib/stripe/services/gift_cards/card_service.rb +170 -0
  188. data/lib/stripe/services/gift_cards/transaction_service.rb +209 -0
  189. data/lib/stripe/services/gift_cards_service.rb +14 -0
  190. data/lib/stripe/services/identity/verification_session_service.rb +8 -0
  191. data/lib/stripe/services/invoice_item_service.rb +74 -2
  192. data/lib/stripe/services/invoice_line_item_service.rb +33 -1
  193. data/lib/stripe/services/invoice_service.rb +1059 -15
  194. data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
  195. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
  196. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
  197. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
  198. data/lib/stripe/services/issuing/transaction_service.rb +4 -0
  199. data/lib/stripe/services/issuing_service.rb +5 -1
  200. data/lib/stripe/services/margin_service.rb +119 -0
  201. data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
  202. data/lib/stripe/services/order_service.rb +2268 -0
  203. data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
  204. data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
  205. data/lib/stripe/services/payment_intent_service.rb +4631 -258
  206. data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
  207. data/lib/stripe/services/payment_method_service.rb +126 -1
  208. data/lib/stripe/services/payment_record_service.rb +542 -0
  209. data/lib/stripe/services/payout_service.rb +4 -0
  210. data/lib/stripe/services/price_service.rb +19 -0
  211. data/lib/stripe/services/privacy/redaction_job_service.rb +231 -0
  212. data/{rbi/stripe/services/tax/calculation_line_item_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +21 -17
  213. data/lib/stripe/services/privacy_service.rb +13 -0
  214. data/lib/stripe/services/product_service.rb +38 -0
  215. data/lib/stripe/services/promotion_code_service.rb +8 -0
  216. data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
  217. data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
  218. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
  219. data/lib/stripe/services/quote_service.rb +1730 -7
  220. data/lib/stripe/services/setup_intent_service.rb +556 -9
  221. data/lib/stripe/services/subscription_item_service.rb +75 -3
  222. data/lib/stripe/services/subscription_schedule_service.rb +915 -10
  223. data/lib/stripe/services/subscription_service.rb +257 -9
  224. data/lib/stripe/services/tax/association_service.rb +31 -0
  225. data/lib/stripe/services/tax/form_service.rb +100 -0
  226. data/lib/stripe/services/tax_id_service.rb +8 -2
  227. data/lib/stripe/services/tax_service.rb +3 -1
  228. data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
  229. data/lib/stripe/services/terminal/reader_service.rb +180 -0
  230. data/lib/stripe/services/terminal_service.rb +2 -1
  231. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +103 -0
  232. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +43 -0
  233. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
  234. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
  235. data/lib/stripe/services/transfer_service.rb +4 -0
  236. data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
  237. data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
  238. data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
  239. data/lib/stripe/services/v1_services.rb +12 -2
  240. data/lib/stripe/services/v2/core/account_link_service.rb +76 -0
  241. data/lib/stripe/services/v2/core/account_service.rb +4138 -0
  242. data/lib/stripe/services/v2/core/accounts/person_service.rb +1048 -0
  243. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +135 -0
  244. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +109 -0
  245. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  246. data/lib/stripe/services/v2/core_service.rb +4 -1
  247. data/lib/stripe/services/v2/money_management/adjustment_service.rb +75 -0
  248. data/lib/stripe/services/v2/money_management/financial_account_service.rb +44 -0
  249. data/lib/stripe/services/v2/money_management/financial_address_service.rb +81 -0
  250. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +126 -0
  251. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +96 -0
  252. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +202 -0
  253. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +237 -0
  254. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +174 -0
  255. data/lib/stripe/services/v2/money_management/payout_method_service.rb +95 -0
  256. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
  257. data/lib/stripe/services/v2/money_management/received_credit_service.rb +71 -0
  258. data/lib/stripe/services/v2/money_management/received_debit_service.rb +44 -0
  259. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +70 -0
  260. data/lib/stripe/services/v2/money_management/transaction_service.rb +74 -0
  261. data/lib/stripe/services/v2/money_management_service.rb +31 -0
  262. data/lib/stripe/services/v2/test_helper_service.rb +15 -0
  263. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +50 -0
  264. data/lib/stripe/services/v2_services.rb +4 -2
  265. data/lib/stripe/services.rb +54 -1
  266. data/lib/stripe/stripe_configuration.rb +3 -1
  267. data/lib/stripe/stripe_object.rb +1 -1
  268. data/lib/stripe/util.rb +7 -1
  269. data/lib/stripe/version.rb +1 -1
  270. data/lib/stripe.rb +53 -0
  271. data/rbi/stripe.rbi +191867 -0
  272. data/stripe.gemspec +4 -1
  273. metadata +157 -324
  274. data/lib/stripe/services/invoice_payment_service.rb +0 -83
  275. data/rbi/stripe/resources/account.rbi +0 -4903
  276. data/rbi/stripe/resources/account_link.rbi +0 -74
  277. data/rbi/stripe/resources/account_session.rbi +0 -894
  278. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -90
  279. data/rbi/stripe/resources/application.rbi +0 -20
  280. data/rbi/stripe/resources/application_fee.rbi +0 -118
  281. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  282. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  283. data/rbi/stripe/resources/balance.rbi +0 -180
  284. data/rbi/stripe/resources/balance_transaction.rbi +0 -144
  285. data/rbi/stripe/resources/bank_account.rbi +0 -127
  286. data/rbi/stripe/resources/billing/alert.rbi +0 -201
  287. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  288. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
  289. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
  290. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
  291. data/rbi/stripe/resources/billing/meter.rbi +0 -226
  292. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  293. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  294. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
  295. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -645
  296. data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
  297. data/rbi/stripe/resources/capability.rbi +0 -125
  298. data/rbi/stripe/resources/card.rbi +0 -125
  299. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  300. data/rbi/stripe/resources/charge.rbi +0 -2057
  301. data/rbi/stripe/resources/checkout/session.rbi +0 -3988
  302. data/rbi/stripe/resources/climate/order.rbi +0 -245
  303. data/rbi/stripe/resources/climate/product.rbi +0 -75
  304. data/rbi/stripe/resources/climate/supplier.rbi +0 -72
  305. data/rbi/stripe/resources/confirmation_token.rbi +0 -1873
  306. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  307. data/rbi/stripe/resources/country_spec.rbi +0 -85
  308. data/rbi/stripe/resources/coupon.rbi +0 -252
  309. data/rbi/stripe/resources/credit_note.rbi +0 -747
  310. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
  311. data/rbi/stripe/resources/customer.rbi +0 -1009
  312. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
  313. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  314. data/rbi/stripe/resources/customer_session.rbi +0 -200
  315. data/rbi/stripe/resources/discount.rbi +0 -53
  316. data/rbi/stripe/resources/dispute.rbi +0 -761
  317. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
  318. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  319. data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
  320. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  321. data/rbi/stripe/resources/event.rbi +0 -149
  322. data/rbi/stripe/resources/exchange_rate.rbi +0 -66
  323. data/rbi/stripe/resources/file.rbi +0 -143
  324. data/rbi/stripe/resources/file_link.rbi +0 -141
  325. data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
  326. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  327. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  328. data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
  329. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
  330. data/rbi/stripe/resources/forwarding/request.rbi +0 -216
  331. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  332. data/rbi/stripe/resources/identity/verification_report.rbi +0 -351
  333. data/rbi/stripe/resources/identity/verification_session.rbi +0 -517
  334. data/rbi/stripe/resources/invoice.rbi +0 -3736
  335. data/rbi/stripe/resources/invoice_item.rbi +0 -475
  336. data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
  337. data/rbi/stripe/resources/invoice_payment.rbi +0 -114
  338. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
  339. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
  340. data/rbi/stripe/resources/issuing/card.rbi +0 -741
  341. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
  342. data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
  343. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
  344. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
  345. data/rbi/stripe/resources/issuing/token.rbi +0 -226
  346. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
  347. data/rbi/stripe/resources/line_item.rbi +0 -72
  348. data/rbi/stripe/resources/login_link.rbi +0 -19
  349. data/rbi/stripe/resources/mandate.rbi +0 -187
  350. data/rbi/stripe/resources/payment_intent.rbi +0 -9795
  351. data/rbi/stripe/resources/payment_link.rbi +0 -1801
  352. data/rbi/stripe/resources/payment_method.rbi +0 -1831
  353. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3220
  354. data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
  355. data/rbi/stripe/resources/payout.rbi +0 -300
  356. data/rbi/stripe/resources/person.rbi +0 -401
  357. data/rbi/stripe/resources/plan.rbi +0 -373
  358. data/rbi/stripe/resources/price.rbi +0 -694
  359. data/rbi/stripe/resources/product.rbi +0 -557
  360. data/rbi/stripe/resources/product_feature.rbi +0 -26
  361. data/rbi/stripe/resources/promotion_code.rbi +0 -261
  362. data/rbi/stripe/resources/quote.rbi +0 -1126
  363. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
  364. data/rbi/stripe/resources/radar/value_list.rbi +0 -170
  365. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -131
  366. data/rbi/stripe/resources/refund.rbi +0 -519
  367. data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
  368. data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
  369. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  370. data/rbi/stripe/resources/reversal.rbi +0 -51
  371. data/rbi/stripe/resources/review.rbi +0 -154
  372. data/rbi/stripe/resources/setup_attempt.rbi +0 -477
  373. data/rbi/stripe/resources/setup_intent.rbi +0 -3869
  374. data/rbi/stripe/resources/shipping_rate.rbi +0 -305
  375. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
  376. data/rbi/stripe/resources/source.rbi +0 -1496
  377. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  378. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  379. data/rbi/stripe/resources/subscription.rbi +0 -1964
  380. data/rbi/stripe/resources/subscription_item.rbi +0 -370
  381. data/rbi/stripe/resources/subscription_schedule.rbi +0 -1495
  382. data/rbi/stripe/resources/tax/calculation.rbi +0 -474
  383. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -88
  384. data/rbi/stripe/resources/tax/registration.rbi +0 -2713
  385. data/rbi/stripe/resources/tax/settings.rbi +0 -141
  386. data/rbi/stripe/resources/tax/transaction.rbi +0 -351
  387. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  388. data/rbi/stripe/resources/tax_code.rbi +0 -44
  389. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  390. data/rbi/stripe/resources/tax_id.rbi +0 -167
  391. data/rbi/stripe/resources/tax_rate.rbi +0 -239
  392. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1388
  393. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  394. data/rbi/stripe/resources/terminal/location.rbi +0 -224
  395. data/rbi/stripe/resources/terminal/reader.rbi +0 -587
  396. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -134
  397. data/rbi/stripe/resources/token.rbi +0 -1283
  398. data/rbi/stripe/resources/topup.rbi +0 -222
  399. data/rbi/stripe/resources/transfer.rbi +0 -199
  400. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
  401. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
  402. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -865
  403. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
  404. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
  405. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
  406. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
  407. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
  408. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
  409. data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
  410. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
  411. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  412. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  413. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  414. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  415. data/rbi/stripe/resources/v2/event.rbi +0 -48
  416. data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
  417. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -170
  418. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  419. data/rbi/stripe/services/account_link_service.rbi +0 -58
  420. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  421. data/rbi/stripe/services/account_person_service.rbi +0 -1013
  422. data/rbi/stripe/services/account_service.rbi +0 -4189
  423. data/rbi/stripe/services/account_session_service.rbi +0 -572
  424. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -78
  425. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
  426. data/rbi/stripe/services/application_fee_service.rbi +0 -78
  427. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  428. data/rbi/stripe/services/apps_service.rbi +0 -9
  429. data/rbi/stripe/services/balance_service.rbi +0 -21
  430. data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
  431. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  432. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
  433. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  434. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
  435. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
  436. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  437. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  438. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  439. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -511
  440. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
  441. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  442. data/rbi/stripe/services/billing_service.rbi +0 -15
  443. data/rbi/stripe/services/charge_service.rbi +0 -448
  444. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  445. data/rbi/stripe/services/checkout/session_service.rbi +0 -2607
  446. data/rbi/stripe/services/checkout_service.rbi +0 -9
  447. data/rbi/stripe/services/climate/order_service.rbi +0 -142
  448. data/rbi/stripe/services/climate/product_service.rbi +0 -46
  449. data/rbi/stripe/services/climate_service.rbi +0 -11
  450. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  451. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  452. data/rbi/stripe/services/coupon_service.rbi +0 -196
  453. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  454. data/rbi/stripe/services/credit_note_service.rbi +0 -416
  455. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  456. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  457. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  458. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  459. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  460. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
  461. data/rbi/stripe/services/customer_service.rbi +0 -651
  462. data/rbi/stripe/services/customer_session_service.rbi +0 -116
  463. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -72
  464. data/rbi/stripe/services/dispute_service.rbi +0 -424
  465. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  466. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  467. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  468. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  469. data/rbi/stripe/services/event_service.rbi +0 -83
  470. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  471. data/rbi/stripe/services/file_link_service.rbi +0 -124
  472. data/rbi/stripe/services/file_service.rbi +0 -116
  473. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  474. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
  475. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
  476. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
  477. data/rbi/stripe/services/financial_connections_service.rbi +0 -11
  478. data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
  479. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  480. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
  481. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -323
  482. data/rbi/stripe/services/identity_service.rbi +0 -10
  483. data/rbi/stripe/services/invoice_item_service.rbi +0 -368
  484. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
  485. data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
  486. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  487. data/rbi/stripe/services/invoice_service.rbi +0 -2920
  488. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
  489. data/rbi/stripe/services/issuing/card_service.rbi +0 -495
  490. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
  491. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
  492. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
  493. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  494. data/rbi/stripe/services/issuing/token_service.rbi +0 -99
  495. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
  496. data/rbi/stripe/services/issuing_service.rbi +0 -16
  497. data/rbi/stripe/services/mandate_service.rbi +0 -20
  498. data/rbi/stripe/services/payment_intent_service.rbi +0 -7819
  499. data/rbi/stripe/services/payment_link_service.rbi +0 -1352
  500. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2255
  501. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
  502. data/rbi/stripe/services/payment_method_service.rbi +0 -846
  503. data/rbi/stripe/services/payout_service.rbi +0 -205
  504. data/rbi/stripe/services/plan_service.rbi +0 -284
  505. data/rbi/stripe/services/price_service.rbi +0 -546
  506. data/rbi/stripe/services/product_feature_service.rbi +0 -69
  507. data/rbi/stripe/services/product_service.rbi +0 -479
  508. data/rbi/stripe/services/promotion_code_service.rbi +0 -214
  509. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  510. data/rbi/stripe/services/quote_service.rbi +0 -686
  511. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
  512. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -111
  513. data/rbi/stripe/services/radar/value_list_service.rbi +0 -143
  514. data/rbi/stripe/services/radar_service.rbi +0 -11
  515. data/rbi/stripe/services/refund_service.rbi +0 -185
  516. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
  517. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  518. data/rbi/stripe/services/reporting_service.rbi +0 -10
  519. data/rbi/stripe/services/review_service.rbi +0 -84
  520. data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
  521. data/rbi/stripe/services/setup_intent_service.rbi +0 -3605
  522. data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
  523. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  524. data/rbi/stripe/services/sigma_service.rbi +0 -9
  525. data/rbi/stripe/services/source_service.rbi +0 -663
  526. data/rbi/stripe/services/subscription_item_service.rbi +0 -324
  527. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1192
  528. data/rbi/stripe/services/subscription_service.rbi +0 -1596
  529. data/rbi/stripe/services/tax/calculation_service.rbi +0 -230
  530. data/rbi/stripe/services/tax/registration_service.rbi +0 -1845
  531. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  532. data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
  533. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  534. data/rbi/stripe/services/tax_id_service.rbi +0 -112
  535. data/rbi/stripe/services/tax_rate_service.rbi +0 -185
  536. data/rbi/stripe/services/tax_service.rbi +0 -12
  537. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1120
  538. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  539. data/rbi/stripe/services/terminal/location_service.rbi +0 -184
  540. data/rbi/stripe/services/terminal/reader_service.rbi +0 -344
  541. data/rbi/stripe/services/terminal_service.rbi +0 -12
  542. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -805
  543. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  544. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
  545. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  546. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
  547. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
  548. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  549. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  550. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -62
  551. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  552. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -92
  553. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  554. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
  555. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
  556. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
  557. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
  558. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  559. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  560. data/rbi/stripe/services/token_service.rbi +0 -1257
  561. data/rbi/stripe/services/topup_service.rbi +0 -176
  562. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
  563. data/rbi/stripe/services/transfer_service.rbi +0 -152
  564. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  565. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  566. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
  567. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -562
  568. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  569. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
  570. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
  571. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
  572. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  573. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
  574. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
  575. data/rbi/stripe/services/treasury_service.rbi +0 -18
  576. data/rbi/stripe/services/v1_services.rbi +0 -77
  577. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  578. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  579. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -20
  580. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  581. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  582. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -200
  583. data/rbi/stripe/services/v2/core/event_service.rbi +0 -38
  584. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  585. data/rbi/stripe/services/v2_services.rbi +0 -10
  586. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -131
@@ -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.
@@ -132,8 +134,14 @@ module Stripe
132
134
  attr_reader :gb_bank_transfer_payments
133
135
  # The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
134
136
  attr_reader :giropay_payments
137
+ # The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
138
+ attr_reader :gopay_payments
135
139
  # The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
136
140
  attr_reader :grabpay_payments
141
+ # The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
142
+ attr_reader :id_bank_transfer_payments
143
+ # The status of Bank BCA onboarding of the account.
144
+ attr_reader :id_bank_transfer_payments_bca
137
145
  # The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
138
146
  attr_reader :ideal_payments
139
147
  # The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.
@@ -154,6 +162,8 @@ module Stripe
154
162
  attr_reader :legacy_payments
155
163
  # The status of the link_payments capability of the account, or whether the account can directly process Link charges.
156
164
  attr_reader :link_payments
165
+ # The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
166
+ attr_reader :mb_way_payments
157
167
  # The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
158
168
  attr_reader :mobilepay_payments
159
169
  # The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.
@@ -174,8 +184,16 @@ module Stripe
174
184
  attr_reader :payco_payments
175
185
  # The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
176
186
  attr_reader :paynow_payments
187
+ # The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
188
+ attr_reader :paypal_payments
189
+ # The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
190
+ attr_reader :payto_payments
177
191
  # The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
178
192
  attr_reader :promptpay_payments
193
+ # The status of the Qris capability of the account, or whether the account can directly process Qris payments.
194
+ attr_reader :qris_payments
195
+ # The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
196
+ attr_reader :rechnung_payments
179
197
  # The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
180
198
  attr_reader :revolut_pay_payments
181
199
  # The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
@@ -186,8 +204,12 @@ module Stripe
186
204
  attr_reader :sepa_bank_transfer_payments
187
205
  # The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
188
206
  attr_reader :sepa_debit_payments
207
+ # The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
208
+ attr_reader :shopeepay_payments
189
209
  # The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
190
210
  attr_reader :sofort_payments
211
+ # The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
212
+ attr_reader :stripe_balance_payments
191
213
  # The status of the Swish capability of the account, or whether the account can directly process Swish payments.
192
214
  attr_reader :swish_payments
193
215
  # The status of the tax reporting 1099-K (US) capability of the account.
@@ -198,6 +220,12 @@ module Stripe
198
220
  attr_reader :transfers
199
221
  # The status of the banking capability, or whether the account can have bank accounts.
200
222
  attr_reader :treasury
223
+ # The status of the treasury_evolve capability of the account.
224
+ attr_reader :treasury_evolve
225
+ # The status of the treasury_fifth_third capability of the account.
226
+ attr_reader :treasury_fifth_third
227
+ # The status of the treasury_goldman_sachs capability of the account.
228
+ attr_reader :treasury_goldman_sachs
201
229
  # The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
202
230
  attr_reader :twint_payments
203
231
  # The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
@@ -344,6 +372,20 @@ module Stripe
344
372
  end
345
373
 
346
374
  class Controller < Stripe::StripeObject
375
+ class Application < Stripe::StripeObject
376
+ # `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
377
+ attr_reader :loss_liable
378
+ # `true` if the Connect application is responsible for onboarding the account.
379
+ attr_reader :onboarding_owner
380
+ # `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
381
+ attr_reader :pricing_controls
382
+ end
383
+
384
+ class Dashboard < Stripe::StripeObject
385
+ # Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
386
+ attr_reader :type
387
+ end
388
+
347
389
  class Fees < Stripe::StripeObject
348
390
  # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
349
391
  attr_reader :payer
@@ -358,6 +400,10 @@ module Stripe
358
400
  # A value indicating the Stripe dashboard this account has access to independent of the Connect application.
359
401
  attr_reader :type
360
402
  end
403
+ # Attribute for field application
404
+ attr_reader :application
405
+ # Attribute for field dashboard
406
+ attr_reader :dashboard
361
407
  # Attribute for field fees
362
408
  attr_reader :fees
363
409
  # `true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://stripe.com/docs/connect/platform-controls-for-standard-accounts). Otherwise, this field is null.
@@ -445,6 +491,24 @@ module Stripe
445
491
  attr_reader :pending_verification
446
492
  end
447
493
 
494
+ class RiskControls < Stripe::StripeObject
495
+ class Charges < Stripe::StripeObject
496
+ # Whether a pause of the risk control has been requested.
497
+ attr_reader :pause_requested
498
+ end
499
+
500
+ class Payouts < Stripe::StripeObject
501
+ # Whether a pause of the risk control has been requested.
502
+ attr_reader :pause_requested
503
+ end
504
+ # Attribute for field charges
505
+ attr_reader :charges
506
+ # Attribute for field payouts
507
+ attr_reader :payouts
508
+ # Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://stripe.com/docs/connect/)
509
+ attr_reader :rejected_reason
510
+ end
511
+
448
512
  class Settings < Stripe::StripeObject
449
513
  class BacsDebitPayments < Stripe::StripeObject
450
514
  # The Bacs Direct Debit display name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. The fee appears 5 business days after requesting Bacs. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -453,6 +517,13 @@ module Stripe
453
517
  attr_reader :service_user_number
454
518
  end
455
519
 
520
+ class BankBcaOnboarding < Stripe::StripeObject
521
+ # Bank BCA business account holder name.
522
+ attr_reader :account_holder_name
523
+ # Bank BCA business account number.
524
+ attr_reader :business_account_number
525
+ end
526
+
456
527
  class Branding < Stripe::StripeObject
457
528
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
458
529
  attr_reader :icon
@@ -464,6 +535,13 @@ module Stripe
464
535
  attr_reader :secondary_color
465
536
  end
466
537
 
538
+ class Capital < Stripe::StripeObject
539
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
540
+ attr_reader :payout_destination
541
+ # Per-currency mapping of all destination accounts eligible to receive loan payouts.
542
+ attr_reader :payout_destination_selector
543
+ end
544
+
467
545
  class CardIssuing < Stripe::StripeObject
468
546
  class TosAcceptance < Stripe::StripeObject
469
547
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -545,6 +623,11 @@ module Stripe
545
623
  attr_reader :creditor_id
546
624
  end
547
625
 
626
+ class TaxForms < Stripe::StripeObject
627
+ # Whether the account opted out of receiving their tax forms by postal delivery.
628
+ attr_reader :consented_to_paperless_delivery
629
+ end
630
+
548
631
  class Treasury < Stripe::StripeObject
549
632
  class TosAcceptance < Stripe::StripeObject
550
633
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -559,8 +642,12 @@ module Stripe
559
642
  end
560
643
  # Attribute for field bacs_debit_payments
561
644
  attr_reader :bacs_debit_payments
645
+ # Attribute for field bank_bca_onboarding
646
+ attr_reader :bank_bca_onboarding
562
647
  # Attribute for field branding
563
648
  attr_reader :branding
649
+ # Attribute for field capital
650
+ attr_reader :capital
564
651
  # Attribute for field card_issuing
565
652
  attr_reader :card_issuing
566
653
  # Attribute for field card_payments
@@ -575,6 +662,8 @@ module Stripe
575
662
  attr_reader :payouts
576
663
  # Attribute for field sepa_debit_payments
577
664
  attr_reader :sepa_debit_payments
665
+ # Attribute for field tax_forms
666
+ attr_reader :tax_forms
578
667
  # Attribute for field treasury
579
668
  attr_reader :treasury
580
669
  end
@@ -796,6 +885,15 @@ module Stripe
796
885
  end
797
886
  end
798
887
 
888
+ class AutomaticIndirectTax < Stripe::RequestParams
889
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
890
+ attr_accessor :requested
891
+
892
+ def initialize(requested: nil)
893
+ @requested = requested
894
+ end
895
+ end
896
+
799
897
  class BacsDebitPayments < Stripe::RequestParams
800
898
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
801
899
  attr_accessor :requested
@@ -922,6 +1020,15 @@ module Stripe
922
1020
  end
923
1021
  end
924
1022
 
1023
+ class GopayPayments < Stripe::RequestParams
1024
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1025
+ attr_accessor :requested
1026
+
1027
+ def initialize(requested: nil)
1028
+ @requested = requested
1029
+ end
1030
+ end
1031
+
925
1032
  class GrabpayPayments < Stripe::RequestParams
926
1033
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
927
1034
  attr_accessor :requested
@@ -931,6 +1038,24 @@ module Stripe
931
1038
  end
932
1039
  end
933
1040
 
1041
+ class IdBankTransferPayments < Stripe::RequestParams
1042
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1043
+ attr_accessor :requested
1044
+
1045
+ def initialize(requested: nil)
1046
+ @requested = requested
1047
+ end
1048
+ end
1049
+
1050
+ class IdBankTransferPaymentsBca < Stripe::RequestParams
1051
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1052
+ attr_accessor :requested
1053
+
1054
+ def initialize(requested: nil)
1055
+ @requested = requested
1056
+ end
1057
+ end
1058
+
934
1059
  class IdealPayments < Stripe::RequestParams
935
1060
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
936
1061
  attr_accessor :requested
@@ -1021,6 +1146,15 @@ module Stripe
1021
1146
  end
1022
1147
  end
1023
1148
 
1149
+ class MbWayPayments < Stripe::RequestParams
1150
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1151
+ attr_accessor :requested
1152
+
1153
+ def initialize(requested: nil)
1154
+ @requested = requested
1155
+ end
1156
+ end
1157
+
1024
1158
  class MobilepayPayments < Stripe::RequestParams
1025
1159
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1026
1160
  attr_accessor :requested
@@ -1111,6 +1245,24 @@ module Stripe
1111
1245
  end
1112
1246
  end
1113
1247
 
1248
+ class PaypalPayments < Stripe::RequestParams
1249
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1250
+ attr_accessor :requested
1251
+
1252
+ def initialize(requested: nil)
1253
+ @requested = requested
1254
+ end
1255
+ end
1256
+
1257
+ class PaytoPayments < Stripe::RequestParams
1258
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1259
+ attr_accessor :requested
1260
+
1261
+ def initialize(requested: nil)
1262
+ @requested = requested
1263
+ end
1264
+ end
1265
+
1114
1266
  class PromptpayPayments < Stripe::RequestParams
1115
1267
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1116
1268
  attr_accessor :requested
@@ -1120,6 +1272,24 @@ module Stripe
1120
1272
  end
1121
1273
  end
1122
1274
 
1275
+ class QrisPayments < Stripe::RequestParams
1276
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1277
+ attr_accessor :requested
1278
+
1279
+ def initialize(requested: nil)
1280
+ @requested = requested
1281
+ end
1282
+ end
1283
+
1284
+ class RechnungPayments < Stripe::RequestParams
1285
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1286
+ attr_accessor :requested
1287
+
1288
+ def initialize(requested: nil)
1289
+ @requested = requested
1290
+ end
1291
+ end
1292
+
1123
1293
  class RevolutPayPayments < Stripe::RequestParams
1124
1294
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1125
1295
  attr_accessor :requested
@@ -1165,6 +1335,15 @@ module Stripe
1165
1335
  end
1166
1336
  end
1167
1337
 
1338
+ class ShopeepayPayments < Stripe::RequestParams
1339
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1340
+ attr_accessor :requested
1341
+
1342
+ def initialize(requested: nil)
1343
+ @requested = requested
1344
+ end
1345
+ end
1346
+
1168
1347
  class SofortPayments < Stripe::RequestParams
1169
1348
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1170
1349
  attr_accessor :requested
@@ -1174,6 +1353,15 @@ module Stripe
1174
1353
  end
1175
1354
  end
1176
1355
 
1356
+ class StripeBalancePayments < Stripe::RequestParams
1357
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1358
+ attr_accessor :requested
1359
+
1360
+ def initialize(requested: nil)
1361
+ @requested = requested
1362
+ end
1363
+ end
1364
+
1177
1365
  class SwishPayments < Stripe::RequestParams
1178
1366
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1179
1367
  attr_accessor :requested
@@ -1219,6 +1407,33 @@ module Stripe
1219
1407
  end
1220
1408
  end
1221
1409
 
1410
+ class TreasuryEvolve < Stripe::RequestParams
1411
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1412
+ attr_accessor :requested
1413
+
1414
+ def initialize(requested: nil)
1415
+ @requested = requested
1416
+ end
1417
+ end
1418
+
1419
+ class TreasuryFifthThird < Stripe::RequestParams
1420
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1421
+ attr_accessor :requested
1422
+
1423
+ def initialize(requested: nil)
1424
+ @requested = requested
1425
+ end
1426
+ end
1427
+
1428
+ class TreasuryGoldmanSachs < Stripe::RequestParams
1429
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1430
+ attr_accessor :requested
1431
+
1432
+ def initialize(requested: nil)
1433
+ @requested = requested
1434
+ end
1435
+ end
1436
+
1222
1437
  class TwintPayments < Stripe::RequestParams
1223
1438
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1224
1439
  attr_accessor :requested
@@ -1266,6 +1481,8 @@ module Stripe
1266
1481
  attr_accessor :amazon_pay_payments
1267
1482
  # The au_becs_debit_payments capability.
1268
1483
  attr_accessor :au_becs_debit_payments
1484
+ # The automatic_indirect_tax capability.
1485
+ attr_accessor :automatic_indirect_tax
1269
1486
  # The bacs_debit_payments capability.
1270
1487
  attr_accessor :bacs_debit_payments
1271
1488
  # The bancontact_payments capability.
@@ -1294,8 +1511,14 @@ module Stripe
1294
1511
  attr_accessor :gb_bank_transfer_payments
1295
1512
  # The giropay_payments capability.
1296
1513
  attr_accessor :giropay_payments
1514
+ # The gopay_payments capability.
1515
+ attr_accessor :gopay_payments
1297
1516
  # The grabpay_payments capability.
1298
1517
  attr_accessor :grabpay_payments
1518
+ # The id_bank_transfer_payments capability.
1519
+ attr_accessor :id_bank_transfer_payments
1520
+ # The id_bank_transfer_payments_bca capability.
1521
+ attr_accessor :id_bank_transfer_payments_bca
1299
1522
  # The ideal_payments capability.
1300
1523
  attr_accessor :ideal_payments
1301
1524
  # The india_international_payments capability.
@@ -1316,6 +1539,8 @@ module Stripe
1316
1539
  attr_accessor :legacy_payments
1317
1540
  # The link_payments capability.
1318
1541
  attr_accessor :link_payments
1542
+ # The mb_way_payments capability.
1543
+ attr_accessor :mb_way_payments
1319
1544
  # The mobilepay_payments capability.
1320
1545
  attr_accessor :mobilepay_payments
1321
1546
  # The multibanco_payments capability.
@@ -1336,8 +1561,16 @@ module Stripe
1336
1561
  attr_accessor :payco_payments
1337
1562
  # The paynow_payments capability.
1338
1563
  attr_accessor :paynow_payments
1564
+ # The paypal_payments capability.
1565
+ attr_accessor :paypal_payments
1566
+ # The payto_payments capability.
1567
+ attr_accessor :payto_payments
1339
1568
  # The promptpay_payments capability.
1340
1569
  attr_accessor :promptpay_payments
1570
+ # The qris_payments capability.
1571
+ attr_accessor :qris_payments
1572
+ # The rechnung_payments capability.
1573
+ attr_accessor :rechnung_payments
1341
1574
  # The revolut_pay_payments capability.
1342
1575
  attr_accessor :revolut_pay_payments
1343
1576
  # The samsung_pay_payments capability.
@@ -1348,8 +1581,12 @@ module Stripe
1348
1581
  attr_accessor :sepa_bank_transfer_payments
1349
1582
  # The sepa_debit_payments capability.
1350
1583
  attr_accessor :sepa_debit_payments
1584
+ # The shopeepay_payments capability.
1585
+ attr_accessor :shopeepay_payments
1351
1586
  # The sofort_payments capability.
1352
1587
  attr_accessor :sofort_payments
1588
+ # The stripe_balance_payments capability.
1589
+ attr_accessor :stripe_balance_payments
1353
1590
  # The swish_payments capability.
1354
1591
  attr_accessor :swish_payments
1355
1592
  # The tax_reporting_us_1099_k capability.
@@ -1360,6 +1597,12 @@ module Stripe
1360
1597
  attr_accessor :transfers
1361
1598
  # The treasury capability.
1362
1599
  attr_accessor :treasury
1600
+ # The treasury_evolve capability.
1601
+ attr_accessor :treasury_evolve
1602
+ # The treasury_fifth_third capability.
1603
+ attr_accessor :treasury_fifth_third
1604
+ # The treasury_goldman_sachs capability.
1605
+ attr_accessor :treasury_goldman_sachs
1363
1606
  # The twint_payments capability.
1364
1607
  attr_accessor :twint_payments
1365
1608
  # The us_bank_account_ach_payments capability.
@@ -1376,6 +1619,7 @@ module Stripe
1376
1619
  alma_payments: nil,
1377
1620
  amazon_pay_payments: nil,
1378
1621
  au_becs_debit_payments: nil,
1622
+ automatic_indirect_tax: nil,
1379
1623
  bacs_debit_payments: nil,
1380
1624
  bancontact_payments: nil,
1381
1625
  bank_transfer_payments: nil,
@@ -1390,7 +1634,10 @@ module Stripe
1390
1634
  fpx_payments: nil,
1391
1635
  gb_bank_transfer_payments: nil,
1392
1636
  giropay_payments: nil,
1637
+ gopay_payments: nil,
1393
1638
  grabpay_payments: nil,
1639
+ id_bank_transfer_payments: nil,
1640
+ id_bank_transfer_payments_bca: nil,
1394
1641
  ideal_payments: nil,
1395
1642
  india_international_payments: nil,
1396
1643
  jcb_payments: nil,
@@ -1401,6 +1648,7 @@ module Stripe
1401
1648
  kr_card_payments: nil,
1402
1649
  legacy_payments: nil,
1403
1650
  link_payments: nil,
1651
+ mb_way_payments: nil,
1404
1652
  mobilepay_payments: nil,
1405
1653
  multibanco_payments: nil,
1406
1654
  mx_bank_transfer_payments: nil,
@@ -1411,18 +1659,27 @@ module Stripe
1411
1659
  pay_by_bank_payments: nil,
1412
1660
  payco_payments: nil,
1413
1661
  paynow_payments: nil,
1662
+ paypal_payments: nil,
1663
+ payto_payments: nil,
1414
1664
  promptpay_payments: nil,
1665
+ qris_payments: nil,
1666
+ rechnung_payments: nil,
1415
1667
  revolut_pay_payments: nil,
1416
1668
  samsung_pay_payments: nil,
1417
1669
  satispay_payments: nil,
1418
1670
  sepa_bank_transfer_payments: nil,
1419
1671
  sepa_debit_payments: nil,
1672
+ shopeepay_payments: nil,
1420
1673
  sofort_payments: nil,
1674
+ stripe_balance_payments: nil,
1421
1675
  swish_payments: nil,
1422
1676
  tax_reporting_us_1099_k: nil,
1423
1677
  tax_reporting_us_1099_misc: nil,
1424
1678
  transfers: nil,
1425
1679
  treasury: nil,
1680
+ treasury_evolve: nil,
1681
+ treasury_fifth_third: nil,
1682
+ treasury_goldman_sachs: nil,
1426
1683
  twint_payments: nil,
1427
1684
  us_bank_account_ach_payments: nil,
1428
1685
  us_bank_transfer_payments: nil,
@@ -1434,6 +1691,7 @@ module Stripe
1434
1691
  @alma_payments = alma_payments
1435
1692
  @amazon_pay_payments = amazon_pay_payments
1436
1693
  @au_becs_debit_payments = au_becs_debit_payments
1694
+ @automatic_indirect_tax = automatic_indirect_tax
1437
1695
  @bacs_debit_payments = bacs_debit_payments
1438
1696
  @bancontact_payments = bancontact_payments
1439
1697
  @bank_transfer_payments = bank_transfer_payments
@@ -1448,7 +1706,10 @@ module Stripe
1448
1706
  @fpx_payments = fpx_payments
1449
1707
  @gb_bank_transfer_payments = gb_bank_transfer_payments
1450
1708
  @giropay_payments = giropay_payments
1709
+ @gopay_payments = gopay_payments
1451
1710
  @grabpay_payments = grabpay_payments
1711
+ @id_bank_transfer_payments = id_bank_transfer_payments
1712
+ @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1452
1713
  @ideal_payments = ideal_payments
1453
1714
  @india_international_payments = india_international_payments
1454
1715
  @jcb_payments = jcb_payments
@@ -1459,6 +1720,7 @@ module Stripe
1459
1720
  @kr_card_payments = kr_card_payments
1460
1721
  @legacy_payments = legacy_payments
1461
1722
  @link_payments = link_payments
1723
+ @mb_way_payments = mb_way_payments
1462
1724
  @mobilepay_payments = mobilepay_payments
1463
1725
  @multibanco_payments = multibanco_payments
1464
1726
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -1469,18 +1731,27 @@ module Stripe
1469
1731
  @pay_by_bank_payments = pay_by_bank_payments
1470
1732
  @payco_payments = payco_payments
1471
1733
  @paynow_payments = paynow_payments
1734
+ @paypal_payments = paypal_payments
1735
+ @payto_payments = payto_payments
1472
1736
  @promptpay_payments = promptpay_payments
1737
+ @qris_payments = qris_payments
1738
+ @rechnung_payments = rechnung_payments
1473
1739
  @revolut_pay_payments = revolut_pay_payments
1474
1740
  @samsung_pay_payments = samsung_pay_payments
1475
1741
  @satispay_payments = satispay_payments
1476
1742
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1477
1743
  @sepa_debit_payments = sepa_debit_payments
1744
+ @shopeepay_payments = shopeepay_payments
1478
1745
  @sofort_payments = sofort_payments
1746
+ @stripe_balance_payments = stripe_balance_payments
1479
1747
  @swish_payments = swish_payments
1480
1748
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1481
1749
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1482
1750
  @transfers = transfers
1483
1751
  @treasury = treasury
1752
+ @treasury_evolve = treasury_evolve
1753
+ @treasury_fifth_third = treasury_fifth_third
1754
+ @treasury_goldman_sachs = treasury_goldman_sachs
1484
1755
  @twint_payments = twint_payments
1485
1756
  @us_bank_account_ach_payments = us_bank_account_ach_payments
1486
1757
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -2256,6 +2527,37 @@ module Stripe
2256
2527
  end
2257
2528
  end
2258
2529
 
2530
+ class RiskControls < Stripe::RequestParams
2531
+ class Charges < Stripe::RequestParams
2532
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2533
+ # There can be a delay before the risk control is paused or unpaused.
2534
+ attr_accessor :pause_requested
2535
+
2536
+ def initialize(pause_requested: nil)
2537
+ @pause_requested = pause_requested
2538
+ end
2539
+ end
2540
+
2541
+ class Payouts < Stripe::RequestParams
2542
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2543
+ # There can be a delay before the risk control is paused or unpaused.
2544
+ attr_accessor :pause_requested
2545
+
2546
+ def initialize(pause_requested: nil)
2547
+ @pause_requested = pause_requested
2548
+ end
2549
+ end
2550
+ # Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
2551
+ attr_accessor :charges
2552
+ # Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
2553
+ attr_accessor :payouts
2554
+
2555
+ def initialize(charges: nil, payouts: nil)
2556
+ @charges = charges
2557
+ @payouts = payouts
2558
+ end
2559
+ end
2560
+
2259
2561
  class Settings < Stripe::RequestParams
2260
2562
  class BacsDebitPayments < Stripe::RequestParams
2261
2563
  # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -2266,6 +2568,18 @@ module Stripe
2266
2568
  end
2267
2569
  end
2268
2570
 
2571
+ class BankBcaOnboarding < Stripe::RequestParams
2572
+ # Bank BCA business account holder name
2573
+ attr_accessor :account_holder_name
2574
+ # Bank BCA business account number
2575
+ attr_accessor :business_account_number
2576
+
2577
+ def initialize(account_holder_name: nil, business_account_number: nil)
2578
+ @account_holder_name = account_holder_name
2579
+ @business_account_number = business_account_number
2580
+ end
2581
+ end
2582
+
2269
2583
  class Branding < Stripe::RequestParams
2270
2584
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
2271
2585
  attr_accessor :icon
@@ -2284,6 +2598,18 @@ module Stripe
2284
2598
  end
2285
2599
  end
2286
2600
 
2601
+ class Capital < Stripe::RequestParams
2602
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
2603
+ attr_accessor :payout_destination
2604
+ # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
2605
+ attr_accessor :payout_destination_selector
2606
+
2607
+ def initialize(payout_destination: nil, payout_destination_selector: nil)
2608
+ @payout_destination = payout_destination
2609
+ @payout_destination_selector = payout_destination_selector
2610
+ end
2611
+ end
2612
+
2287
2613
  class CardIssuing < Stripe::RequestParams
2288
2614
  class TosAcceptance < Stripe::RequestParams
2289
2615
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2404,6 +2730,15 @@ module Stripe
2404
2730
  end
2405
2731
  end
2406
2732
 
2733
+ class TaxForms < Stripe::RequestParams
2734
+ # Whether the account opted out of receiving their tax forms by postal delivery.
2735
+ attr_accessor :consented_to_paperless_delivery
2736
+
2737
+ def initialize(consented_to_paperless_delivery: nil)
2738
+ @consented_to_paperless_delivery = consented_to_paperless_delivery
2739
+ end
2740
+ end
2741
+
2407
2742
  class Treasury < Stripe::RequestParams
2408
2743
  class TosAcceptance < Stripe::RequestParams
2409
2744
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2428,8 +2763,12 @@ module Stripe
2428
2763
  end
2429
2764
  # Settings specific to Bacs Direct Debit payments.
2430
2765
  attr_accessor :bacs_debit_payments
2766
+ # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2767
+ attr_accessor :bank_bca_onboarding
2431
2768
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2432
2769
  attr_accessor :branding
2770
+ # Settings specific to the account's use of the Capital product.
2771
+ attr_accessor :capital
2433
2772
  # Settings specific to the account's use of the Card Issuing product.
2434
2773
  attr_accessor :card_issuing
2435
2774
  # Settings specific to card charging on the account.
@@ -2440,26 +2779,34 @@ module Stripe
2440
2779
  attr_accessor :payments
2441
2780
  # Settings specific to the account's payouts.
2442
2781
  attr_accessor :payouts
2782
+ # Settings specific to the account's tax forms.
2783
+ attr_accessor :tax_forms
2443
2784
  # Settings specific to the account's Treasury FinancialAccounts.
2444
2785
  attr_accessor :treasury
2445
2786
 
2446
2787
  def initialize(
2447
2788
  bacs_debit_payments: nil,
2789
+ bank_bca_onboarding: nil,
2448
2790
  branding: nil,
2791
+ capital: nil,
2449
2792
  card_issuing: nil,
2450
2793
  card_payments: nil,
2451
2794
  invoices: nil,
2452
2795
  payments: nil,
2453
2796
  payouts: nil,
2797
+ tax_forms: nil,
2454
2798
  treasury: nil
2455
2799
  )
2456
2800
  @bacs_debit_payments = bacs_debit_payments
2801
+ @bank_bca_onboarding = bank_bca_onboarding
2457
2802
  @branding = branding
2803
+ @capital = capital
2458
2804
  @card_issuing = card_issuing
2459
2805
  @card_payments = card_payments
2460
2806
  @invoices = invoices
2461
2807
  @payments = payments
2462
2808
  @payouts = payouts
2809
+ @tax_forms = tax_forms
2463
2810
  @treasury = treasury
2464
2811
  end
2465
2812
  end
@@ -2514,6 +2861,8 @@ module Stripe
2514
2861
  attr_accessor :individual
2515
2862
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2516
2863
  attr_accessor :metadata
2864
+ # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2865
+ attr_accessor :risk_controls
2517
2866
  # Options for customizing how the account functions within Stripe.
2518
2867
  attr_accessor :settings
2519
2868
  # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
@@ -2533,6 +2882,7 @@ module Stripe
2533
2882
  groups: nil,
2534
2883
  individual: nil,
2535
2884
  metadata: nil,
2885
+ risk_controls: nil,
2536
2886
  settings: nil,
2537
2887
  tos_acceptance: nil
2538
2888
  )
@@ -2549,6 +2899,7 @@ module Stripe
2549
2899
  @groups = groups
2550
2900
  @individual = individual
2551
2901
  @metadata = metadata
2902
+ @risk_controls = risk_controls
2552
2903
  @settings = settings
2553
2904
  @tos_acceptance = tos_acceptance
2554
2905
  end
@@ -2795,6 +3146,15 @@ module Stripe
2795
3146
  end
2796
3147
  end
2797
3148
 
3149
+ class AutomaticIndirectTax < Stripe::RequestParams
3150
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3151
+ attr_accessor :requested
3152
+
3153
+ def initialize(requested: nil)
3154
+ @requested = requested
3155
+ end
3156
+ end
3157
+
2798
3158
  class BacsDebitPayments < Stripe::RequestParams
2799
3159
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2800
3160
  attr_accessor :requested
@@ -2921,6 +3281,15 @@ module Stripe
2921
3281
  end
2922
3282
  end
2923
3283
 
3284
+ class GopayPayments < Stripe::RequestParams
3285
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3286
+ attr_accessor :requested
3287
+
3288
+ def initialize(requested: nil)
3289
+ @requested = requested
3290
+ end
3291
+ end
3292
+
2924
3293
  class GrabpayPayments < Stripe::RequestParams
2925
3294
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2926
3295
  attr_accessor :requested
@@ -2930,6 +3299,24 @@ module Stripe
2930
3299
  end
2931
3300
  end
2932
3301
 
3302
+ class IdBankTransferPayments < Stripe::RequestParams
3303
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3304
+ attr_accessor :requested
3305
+
3306
+ def initialize(requested: nil)
3307
+ @requested = requested
3308
+ end
3309
+ end
3310
+
3311
+ class IdBankTransferPaymentsBca < Stripe::RequestParams
3312
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3313
+ attr_accessor :requested
3314
+
3315
+ def initialize(requested: nil)
3316
+ @requested = requested
3317
+ end
3318
+ end
3319
+
2933
3320
  class IdealPayments < Stripe::RequestParams
2934
3321
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2935
3322
  attr_accessor :requested
@@ -3020,6 +3407,15 @@ module Stripe
3020
3407
  end
3021
3408
  end
3022
3409
 
3410
+ class MbWayPayments < Stripe::RequestParams
3411
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3412
+ attr_accessor :requested
3413
+
3414
+ def initialize(requested: nil)
3415
+ @requested = requested
3416
+ end
3417
+ end
3418
+
3023
3419
  class MobilepayPayments < Stripe::RequestParams
3024
3420
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3025
3421
  attr_accessor :requested
@@ -3110,6 +3506,24 @@ module Stripe
3110
3506
  end
3111
3507
  end
3112
3508
 
3509
+ class PaypalPayments < Stripe::RequestParams
3510
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3511
+ attr_accessor :requested
3512
+
3513
+ def initialize(requested: nil)
3514
+ @requested = requested
3515
+ end
3516
+ end
3517
+
3518
+ class PaytoPayments < Stripe::RequestParams
3519
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3520
+ attr_accessor :requested
3521
+
3522
+ def initialize(requested: nil)
3523
+ @requested = requested
3524
+ end
3525
+ end
3526
+
3113
3527
  class PromptpayPayments < Stripe::RequestParams
3114
3528
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3115
3529
  attr_accessor :requested
@@ -3119,6 +3533,24 @@ module Stripe
3119
3533
  end
3120
3534
  end
3121
3535
 
3536
+ class QrisPayments < Stripe::RequestParams
3537
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3538
+ attr_accessor :requested
3539
+
3540
+ def initialize(requested: nil)
3541
+ @requested = requested
3542
+ end
3543
+ end
3544
+
3545
+ class RechnungPayments < Stripe::RequestParams
3546
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3547
+ attr_accessor :requested
3548
+
3549
+ def initialize(requested: nil)
3550
+ @requested = requested
3551
+ end
3552
+ end
3553
+
3122
3554
  class RevolutPayPayments < Stripe::RequestParams
3123
3555
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3124
3556
  attr_accessor :requested
@@ -3164,6 +3596,15 @@ module Stripe
3164
3596
  end
3165
3597
  end
3166
3598
 
3599
+ class ShopeepayPayments < Stripe::RequestParams
3600
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3601
+ attr_accessor :requested
3602
+
3603
+ def initialize(requested: nil)
3604
+ @requested = requested
3605
+ end
3606
+ end
3607
+
3167
3608
  class SofortPayments < Stripe::RequestParams
3168
3609
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3169
3610
  attr_accessor :requested
@@ -3173,6 +3614,15 @@ module Stripe
3173
3614
  end
3174
3615
  end
3175
3616
 
3617
+ class StripeBalancePayments < Stripe::RequestParams
3618
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3619
+ attr_accessor :requested
3620
+
3621
+ def initialize(requested: nil)
3622
+ @requested = requested
3623
+ end
3624
+ end
3625
+
3176
3626
  class SwishPayments < Stripe::RequestParams
3177
3627
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3178
3628
  attr_accessor :requested
@@ -3218,6 +3668,33 @@ module Stripe
3218
3668
  end
3219
3669
  end
3220
3670
 
3671
+ class TreasuryEvolve < Stripe::RequestParams
3672
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3673
+ attr_accessor :requested
3674
+
3675
+ def initialize(requested: nil)
3676
+ @requested = requested
3677
+ end
3678
+ end
3679
+
3680
+ class TreasuryFifthThird < Stripe::RequestParams
3681
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3682
+ attr_accessor :requested
3683
+
3684
+ def initialize(requested: nil)
3685
+ @requested = requested
3686
+ end
3687
+ end
3688
+
3689
+ class TreasuryGoldmanSachs < Stripe::RequestParams
3690
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3691
+ attr_accessor :requested
3692
+
3693
+ def initialize(requested: nil)
3694
+ @requested = requested
3695
+ end
3696
+ end
3697
+
3221
3698
  class TwintPayments < Stripe::RequestParams
3222
3699
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3223
3700
  attr_accessor :requested
@@ -3265,6 +3742,8 @@ module Stripe
3265
3742
  attr_accessor :amazon_pay_payments
3266
3743
  # The au_becs_debit_payments capability.
3267
3744
  attr_accessor :au_becs_debit_payments
3745
+ # The automatic_indirect_tax capability.
3746
+ attr_accessor :automatic_indirect_tax
3268
3747
  # The bacs_debit_payments capability.
3269
3748
  attr_accessor :bacs_debit_payments
3270
3749
  # The bancontact_payments capability.
@@ -3293,8 +3772,14 @@ module Stripe
3293
3772
  attr_accessor :gb_bank_transfer_payments
3294
3773
  # The giropay_payments capability.
3295
3774
  attr_accessor :giropay_payments
3775
+ # The gopay_payments capability.
3776
+ attr_accessor :gopay_payments
3296
3777
  # The grabpay_payments capability.
3297
3778
  attr_accessor :grabpay_payments
3779
+ # The id_bank_transfer_payments capability.
3780
+ attr_accessor :id_bank_transfer_payments
3781
+ # The id_bank_transfer_payments_bca capability.
3782
+ attr_accessor :id_bank_transfer_payments_bca
3298
3783
  # The ideal_payments capability.
3299
3784
  attr_accessor :ideal_payments
3300
3785
  # The india_international_payments capability.
@@ -3315,6 +3800,8 @@ module Stripe
3315
3800
  attr_accessor :legacy_payments
3316
3801
  # The link_payments capability.
3317
3802
  attr_accessor :link_payments
3803
+ # The mb_way_payments capability.
3804
+ attr_accessor :mb_way_payments
3318
3805
  # The mobilepay_payments capability.
3319
3806
  attr_accessor :mobilepay_payments
3320
3807
  # The multibanco_payments capability.
@@ -3335,8 +3822,16 @@ module Stripe
3335
3822
  attr_accessor :payco_payments
3336
3823
  # The paynow_payments capability.
3337
3824
  attr_accessor :paynow_payments
3825
+ # The paypal_payments capability.
3826
+ attr_accessor :paypal_payments
3827
+ # The payto_payments capability.
3828
+ attr_accessor :payto_payments
3338
3829
  # The promptpay_payments capability.
3339
3830
  attr_accessor :promptpay_payments
3831
+ # The qris_payments capability.
3832
+ attr_accessor :qris_payments
3833
+ # The rechnung_payments capability.
3834
+ attr_accessor :rechnung_payments
3340
3835
  # The revolut_pay_payments capability.
3341
3836
  attr_accessor :revolut_pay_payments
3342
3837
  # The samsung_pay_payments capability.
@@ -3347,8 +3842,12 @@ module Stripe
3347
3842
  attr_accessor :sepa_bank_transfer_payments
3348
3843
  # The sepa_debit_payments capability.
3349
3844
  attr_accessor :sepa_debit_payments
3845
+ # The shopeepay_payments capability.
3846
+ attr_accessor :shopeepay_payments
3350
3847
  # The sofort_payments capability.
3351
3848
  attr_accessor :sofort_payments
3849
+ # The stripe_balance_payments capability.
3850
+ attr_accessor :stripe_balance_payments
3352
3851
  # The swish_payments capability.
3353
3852
  attr_accessor :swish_payments
3354
3853
  # The tax_reporting_us_1099_k capability.
@@ -3359,6 +3858,12 @@ module Stripe
3359
3858
  attr_accessor :transfers
3360
3859
  # The treasury capability.
3361
3860
  attr_accessor :treasury
3861
+ # The treasury_evolve capability.
3862
+ attr_accessor :treasury_evolve
3863
+ # The treasury_fifth_third capability.
3864
+ attr_accessor :treasury_fifth_third
3865
+ # The treasury_goldman_sachs capability.
3866
+ attr_accessor :treasury_goldman_sachs
3362
3867
  # The twint_payments capability.
3363
3868
  attr_accessor :twint_payments
3364
3869
  # The us_bank_account_ach_payments capability.
@@ -3375,6 +3880,7 @@ module Stripe
3375
3880
  alma_payments: nil,
3376
3881
  amazon_pay_payments: nil,
3377
3882
  au_becs_debit_payments: nil,
3883
+ automatic_indirect_tax: nil,
3378
3884
  bacs_debit_payments: nil,
3379
3885
  bancontact_payments: nil,
3380
3886
  bank_transfer_payments: nil,
@@ -3389,7 +3895,10 @@ module Stripe
3389
3895
  fpx_payments: nil,
3390
3896
  gb_bank_transfer_payments: nil,
3391
3897
  giropay_payments: nil,
3898
+ gopay_payments: nil,
3392
3899
  grabpay_payments: nil,
3900
+ id_bank_transfer_payments: nil,
3901
+ id_bank_transfer_payments_bca: nil,
3393
3902
  ideal_payments: nil,
3394
3903
  india_international_payments: nil,
3395
3904
  jcb_payments: nil,
@@ -3400,6 +3909,7 @@ module Stripe
3400
3909
  kr_card_payments: nil,
3401
3910
  legacy_payments: nil,
3402
3911
  link_payments: nil,
3912
+ mb_way_payments: nil,
3403
3913
  mobilepay_payments: nil,
3404
3914
  multibanco_payments: nil,
3405
3915
  mx_bank_transfer_payments: nil,
@@ -3410,18 +3920,27 @@ module Stripe
3410
3920
  pay_by_bank_payments: nil,
3411
3921
  payco_payments: nil,
3412
3922
  paynow_payments: nil,
3923
+ paypal_payments: nil,
3924
+ payto_payments: nil,
3413
3925
  promptpay_payments: nil,
3926
+ qris_payments: nil,
3927
+ rechnung_payments: nil,
3414
3928
  revolut_pay_payments: nil,
3415
3929
  samsung_pay_payments: nil,
3416
3930
  satispay_payments: nil,
3417
3931
  sepa_bank_transfer_payments: nil,
3418
3932
  sepa_debit_payments: nil,
3933
+ shopeepay_payments: nil,
3419
3934
  sofort_payments: nil,
3935
+ stripe_balance_payments: nil,
3420
3936
  swish_payments: nil,
3421
3937
  tax_reporting_us_1099_k: nil,
3422
3938
  tax_reporting_us_1099_misc: nil,
3423
3939
  transfers: nil,
3424
3940
  treasury: nil,
3941
+ treasury_evolve: nil,
3942
+ treasury_fifth_third: nil,
3943
+ treasury_goldman_sachs: nil,
3425
3944
  twint_payments: nil,
3426
3945
  us_bank_account_ach_payments: nil,
3427
3946
  us_bank_transfer_payments: nil,
@@ -3433,6 +3952,7 @@ module Stripe
3433
3952
  @alma_payments = alma_payments
3434
3953
  @amazon_pay_payments = amazon_pay_payments
3435
3954
  @au_becs_debit_payments = au_becs_debit_payments
3955
+ @automatic_indirect_tax = automatic_indirect_tax
3436
3956
  @bacs_debit_payments = bacs_debit_payments
3437
3957
  @bancontact_payments = bancontact_payments
3438
3958
  @bank_transfer_payments = bank_transfer_payments
@@ -3447,7 +3967,10 @@ module Stripe
3447
3967
  @fpx_payments = fpx_payments
3448
3968
  @gb_bank_transfer_payments = gb_bank_transfer_payments
3449
3969
  @giropay_payments = giropay_payments
3970
+ @gopay_payments = gopay_payments
3450
3971
  @grabpay_payments = grabpay_payments
3972
+ @id_bank_transfer_payments = id_bank_transfer_payments
3973
+ @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
3451
3974
  @ideal_payments = ideal_payments
3452
3975
  @india_international_payments = india_international_payments
3453
3976
  @jcb_payments = jcb_payments
@@ -3458,6 +3981,7 @@ module Stripe
3458
3981
  @kr_card_payments = kr_card_payments
3459
3982
  @legacy_payments = legacy_payments
3460
3983
  @link_payments = link_payments
3984
+ @mb_way_payments = mb_way_payments
3461
3985
  @mobilepay_payments = mobilepay_payments
3462
3986
  @multibanco_payments = multibanco_payments
3463
3987
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -3468,18 +3992,27 @@ module Stripe
3468
3992
  @pay_by_bank_payments = pay_by_bank_payments
3469
3993
  @payco_payments = payco_payments
3470
3994
  @paynow_payments = paynow_payments
3995
+ @paypal_payments = paypal_payments
3996
+ @payto_payments = payto_payments
3471
3997
  @promptpay_payments = promptpay_payments
3998
+ @qris_payments = qris_payments
3999
+ @rechnung_payments = rechnung_payments
3472
4000
  @revolut_pay_payments = revolut_pay_payments
3473
4001
  @samsung_pay_payments = samsung_pay_payments
3474
4002
  @satispay_payments = satispay_payments
3475
4003
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
3476
4004
  @sepa_debit_payments = sepa_debit_payments
4005
+ @shopeepay_payments = shopeepay_payments
3477
4006
  @sofort_payments = sofort_payments
4007
+ @stripe_balance_payments = stripe_balance_payments
3478
4008
  @swish_payments = swish_payments
3479
4009
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
3480
4010
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
3481
4011
  @transfers = transfers
3482
4012
  @treasury = treasury
4013
+ @treasury_evolve = treasury_evolve
4014
+ @treasury_fifth_third = treasury_fifth_third
4015
+ @treasury_goldman_sachs = treasury_goldman_sachs
3483
4016
  @twint_payments = twint_payments
3484
4017
  @us_bank_account_ach_payments = us_bank_account_ach_payments
3485
4018
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -3830,6 +4363,30 @@ module Stripe
3830
4363
  end
3831
4364
 
3832
4365
  class Controller < Stripe::RequestParams
4366
+ class Application < Stripe::RequestParams
4367
+ # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
4368
+ attr_accessor :loss_liable
4369
+ # Whether the controller owns onboarding for this account.
4370
+ attr_accessor :onboarding_owner
4371
+ # Whether the controller has pricing controls for this account.
4372
+ attr_accessor :pricing_controls
4373
+
4374
+ def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
4375
+ @loss_liable = loss_liable
4376
+ @onboarding_owner = onboarding_owner
4377
+ @pricing_controls = pricing_controls
4378
+ end
4379
+ end
4380
+
4381
+ class Dashboard < Stripe::RequestParams
4382
+ # Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
4383
+ attr_accessor :type
4384
+
4385
+ def initialize(type: nil)
4386
+ @type = type
4387
+ end
4388
+ end
4389
+
3833
4390
  class Fees < Stripe::RequestParams
3834
4391
  # A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
3835
4392
  attr_accessor :payer
@@ -3856,6 +4413,10 @@ module Stripe
3856
4413
  @type = type
3857
4414
  end
3858
4415
  end
4416
+ # A hash of configuration describing the Connect application that controls the account.
4417
+ attr_accessor :application
4418
+ # Properties of the account's dashboard.
4419
+ attr_accessor :dashboard
3859
4420
  # A hash of configuration for who pays Stripe fees for product usage on this account.
3860
4421
  attr_accessor :fees
3861
4422
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -3865,7 +4426,16 @@ module Stripe
3865
4426
  # A hash of configuration for Stripe-hosted dashboards.
3866
4427
  attr_accessor :stripe_dashboard
3867
4428
 
3868
- def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
4429
+ def initialize(
4430
+ application: nil,
4431
+ dashboard: nil,
4432
+ fees: nil,
4433
+ losses: nil,
4434
+ requirement_collection: nil,
4435
+ stripe_dashboard: nil
4436
+ )
4437
+ @application = application
4438
+ @dashboard = dashboard
3869
4439
  @fees = fees
3870
4440
  @losses = losses
3871
4441
  @requirement_collection = requirement_collection
@@ -4299,6 +4869,37 @@ module Stripe
4299
4869
  end
4300
4870
  end
4301
4871
 
4872
+ class RiskControls < Stripe::RequestParams
4873
+ class Charges < Stripe::RequestParams
4874
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4875
+ # There can be a delay before the risk control is paused or unpaused.
4876
+ attr_accessor :pause_requested
4877
+
4878
+ def initialize(pause_requested: nil)
4879
+ @pause_requested = pause_requested
4880
+ end
4881
+ end
4882
+
4883
+ class Payouts < Stripe::RequestParams
4884
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4885
+ # There can be a delay before the risk control is paused or unpaused.
4886
+ attr_accessor :pause_requested
4887
+
4888
+ def initialize(pause_requested: nil)
4889
+ @pause_requested = pause_requested
4890
+ end
4891
+ end
4892
+ # Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
4893
+ attr_accessor :charges
4894
+ # Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
4895
+ attr_accessor :payouts
4896
+
4897
+ def initialize(charges: nil, payouts: nil)
4898
+ @charges = charges
4899
+ @payouts = payouts
4900
+ end
4901
+ end
4902
+
4302
4903
  class Settings < Stripe::RequestParams
4303
4904
  class BacsDebitPayments < Stripe::RequestParams
4304
4905
  # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -4309,6 +4910,18 @@ module Stripe
4309
4910
  end
4310
4911
  end
4311
4912
 
4913
+ class BankBcaOnboarding < Stripe::RequestParams
4914
+ # Bank BCA business account holder name
4915
+ attr_accessor :account_holder_name
4916
+ # Bank BCA business account number
4917
+ attr_accessor :business_account_number
4918
+
4919
+ def initialize(account_holder_name: nil, business_account_number: nil)
4920
+ @account_holder_name = account_holder_name
4921
+ @business_account_number = business_account_number
4922
+ end
4923
+ end
4924
+
4312
4925
  class Branding < Stripe::RequestParams
4313
4926
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
4314
4927
  attr_accessor :icon
@@ -4327,6 +4940,18 @@ module Stripe
4327
4940
  end
4328
4941
  end
4329
4942
 
4943
+ class Capital < Stripe::RequestParams
4944
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
4945
+ attr_accessor :payout_destination
4946
+ # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4947
+ attr_accessor :payout_destination_selector
4948
+
4949
+ def initialize(payout_destination: nil, payout_destination_selector: nil)
4950
+ @payout_destination = payout_destination
4951
+ @payout_destination_selector = payout_destination_selector
4952
+ end
4953
+ end
4954
+
4330
4955
  class CardIssuing < Stripe::RequestParams
4331
4956
  class TosAcceptance < Stripe::RequestParams
4332
4957
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4444,6 +5069,15 @@ module Stripe
4444
5069
  end
4445
5070
  end
4446
5071
 
5072
+ class TaxForms < Stripe::RequestParams
5073
+ # Whether the account opted out of receiving their tax forms by postal delivery.
5074
+ attr_accessor :consented_to_paperless_delivery
5075
+
5076
+ def initialize(consented_to_paperless_delivery: nil)
5077
+ @consented_to_paperless_delivery = consented_to_paperless_delivery
5078
+ end
5079
+ end
5080
+
4447
5081
  class Treasury < Stripe::RequestParams
4448
5082
  class TosAcceptance < Stripe::RequestParams
4449
5083
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4468,8 +5102,12 @@ module Stripe
4468
5102
  end
4469
5103
  # Settings specific to Bacs Direct Debit.
4470
5104
  attr_accessor :bacs_debit_payments
5105
+ # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
5106
+ attr_accessor :bank_bca_onboarding
4471
5107
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
4472
5108
  attr_accessor :branding
5109
+ # Settings specific to the account's use of the Capital product.
5110
+ attr_accessor :capital
4473
5111
  # Settings specific to the account's use of the Card Issuing product.
4474
5112
  attr_accessor :card_issuing
4475
5113
  # Settings specific to card charging on the account.
@@ -4480,26 +5118,34 @@ module Stripe
4480
5118
  attr_accessor :payments
4481
5119
  # Settings specific to the account's payouts.
4482
5120
  attr_accessor :payouts
5121
+ # Settings specific to the account's tax forms.
5122
+ attr_accessor :tax_forms
4483
5123
  # Settings specific to the account's Treasury FinancialAccounts.
4484
5124
  attr_accessor :treasury
4485
5125
 
4486
5126
  def initialize(
4487
5127
  bacs_debit_payments: nil,
5128
+ bank_bca_onboarding: nil,
4488
5129
  branding: nil,
5130
+ capital: nil,
4489
5131
  card_issuing: nil,
4490
5132
  card_payments: nil,
4491
5133
  invoices: nil,
4492
5134
  payments: nil,
4493
5135
  payouts: nil,
5136
+ tax_forms: nil,
4494
5137
  treasury: nil
4495
5138
  )
4496
5139
  @bacs_debit_payments = bacs_debit_payments
5140
+ @bank_bca_onboarding = bank_bca_onboarding
4497
5141
  @branding = branding
5142
+ @capital = capital
4498
5143
  @card_issuing = card_issuing
4499
5144
  @card_payments = card_payments
4500
5145
  @invoices = invoices
4501
5146
  @payments = payments
4502
5147
  @payouts = payouts
5148
+ @tax_forms = tax_forms
4503
5149
  @treasury = treasury
4504
5150
  end
4505
5151
  end
@@ -4558,6 +5204,8 @@ module Stripe
4558
5204
  attr_accessor :individual
4559
5205
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
4560
5206
  attr_accessor :metadata
5207
+ # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
5208
+ attr_accessor :risk_controls
4561
5209
  # Options for customizing how the account functions within Stripe.
4562
5210
  attr_accessor :settings
4563
5211
  # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
@@ -4581,6 +5229,7 @@ module Stripe
4581
5229
  groups: nil,
4582
5230
  individual: nil,
4583
5231
  metadata: nil,
5232
+ risk_controls: nil,
4584
5233
  settings: nil,
4585
5234
  tos_acceptance: nil,
4586
5235
  type: nil
@@ -4600,6 +5249,7 @@ module Stripe
4600
5249
  @groups = groups
4601
5250
  @individual = individual
4602
5251
  @metadata = metadata
5252
+ @risk_controls = risk_controls
4603
5253
  @settings = settings
4604
5254
  @tos_acceptance = tos_acceptance
4605
5255
  @type = type
@@ -4718,6 +5368,8 @@ module Stripe
4718
5368
  attr_reader :payouts_enabled
4719
5369
  # Attribute for field requirements
4720
5370
  attr_reader :requirements
5371
+ # Attribute for field risk_controls
5372
+ attr_reader :risk_controls
4721
5373
  # Options for customizing how the account functions within Stripe.
4722
5374
  attr_reader :settings
4723
5375
  # Attribute for field tos_acceptance