stripe 15.2.0 → 15.3.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 (587) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1600 -670
  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 +98 -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/events/v2_off_session_payment_requires_capture_event.rb +21 -0
  59. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +21 -0
  60. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +21 -0
  61. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +21 -0
  62. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +21 -0
  63. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +21 -0
  64. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +21 -0
  65. data/lib/stripe/object_types.rb +50 -0
  66. data/lib/stripe/resources/account.rb +653 -1
  67. data/lib/stripe/resources/account_notice.rb +123 -0
  68. data/lib/stripe/resources/account_session.rb +256 -1
  69. data/lib/stripe/resources/balance_settings.rb +105 -0
  70. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
  71. data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
  72. data/lib/stripe/resources/billing/credit_grant.rb +10 -0
  73. data/lib/stripe/resources/billing_portal/session.rb +6 -0
  74. data/lib/stripe/resources/capital/financing_offer.rb +179 -0
  75. data/lib/stripe/resources/capital/financing_summary.rb +55 -0
  76. data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
  77. data/lib/stripe/resources/card.rb +2 -0
  78. data/lib/stripe/resources/cash_balance.rb +2 -0
  79. data/lib/stripe/resources/charge.rb +1538 -0
  80. data/lib/stripe/resources/checkout/session.rb +330 -2
  81. data/lib/stripe/resources/confirmation_token.rb +170 -0
  82. data/lib/stripe/resources/coupon.rb +30 -1
  83. data/lib/stripe/resources/credit_note.rb +6 -0
  84. data/lib/stripe/resources/credit_note_line_item.rb +9 -0
  85. data/lib/stripe/resources/customer.rb +2 -0
  86. data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
  87. data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
  88. data/lib/stripe/resources/customer_session.rb +6 -1
  89. data/lib/stripe/resources/discount.rb +2 -0
  90. data/lib/stripe/resources/event.rb +31 -0
  91. data/lib/stripe/resources/financial_connections/account.rb +22 -1
  92. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
  93. data/lib/stripe/resources/financial_connections/institution.rb +92 -0
  94. data/lib/stripe/resources/financial_connections/session.rb +62 -2
  95. data/lib/stripe/resources/fx_quote.rb +184 -0
  96. data/lib/stripe/resources/identity/verification_session.rb +10 -0
  97. data/lib/stripe/resources/invoice.rb +1070 -16
  98. data/lib/stripe/resources/invoice_item.rb +78 -2
  99. data/lib/stripe/resources/invoice_line_item.rb +55 -1
  100. data/lib/stripe/resources/invoice_payment.rb +2 -53
  101. data/lib/stripe/resources/issuing/cardholder.rb +2 -1
  102. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +602 -0
  103. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +82 -0
  104. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +86 -0
  105. data/lib/stripe/resources/issuing/settlement.rb +53 -0
  106. data/lib/stripe/resources/issuing/transaction.rb +6 -0
  107. data/lib/stripe/resources/line_item.rb +37 -0
  108. data/lib/stripe/resources/mandate.rb +24 -0
  109. data/lib/stripe/resources/margin.rb +115 -0
  110. data/lib/stripe/resources/order.rb +2806 -0
  111. data/lib/stripe/resources/payment_attempt_record.rb +1086 -0
  112. data/lib/stripe/resources/payment_intent.rb +7694 -2738
  113. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +72 -0
  114. data/lib/stripe/resources/payment_method.rb +192 -1
  115. data/lib/stripe/resources/payment_method_configuration.rb +295 -0
  116. data/lib/stripe/resources/payment_record.rb +1615 -0
  117. data/lib/stripe/resources/payout.rb +6 -0
  118. data/lib/stripe/resources/price.rb +30 -0
  119. data/lib/stripe/resources/privacy/redaction_job.rb +298 -0
  120. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +33 -0
  121. data/lib/stripe/resources/promotion_code.rb +10 -0
  122. data/lib/stripe/resources/quote.rb +2046 -6
  123. data/lib/stripe/resources/quote_line.rb +274 -0
  124. data/lib/stripe/resources/quote_preview_invoice.rb +663 -0
  125. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +364 -0
  126. data/lib/stripe/resources/refund.rb +9 -0
  127. data/lib/stripe/resources/setup_attempt.rb +21 -0
  128. data/lib/stripe/resources/setup_intent.rb +578 -9
  129. data/lib/stripe/resources/source.rb +29 -0
  130. data/lib/stripe/resources/subscription.rb +333 -9
  131. data/lib/stripe/resources/subscription_item.rb +84 -3
  132. data/lib/stripe/resources/subscription_schedule.rb +1013 -10
  133. data/lib/stripe/resources/tax/association.rb +66 -0
  134. data/lib/stripe/resources/tax/form.rb +211 -0
  135. data/lib/stripe/resources/tax_id.rb +12 -2
  136. data/lib/stripe/resources/terminal/reader.rb +156 -0
  137. data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
  138. data/lib/stripe/resources/transfer.rb +6 -0
  139. data/lib/stripe/resources/treasury/financial_account.rb +22 -3
  140. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  141. data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
  142. data/lib/stripe/resources/treasury/received_credit.rb +38 -1
  143. data/lib/stripe/resources/treasury/received_debit.rb +40 -1
  144. data/lib/stripe/resources/v2/core/account.rb +1746 -0
  145. data/lib/stripe/resources/v2/core/account_link.rb +56 -0
  146. data/lib/stripe/resources/v2/core/person.rb +276 -0
  147. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +74 -0
  148. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +39 -0
  149. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +20 -0
  150. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +22 -0
  151. data/lib/stripe/resources/v2/money_management/adjustment.rb +51 -0
  152. data/lib/stripe/resources/v2/money_management/financial_account.rb +58 -0
  153. data/lib/stripe/resources/v2/money_management/financial_address.rb +68 -0
  154. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +94 -0
  155. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +129 -0
  156. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +82 -0
  157. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +45 -0
  158. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +117 -0
  159. data/lib/stripe/resources/v2/money_management/payout_method.rb +75 -0
  160. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +49 -0
  161. data/lib/stripe/resources/v2/money_management/received_credit.rb +116 -0
  162. data/lib/stripe/resources/v2/money_management/received_debit.rb +84 -0
  163. data/lib/stripe/resources/v2/money_management/transaction.rb +78 -0
  164. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +68 -0
  165. data/lib/stripe/resources/v2/payments/off_session_payment.rb +74 -0
  166. data/lib/stripe/resources.rb +104 -0
  167. data/lib/stripe/services/account_notice_service.rb +101 -0
  168. data/lib/stripe/services/account_service.rb +562 -1
  169. data/lib/stripe/services/account_session_service.rb +226 -1
  170. data/lib/stripe/services/balance_settings_service.rb +96 -0
  171. data/lib/stripe/services/billing/credit_balance_summary_service.rb +4 -1
  172. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
  173. data/lib/stripe/services/billing/credit_grant_service.rb +8 -0
  174. data/lib/stripe/services/billing_portal/session_service.rb +4 -0
  175. data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
  176. data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
  177. data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
  178. data/lib/stripe/services/capital_service.rb +15 -0
  179. data/lib/stripe/services/charge_service.rb +1418 -0
  180. data/lib/stripe/services/checkout/session_service.rb +247 -2
  181. data/lib/stripe/services/coupon_service.rb +17 -1
  182. data/lib/stripe/services/credit_note_service.rb +4 -0
  183. data/lib/stripe/services/customer_session_service.rb +4 -1
  184. data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -122
  185. data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
  186. data/lib/stripe/services/financial_connections/account_service.rb +7 -2
  187. data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
  188. data/lib/stripe/services/financial_connections/session_service.rb +34 -2
  189. data/lib/stripe/services/financial_connections_service.rb +2 -1
  190. data/lib/stripe/services/fx_quote_service.rb +123 -0
  191. data/lib/stripe/services/identity/verification_session_service.rb +8 -0
  192. data/lib/stripe/services/invoice_item_service.rb +74 -2
  193. data/lib/stripe/services/invoice_line_item_service.rb +33 -1
  194. data/lib/stripe/services/invoice_service.rb +1021 -16
  195. data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
  196. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
  197. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
  198. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
  199. data/lib/stripe/services/issuing/transaction_service.rb +4 -0
  200. data/lib/stripe/services/issuing_service.rb +5 -1
  201. data/lib/stripe/services/margin_service.rb +119 -0
  202. data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
  203. data/lib/stripe/services/order_service.rb +2236 -0
  204. data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
  205. data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
  206. data/lib/stripe/services/payment_intent_service.rb +4733 -245
  207. data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
  208. data/lib/stripe/services/payment_method_service.rb +120 -1
  209. data/lib/stripe/services/payment_record_service.rb +542 -0
  210. data/lib/stripe/services/payout_service.rb +4 -0
  211. data/lib/stripe/services/price_service.rb +19 -0
  212. data/lib/stripe/services/privacy/redaction_job_service.rb +240 -0
  213. data/{rbi/stripe/services/tax/calculation_line_item_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +21 -17
  214. data/lib/stripe/services/privacy_service.rb +13 -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 +538 -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 +276 -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 +90 -0
  230. data/lib/stripe/services/terminal_service.rb +2 -1
  231. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +97 -0
  232. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
  233. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
  234. data/lib/stripe/services/transfer_service.rb +4 -0
  235. data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
  236. data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
  237. data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
  238. data/lib/stripe/services/v1_services.rb +11 -2
  239. data/lib/stripe/services/v2/core/account_link_service.rb +76 -0
  240. data/lib/stripe/services/v2/core/account_service.rb +4138 -0
  241. data/lib/stripe/services/v2/core/accounts/person_service.rb +1046 -0
  242. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +131 -0
  243. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +107 -0
  244. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  245. data/lib/stripe/services/v2/core_service.rb +4 -1
  246. data/lib/stripe/services/v2/money_management/adjustment_service.rb +74 -0
  247. data/lib/stripe/services/v2/money_management/financial_account_service.rb +43 -0
  248. data/lib/stripe/services/v2/money_management/financial_address_service.rb +81 -0
  249. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +125 -0
  250. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +95 -0
  251. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +200 -0
  252. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +235 -0
  253. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +172 -0
  254. data/lib/stripe/services/v2/money_management/payout_method_service.rb +91 -0
  255. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
  256. data/lib/stripe/services/v2/money_management/received_credit_service.rb +70 -0
  257. data/lib/stripe/services/v2/money_management/received_debit_service.rb +43 -0
  258. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +69 -0
  259. data/lib/stripe/services/v2/money_management/transaction_service.rb +73 -0
  260. data/lib/stripe/services/v2/money_management_service.rb +31 -0
  261. data/lib/stripe/services/v2/payment_service.rb +15 -0
  262. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +138 -0
  263. data/lib/stripe/services/v2/test_helper_service.rb +15 -0
  264. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +49 -0
  265. data/lib/stripe/services/v2_services.rb +5 -2
  266. data/lib/stripe/services.rb +53 -1
  267. data/lib/stripe/stripe_configuration.rb +3 -1
  268. data/lib/stripe/stripe_object.rb +1 -1
  269. data/lib/stripe/util.rb +7 -1
  270. data/lib/stripe/version.rb +1 -1
  271. data/lib/stripe.rb +53 -0
  272. data/rbi/stripe.rbi +191639 -0
  273. data/stripe.gemspec +4 -1
  274. metadata +161 -324
  275. data/lib/stripe/services/invoice_payment_service.rb +0 -83
  276. data/rbi/stripe/resources/account.rbi +0 -4926
  277. data/rbi/stripe/resources/account_link.rbi +0 -74
  278. data/rbi/stripe/resources/account_session.rbi +0 -1013
  279. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
  280. data/rbi/stripe/resources/application.rbi +0 -20
  281. data/rbi/stripe/resources/application_fee.rbi +0 -118
  282. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  283. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  284. data/rbi/stripe/resources/balance.rbi +0 -235
  285. data/rbi/stripe/resources/balance_transaction.rbi +0 -147
  286. data/rbi/stripe/resources/bank_account.rbi +0 -127
  287. data/rbi/stripe/resources/billing/alert.rbi +0 -201
  288. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  289. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
  290. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
  291. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
  292. data/rbi/stripe/resources/billing/meter.rbi +0 -226
  293. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  294. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  295. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
  296. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -645
  297. data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
  298. data/rbi/stripe/resources/capability.rbi +0 -125
  299. data/rbi/stripe/resources/card.rbi +0 -125
  300. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  301. data/rbi/stripe/resources/charge.rbi +0 -2069
  302. data/rbi/stripe/resources/checkout/session.rbi +0 -4004
  303. data/rbi/stripe/resources/climate/order.rbi +0 -245
  304. data/rbi/stripe/resources/climate/product.rbi +0 -75
  305. data/rbi/stripe/resources/climate/supplier.rbi +0 -72
  306. data/rbi/stripe/resources/confirmation_token.rbi +0 -1807
  307. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  308. data/rbi/stripe/resources/country_spec.rbi +0 -85
  309. data/rbi/stripe/resources/coupon.rbi +0 -250
  310. data/rbi/stripe/resources/credit_note.rbi +0 -752
  311. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
  312. data/rbi/stripe/resources/customer.rbi +0 -1005
  313. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
  314. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  315. data/rbi/stripe/resources/customer_session.rbi +0 -200
  316. data/rbi/stripe/resources/discount.rbi +0 -53
  317. data/rbi/stripe/resources/dispute.rbi +0 -761
  318. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
  319. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  320. data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
  321. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  322. data/rbi/stripe/resources/event.rbi +0 -149
  323. data/rbi/stripe/resources/exchange_rate.rbi +0 -66
  324. data/rbi/stripe/resources/file.rbi +0 -143
  325. data/rbi/stripe/resources/file_link.rbi +0 -141
  326. data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
  327. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  328. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  329. data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
  330. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
  331. data/rbi/stripe/resources/forwarding/request.rbi +0 -216
  332. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  333. data/rbi/stripe/resources/identity/verification_report.rbi +0 -360
  334. data/rbi/stripe/resources/identity/verification_session.rbi +0 -526
  335. data/rbi/stripe/resources/invoice.rbi +0 -3812
  336. data/rbi/stripe/resources/invoice_item.rbi +0 -473
  337. data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
  338. data/rbi/stripe/resources/invoice_payment.rbi +0 -121
  339. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
  340. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
  341. data/rbi/stripe/resources/issuing/card.rbi +0 -741
  342. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
  343. data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
  344. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
  345. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
  346. data/rbi/stripe/resources/issuing/token.rbi +0 -226
  347. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
  348. data/rbi/stripe/resources/line_item.rbi +0 -72
  349. data/rbi/stripe/resources/login_link.rbi +0 -19
  350. data/rbi/stripe/resources/mandate.rbi +0 -187
  351. data/rbi/stripe/resources/payment_intent.rbi +0 -9647
  352. data/rbi/stripe/resources/payment_link.rbi +0 -1801
  353. data/rbi/stripe/resources/payment_method.rbi +0 -1761
  354. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
  355. data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
  356. data/rbi/stripe/resources/payout.rbi +0 -300
  357. data/rbi/stripe/resources/person.rbi +0 -401
  358. data/rbi/stripe/resources/plan.rbi +0 -371
  359. data/rbi/stripe/resources/price.rbi +0 -694
  360. data/rbi/stripe/resources/product.rbi +0 -555
  361. data/rbi/stripe/resources/product_feature.rbi +0 -26
  362. data/rbi/stripe/resources/promotion_code.rbi +0 -261
  363. data/rbi/stripe/resources/quote.rbi +0 -1126
  364. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
  365. data/rbi/stripe/resources/radar/value_list.rbi +0 -168
  366. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
  367. data/rbi/stripe/resources/refund.rbi +0 -523
  368. data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
  369. data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
  370. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  371. data/rbi/stripe/resources/reversal.rbi +0 -51
  372. data/rbi/stripe/resources/review.rbi +0 -154
  373. data/rbi/stripe/resources/setup_attempt.rbi +0 -477
  374. data/rbi/stripe/resources/setup_intent.rbi +0 -3655
  375. data/rbi/stripe/resources/shipping_rate.rbi +0 -305
  376. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
  377. data/rbi/stripe/resources/source.rbi +0 -1496
  378. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  379. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  380. data/rbi/stripe/resources/subscription.rbi +0 -2027
  381. data/rbi/stripe/resources/subscription_item.rbi +0 -404
  382. data/rbi/stripe/resources/subscription_schedule.rbi +0 -1623
  383. data/rbi/stripe/resources/tax/calculation.rbi +0 -478
  384. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
  385. data/rbi/stripe/resources/tax/registration.rbi +0 -2713
  386. data/rbi/stripe/resources/tax/settings.rbi +0 -141
  387. data/rbi/stripe/resources/tax/transaction.rbi +0 -351
  388. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  389. data/rbi/stripe/resources/tax_code.rbi +0 -44
  390. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  391. data/rbi/stripe/resources/tax_id.rbi +0 -165
  392. data/rbi/stripe/resources/tax_rate.rbi +0 -239
  393. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1386
  394. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  395. data/rbi/stripe/resources/terminal/location.rbi +0 -222
  396. data/rbi/stripe/resources/terminal/reader.rbi +0 -847
  397. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
  398. data/rbi/stripe/resources/token.rbi +0 -1283
  399. data/rbi/stripe/resources/topup.rbi +0 -222
  400. data/rbi/stripe/resources/transfer.rbi +0 -199
  401. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
  402. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
  403. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -865
  404. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
  405. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
  406. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
  407. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
  408. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
  409. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
  410. data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
  411. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
  412. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  413. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  414. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  415. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  416. data/rbi/stripe/resources/v2/event.rbi +0 -48
  417. data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
  418. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -168
  419. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  420. data/rbi/stripe/services/account_link_service.rbi +0 -58
  421. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  422. data/rbi/stripe/services/account_person_service.rbi +0 -1011
  423. data/rbi/stripe/services/account_service.rbi +0 -4213
  424. data/rbi/stripe/services/account_session_service.rbi +0 -646
  425. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
  426. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
  427. data/rbi/stripe/services/application_fee_service.rbi +0 -78
  428. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  429. data/rbi/stripe/services/apps_service.rbi +0 -9
  430. data/rbi/stripe/services/balance_service.rbi +0 -21
  431. data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
  432. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  433. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
  434. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  435. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
  436. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
  437. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  438. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  439. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  440. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -511
  441. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
  442. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  443. data/rbi/stripe/services/billing_service.rbi +0 -15
  444. data/rbi/stripe/services/charge_service.rbi +0 -448
  445. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  446. data/rbi/stripe/services/checkout/session_service.rbi +0 -2614
  447. data/rbi/stripe/services/checkout_service.rbi +0 -9
  448. data/rbi/stripe/services/climate/order_service.rbi +0 -142
  449. data/rbi/stripe/services/climate/product_service.rbi +0 -46
  450. data/rbi/stripe/services/climate_service.rbi +0 -11
  451. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  452. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  453. data/rbi/stripe/services/coupon_service.rbi +0 -194
  454. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  455. data/rbi/stripe/services/credit_note_service.rbi +0 -415
  456. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  457. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  458. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  459. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  460. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  461. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
  462. data/rbi/stripe/services/customer_service.rbi +0 -647
  463. data/rbi/stripe/services/customer_session_service.rbi +0 -116
  464. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
  465. data/rbi/stripe/services/dispute_service.rbi +0 -424
  466. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  467. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  468. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  469. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  470. data/rbi/stripe/services/event_service.rbi +0 -83
  471. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  472. data/rbi/stripe/services/file_link_service.rbi +0 -124
  473. data/rbi/stripe/services/file_service.rbi +0 -116
  474. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  475. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
  476. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
  477. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
  478. data/rbi/stripe/services/financial_connections_service.rbi +0 -11
  479. data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
  480. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  481. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
  482. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -323
  483. data/rbi/stripe/services/identity_service.rbi +0 -10
  484. data/rbi/stripe/services/invoice_item_service.rbi +0 -366
  485. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
  486. data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
  487. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  488. data/rbi/stripe/services/invoice_service.rbi +0 -2981
  489. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
  490. data/rbi/stripe/services/issuing/card_service.rbi +0 -495
  491. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
  492. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
  493. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
  494. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  495. data/rbi/stripe/services/issuing/token_service.rbi +0 -99
  496. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
  497. data/rbi/stripe/services/issuing_service.rbi +0 -16
  498. data/rbi/stripe/services/mandate_service.rbi +0 -20
  499. data/rbi/stripe/services/payment_intent_service.rbi +0 -7659
  500. data/rbi/stripe/services/payment_link_service.rbi +0 -1352
  501. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
  502. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
  503. data/rbi/stripe/services/payment_method_service.rbi +0 -776
  504. data/rbi/stripe/services/payout_service.rbi +0 -205
  505. data/rbi/stripe/services/plan_service.rbi +0 -282
  506. data/rbi/stripe/services/price_service.rbi +0 -546
  507. data/rbi/stripe/services/product_feature_service.rbi +0 -67
  508. data/rbi/stripe/services/product_service.rbi +0 -477
  509. data/rbi/stripe/services/promotion_code_service.rbi +0 -214
  510. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  511. data/rbi/stripe/services/quote_service.rbi +0 -686
  512. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
  513. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -109
  514. data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
  515. data/rbi/stripe/services/radar_service.rbi +0 -11
  516. data/rbi/stripe/services/refund_service.rbi +0 -185
  517. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
  518. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  519. data/rbi/stripe/services/reporting_service.rbi +0 -10
  520. data/rbi/stripe/services/review_service.rbi +0 -84
  521. data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
  522. data/rbi/stripe/services/setup_intent_service.rbi +0 -3391
  523. data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
  524. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  525. data/rbi/stripe/services/sigma_service.rbi +0 -9
  526. data/rbi/stripe/services/source_service.rbi +0 -663
  527. data/rbi/stripe/services/subscription_item_service.rbi +0 -350
  528. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1290
  529. data/rbi/stripe/services/subscription_service.rbi +0 -1648
  530. data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
  531. data/rbi/stripe/services/tax/registration_service.rbi +0 -1845
  532. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  533. data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
  534. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  535. data/rbi/stripe/services/tax_id_service.rbi +0 -110
  536. data/rbi/stripe/services/tax_rate_service.rbi +0 -185
  537. data/rbi/stripe/services/tax_service.rbi +0 -12
  538. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1118
  539. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  540. data/rbi/stripe/services/terminal/location_service.rbi +0 -182
  541. data/rbi/stripe/services/terminal/reader_service.rbi +0 -455
  542. data/rbi/stripe/services/terminal_service.rbi +0 -12
  543. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -739
  544. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  545. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
  546. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  547. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
  548. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
  549. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  550. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  551. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -93
  552. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  553. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
  554. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  555. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
  556. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
  557. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
  558. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
  559. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  560. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  561. data/rbi/stripe/services/token_service.rbi +0 -1257
  562. data/rbi/stripe/services/topup_service.rbi +0 -176
  563. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
  564. data/rbi/stripe/services/transfer_service.rbi +0 -152
  565. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  566. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  567. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
  568. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -562
  569. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  570. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
  571. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
  572. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
  573. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  574. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
  575. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
  576. data/rbi/stripe/services/treasury_service.rbi +0 -18
  577. data/rbi/stripe/services/v1_services.rbi +0 -77
  578. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  579. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  580. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -18
  581. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  582. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  583. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -192
  584. data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
  585. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  586. data/rbi/stripe/services/v2_services.rbi +0 -10
  587. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -129
@@ -104,6 +104,8 @@ module Stripe
104
104
  attr_reader :amazon_pay_payments
105
105
  # The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.
106
106
  attr_reader :au_becs_debit_payments
107
+ # The status of the automatic_indirect_tax capability of the account.
108
+ attr_reader :automatic_indirect_tax
107
109
  # The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
108
110
  attr_reader :bacs_debit_payments
109
111
  # The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.
@@ -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,10 +184,18 @@ 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 pix payments capability of the account, or whether the account can directly process pix charges.
178
192
  attr_reader :pix_payments
179
193
  # The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
180
194
  attr_reader :promptpay_payments
195
+ # The status of the Qris capability of the account, or whether the account can directly process Qris payments.
196
+ attr_reader :qris_payments
197
+ # The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
198
+ attr_reader :rechnung_payments
181
199
  # The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
182
200
  attr_reader :revolut_pay_payments
183
201
  # The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
@@ -188,8 +206,12 @@ module Stripe
188
206
  attr_reader :sepa_bank_transfer_payments
189
207
  # The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
190
208
  attr_reader :sepa_debit_payments
209
+ # The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
210
+ attr_reader :shopeepay_payments
191
211
  # The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
192
212
  attr_reader :sofort_payments
213
+ # The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
214
+ attr_reader :stripe_balance_payments
193
215
  # The status of the Swish capability of the account, or whether the account can directly process Swish payments.
194
216
  attr_reader :swish_payments
195
217
  # The status of the tax reporting 1099-K (US) capability of the account.
@@ -200,6 +222,12 @@ module Stripe
200
222
  attr_reader :transfers
201
223
  # The status of the banking capability, or whether the account can have bank accounts.
202
224
  attr_reader :treasury
225
+ # The status of the treasury_evolve capability of the account.
226
+ attr_reader :treasury_evolve
227
+ # The status of the treasury_fifth_third capability of the account.
228
+ attr_reader :treasury_fifth_third
229
+ # The status of the treasury_goldman_sachs capability of the account.
230
+ attr_reader :treasury_goldman_sachs
203
231
  # The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
204
232
  attr_reader :twint_payments
205
233
  # The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
@@ -346,6 +374,20 @@ module Stripe
346
374
  end
347
375
 
348
376
  class Controller < Stripe::StripeObject
377
+ class Application < Stripe::StripeObject
378
+ # `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
379
+ attr_reader :loss_liable
380
+ # `true` if the Connect application is responsible for onboarding the account.
381
+ attr_reader :onboarding_owner
382
+ # `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
383
+ attr_reader :pricing_controls
384
+ end
385
+
386
+ class Dashboard < Stripe::StripeObject
387
+ # Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
388
+ attr_reader :type
389
+ end
390
+
349
391
  class Fees < Stripe::StripeObject
350
392
  # 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).
351
393
  attr_reader :payer
@@ -360,6 +402,10 @@ module Stripe
360
402
  # A value indicating the Stripe dashboard this account has access to independent of the Connect application.
361
403
  attr_reader :type
362
404
  end
405
+ # Attribute for field application
406
+ attr_reader :application
407
+ # Attribute for field dashboard
408
+ attr_reader :dashboard
363
409
  # Attribute for field fees
364
410
  attr_reader :fees
365
411
  # `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.
@@ -447,6 +493,24 @@ module Stripe
447
493
  attr_reader :pending_verification
448
494
  end
449
495
 
496
+ class RiskControls < Stripe::StripeObject
497
+ class Charges < Stripe::StripeObject
498
+ # Whether a pause of the risk control has been requested.
499
+ attr_reader :pause_requested
500
+ end
501
+
502
+ class Payouts < Stripe::StripeObject
503
+ # Whether a pause of the risk control has been requested.
504
+ attr_reader :pause_requested
505
+ end
506
+ # Attribute for field charges
507
+ attr_reader :charges
508
+ # Attribute for field payouts
509
+ attr_reader :payouts
510
+ # 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/)
511
+ attr_reader :rejected_reason
512
+ end
513
+
450
514
  class Settings < Stripe::StripeObject
451
515
  class BacsDebitPayments < Stripe::StripeObject
452
516
  # 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.
@@ -455,6 +519,13 @@ module Stripe
455
519
  attr_reader :service_user_number
456
520
  end
457
521
 
522
+ class BankBcaOnboarding < Stripe::StripeObject
523
+ # Bank BCA business account holder name.
524
+ attr_reader :account_holder_name
525
+ # Bank BCA business account number.
526
+ attr_reader :business_account_number
527
+ end
528
+
458
529
  class Branding < Stripe::StripeObject
459
530
  # (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.
460
531
  attr_reader :icon
@@ -466,6 +537,13 @@ module Stripe
466
537
  attr_reader :secondary_color
467
538
  end
468
539
 
540
+ class Capital < Stripe::StripeObject
541
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
542
+ attr_reader :payout_destination
543
+ # Per-currency mapping of all destination accounts eligible to receive loan payouts.
544
+ attr_reader :payout_destination_selector
545
+ end
546
+
469
547
  class CardIssuing < Stripe::StripeObject
470
548
  class TosAcceptance < Stripe::StripeObject
471
549
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -547,6 +625,11 @@ module Stripe
547
625
  attr_reader :creditor_id
548
626
  end
549
627
 
628
+ class TaxForms < Stripe::StripeObject
629
+ # Whether the account opted out of receiving their tax forms by postal delivery.
630
+ attr_reader :consented_to_paperless_delivery
631
+ end
632
+
550
633
  class Treasury < Stripe::StripeObject
551
634
  class TosAcceptance < Stripe::StripeObject
552
635
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -561,8 +644,12 @@ module Stripe
561
644
  end
562
645
  # Attribute for field bacs_debit_payments
563
646
  attr_reader :bacs_debit_payments
647
+ # Attribute for field bank_bca_onboarding
648
+ attr_reader :bank_bca_onboarding
564
649
  # Attribute for field branding
565
650
  attr_reader :branding
651
+ # Attribute for field capital
652
+ attr_reader :capital
566
653
  # Attribute for field card_issuing
567
654
  attr_reader :card_issuing
568
655
  # Attribute for field card_payments
@@ -577,6 +664,8 @@ module Stripe
577
664
  attr_reader :payouts
578
665
  # Attribute for field sepa_debit_payments
579
666
  attr_reader :sepa_debit_payments
667
+ # Attribute for field tax_forms
668
+ attr_reader :tax_forms
580
669
  # Attribute for field treasury
581
670
  attr_reader :treasury
582
671
  end
@@ -797,6 +886,15 @@ module Stripe
797
886
  end
798
887
  end
799
888
 
889
+ class AutomaticIndirectTax < Stripe::RequestParams
890
+ # 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.
891
+ attr_accessor :requested
892
+
893
+ def initialize(requested: nil)
894
+ @requested = requested
895
+ end
896
+ end
897
+
800
898
  class BacsDebitPayments < Stripe::RequestParams
801
899
  # 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.
802
900
  attr_accessor :requested
@@ -923,6 +1021,15 @@ module Stripe
923
1021
  end
924
1022
  end
925
1023
 
1024
+ class GopayPayments < Stripe::RequestParams
1025
+ # 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
+ attr_accessor :requested
1027
+
1028
+ def initialize(requested: nil)
1029
+ @requested = requested
1030
+ end
1031
+ end
1032
+
926
1033
  class GrabpayPayments < Stripe::RequestParams
927
1034
  # 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.
928
1035
  attr_accessor :requested
@@ -932,6 +1039,24 @@ module Stripe
932
1039
  end
933
1040
  end
934
1041
 
1042
+ class IdBankTransferPayments < Stripe::RequestParams
1043
+ # 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.
1044
+ attr_accessor :requested
1045
+
1046
+ def initialize(requested: nil)
1047
+ @requested = requested
1048
+ end
1049
+ end
1050
+
1051
+ class IdBankTransferPaymentsBca < Stripe::RequestParams
1052
+ # 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.
1053
+ attr_accessor :requested
1054
+
1055
+ def initialize(requested: nil)
1056
+ @requested = requested
1057
+ end
1058
+ end
1059
+
935
1060
  class IdealPayments < Stripe::RequestParams
936
1061
  # 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.
937
1062
  attr_accessor :requested
@@ -1022,6 +1147,15 @@ module Stripe
1022
1147
  end
1023
1148
  end
1024
1149
 
1150
+ class MbWayPayments < Stripe::RequestParams
1151
+ # 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.
1152
+ attr_accessor :requested
1153
+
1154
+ def initialize(requested: nil)
1155
+ @requested = requested
1156
+ end
1157
+ end
1158
+
1025
1159
  class MobilepayPayments < Stripe::RequestParams
1026
1160
  # 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.
1027
1161
  attr_accessor :requested
@@ -1112,6 +1246,24 @@ module Stripe
1112
1246
  end
1113
1247
  end
1114
1248
 
1249
+ class PaypalPayments < Stripe::RequestParams
1250
+ # 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.
1251
+ attr_accessor :requested
1252
+
1253
+ def initialize(requested: nil)
1254
+ @requested = requested
1255
+ end
1256
+ end
1257
+
1258
+ class PaytoPayments < Stripe::RequestParams
1259
+ # 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.
1260
+ attr_accessor :requested
1261
+
1262
+ def initialize(requested: nil)
1263
+ @requested = requested
1264
+ end
1265
+ end
1266
+
1115
1267
  class PixPayments < Stripe::RequestParams
1116
1268
  # 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.
1117
1269
  attr_accessor :requested
@@ -1130,6 +1282,24 @@ module Stripe
1130
1282
  end
1131
1283
  end
1132
1284
 
1285
+ class QrisPayments < Stripe::RequestParams
1286
+ # 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.
1287
+ attr_accessor :requested
1288
+
1289
+ def initialize(requested: nil)
1290
+ @requested = requested
1291
+ end
1292
+ end
1293
+
1294
+ class RechnungPayments < Stripe::RequestParams
1295
+ # 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.
1296
+ attr_accessor :requested
1297
+
1298
+ def initialize(requested: nil)
1299
+ @requested = requested
1300
+ end
1301
+ end
1302
+
1133
1303
  class RevolutPayPayments < Stripe::RequestParams
1134
1304
  # 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.
1135
1305
  attr_accessor :requested
@@ -1175,6 +1345,15 @@ module Stripe
1175
1345
  end
1176
1346
  end
1177
1347
 
1348
+ class ShopeepayPayments < Stripe::RequestParams
1349
+ # 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.
1350
+ attr_accessor :requested
1351
+
1352
+ def initialize(requested: nil)
1353
+ @requested = requested
1354
+ end
1355
+ end
1356
+
1178
1357
  class SofortPayments < Stripe::RequestParams
1179
1358
  # 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.
1180
1359
  attr_accessor :requested
@@ -1184,6 +1363,15 @@ module Stripe
1184
1363
  end
1185
1364
  end
1186
1365
 
1366
+ class StripeBalancePayments < Stripe::RequestParams
1367
+ # 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.
1368
+ attr_accessor :requested
1369
+
1370
+ def initialize(requested: nil)
1371
+ @requested = requested
1372
+ end
1373
+ end
1374
+
1187
1375
  class SwishPayments < Stripe::RequestParams
1188
1376
  # 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.
1189
1377
  attr_accessor :requested
@@ -1229,6 +1417,33 @@ module Stripe
1229
1417
  end
1230
1418
  end
1231
1419
 
1420
+ class TreasuryEvolve < Stripe::RequestParams
1421
+ # 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.
1422
+ attr_accessor :requested
1423
+
1424
+ def initialize(requested: nil)
1425
+ @requested = requested
1426
+ end
1427
+ end
1428
+
1429
+ class TreasuryFifthThird < Stripe::RequestParams
1430
+ # 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.
1431
+ attr_accessor :requested
1432
+
1433
+ def initialize(requested: nil)
1434
+ @requested = requested
1435
+ end
1436
+ end
1437
+
1438
+ class TreasuryGoldmanSachs < Stripe::RequestParams
1439
+ # 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.
1440
+ attr_accessor :requested
1441
+
1442
+ def initialize(requested: nil)
1443
+ @requested = requested
1444
+ end
1445
+ end
1446
+
1232
1447
  class TwintPayments < Stripe::RequestParams
1233
1448
  # 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.
1234
1449
  attr_accessor :requested
@@ -1276,6 +1491,8 @@ module Stripe
1276
1491
  attr_accessor :amazon_pay_payments
1277
1492
  # The au_becs_debit_payments capability.
1278
1493
  attr_accessor :au_becs_debit_payments
1494
+ # The automatic_indirect_tax capability.
1495
+ attr_accessor :automatic_indirect_tax
1279
1496
  # The bacs_debit_payments capability.
1280
1497
  attr_accessor :bacs_debit_payments
1281
1498
  # The bancontact_payments capability.
@@ -1304,8 +1521,14 @@ module Stripe
1304
1521
  attr_accessor :gb_bank_transfer_payments
1305
1522
  # The giropay_payments capability.
1306
1523
  attr_accessor :giropay_payments
1524
+ # The gopay_payments capability.
1525
+ attr_accessor :gopay_payments
1307
1526
  # The grabpay_payments capability.
1308
1527
  attr_accessor :grabpay_payments
1528
+ # The id_bank_transfer_payments capability.
1529
+ attr_accessor :id_bank_transfer_payments
1530
+ # The id_bank_transfer_payments_bca capability.
1531
+ attr_accessor :id_bank_transfer_payments_bca
1309
1532
  # The ideal_payments capability.
1310
1533
  attr_accessor :ideal_payments
1311
1534
  # The india_international_payments capability.
@@ -1326,6 +1549,8 @@ module Stripe
1326
1549
  attr_accessor :legacy_payments
1327
1550
  # The link_payments capability.
1328
1551
  attr_accessor :link_payments
1552
+ # The mb_way_payments capability.
1553
+ attr_accessor :mb_way_payments
1329
1554
  # The mobilepay_payments capability.
1330
1555
  attr_accessor :mobilepay_payments
1331
1556
  # The multibanco_payments capability.
@@ -1346,10 +1571,18 @@ module Stripe
1346
1571
  attr_accessor :payco_payments
1347
1572
  # The paynow_payments capability.
1348
1573
  attr_accessor :paynow_payments
1574
+ # The paypal_payments capability.
1575
+ attr_accessor :paypal_payments
1576
+ # The payto_payments capability.
1577
+ attr_accessor :payto_payments
1349
1578
  # The pix_payments capability.
1350
1579
  attr_accessor :pix_payments
1351
1580
  # The promptpay_payments capability.
1352
1581
  attr_accessor :promptpay_payments
1582
+ # The qris_payments capability.
1583
+ attr_accessor :qris_payments
1584
+ # The rechnung_payments capability.
1585
+ attr_accessor :rechnung_payments
1353
1586
  # The revolut_pay_payments capability.
1354
1587
  attr_accessor :revolut_pay_payments
1355
1588
  # The samsung_pay_payments capability.
@@ -1360,8 +1593,12 @@ module Stripe
1360
1593
  attr_accessor :sepa_bank_transfer_payments
1361
1594
  # The sepa_debit_payments capability.
1362
1595
  attr_accessor :sepa_debit_payments
1596
+ # The shopeepay_payments capability.
1597
+ attr_accessor :shopeepay_payments
1363
1598
  # The sofort_payments capability.
1364
1599
  attr_accessor :sofort_payments
1600
+ # The stripe_balance_payments capability.
1601
+ attr_accessor :stripe_balance_payments
1365
1602
  # The swish_payments capability.
1366
1603
  attr_accessor :swish_payments
1367
1604
  # The tax_reporting_us_1099_k capability.
@@ -1372,6 +1609,12 @@ module Stripe
1372
1609
  attr_accessor :transfers
1373
1610
  # The treasury capability.
1374
1611
  attr_accessor :treasury
1612
+ # The treasury_evolve capability.
1613
+ attr_accessor :treasury_evolve
1614
+ # The treasury_fifth_third capability.
1615
+ attr_accessor :treasury_fifth_third
1616
+ # The treasury_goldman_sachs capability.
1617
+ attr_accessor :treasury_goldman_sachs
1375
1618
  # The twint_payments capability.
1376
1619
  attr_accessor :twint_payments
1377
1620
  # The us_bank_account_ach_payments capability.
@@ -1388,6 +1631,7 @@ module Stripe
1388
1631
  alma_payments: nil,
1389
1632
  amazon_pay_payments: nil,
1390
1633
  au_becs_debit_payments: nil,
1634
+ automatic_indirect_tax: nil,
1391
1635
  bacs_debit_payments: nil,
1392
1636
  bancontact_payments: nil,
1393
1637
  bank_transfer_payments: nil,
@@ -1402,7 +1646,10 @@ module Stripe
1402
1646
  fpx_payments: nil,
1403
1647
  gb_bank_transfer_payments: nil,
1404
1648
  giropay_payments: nil,
1649
+ gopay_payments: nil,
1405
1650
  grabpay_payments: nil,
1651
+ id_bank_transfer_payments: nil,
1652
+ id_bank_transfer_payments_bca: nil,
1406
1653
  ideal_payments: nil,
1407
1654
  india_international_payments: nil,
1408
1655
  jcb_payments: nil,
@@ -1413,6 +1660,7 @@ module Stripe
1413
1660
  kr_card_payments: nil,
1414
1661
  legacy_payments: nil,
1415
1662
  link_payments: nil,
1663
+ mb_way_payments: nil,
1416
1664
  mobilepay_payments: nil,
1417
1665
  multibanco_payments: nil,
1418
1666
  mx_bank_transfer_payments: nil,
@@ -1423,19 +1671,28 @@ module Stripe
1423
1671
  pay_by_bank_payments: nil,
1424
1672
  payco_payments: nil,
1425
1673
  paynow_payments: nil,
1674
+ paypal_payments: nil,
1675
+ payto_payments: nil,
1426
1676
  pix_payments: nil,
1427
1677
  promptpay_payments: nil,
1678
+ qris_payments: nil,
1679
+ rechnung_payments: nil,
1428
1680
  revolut_pay_payments: nil,
1429
1681
  samsung_pay_payments: nil,
1430
1682
  satispay_payments: nil,
1431
1683
  sepa_bank_transfer_payments: nil,
1432
1684
  sepa_debit_payments: nil,
1685
+ shopeepay_payments: nil,
1433
1686
  sofort_payments: nil,
1687
+ stripe_balance_payments: nil,
1434
1688
  swish_payments: nil,
1435
1689
  tax_reporting_us_1099_k: nil,
1436
1690
  tax_reporting_us_1099_misc: nil,
1437
1691
  transfers: nil,
1438
1692
  treasury: nil,
1693
+ treasury_evolve: nil,
1694
+ treasury_fifth_third: nil,
1695
+ treasury_goldman_sachs: nil,
1439
1696
  twint_payments: nil,
1440
1697
  us_bank_account_ach_payments: nil,
1441
1698
  us_bank_transfer_payments: nil,
@@ -1447,6 +1704,7 @@ module Stripe
1447
1704
  @alma_payments = alma_payments
1448
1705
  @amazon_pay_payments = amazon_pay_payments
1449
1706
  @au_becs_debit_payments = au_becs_debit_payments
1707
+ @automatic_indirect_tax = automatic_indirect_tax
1450
1708
  @bacs_debit_payments = bacs_debit_payments
1451
1709
  @bancontact_payments = bancontact_payments
1452
1710
  @bank_transfer_payments = bank_transfer_payments
@@ -1461,7 +1719,10 @@ module Stripe
1461
1719
  @fpx_payments = fpx_payments
1462
1720
  @gb_bank_transfer_payments = gb_bank_transfer_payments
1463
1721
  @giropay_payments = giropay_payments
1722
+ @gopay_payments = gopay_payments
1464
1723
  @grabpay_payments = grabpay_payments
1724
+ @id_bank_transfer_payments = id_bank_transfer_payments
1725
+ @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1465
1726
  @ideal_payments = ideal_payments
1466
1727
  @india_international_payments = india_international_payments
1467
1728
  @jcb_payments = jcb_payments
@@ -1472,6 +1733,7 @@ module Stripe
1472
1733
  @kr_card_payments = kr_card_payments
1473
1734
  @legacy_payments = legacy_payments
1474
1735
  @link_payments = link_payments
1736
+ @mb_way_payments = mb_way_payments
1475
1737
  @mobilepay_payments = mobilepay_payments
1476
1738
  @multibanco_payments = multibanco_payments
1477
1739
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -1482,19 +1744,28 @@ module Stripe
1482
1744
  @pay_by_bank_payments = pay_by_bank_payments
1483
1745
  @payco_payments = payco_payments
1484
1746
  @paynow_payments = paynow_payments
1747
+ @paypal_payments = paypal_payments
1748
+ @payto_payments = payto_payments
1485
1749
  @pix_payments = pix_payments
1486
1750
  @promptpay_payments = promptpay_payments
1751
+ @qris_payments = qris_payments
1752
+ @rechnung_payments = rechnung_payments
1487
1753
  @revolut_pay_payments = revolut_pay_payments
1488
1754
  @samsung_pay_payments = samsung_pay_payments
1489
1755
  @satispay_payments = satispay_payments
1490
1756
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1491
1757
  @sepa_debit_payments = sepa_debit_payments
1758
+ @shopeepay_payments = shopeepay_payments
1492
1759
  @sofort_payments = sofort_payments
1760
+ @stripe_balance_payments = stripe_balance_payments
1493
1761
  @swish_payments = swish_payments
1494
1762
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1495
1763
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1496
1764
  @transfers = transfers
1497
1765
  @treasury = treasury
1766
+ @treasury_evolve = treasury_evolve
1767
+ @treasury_fifth_third = treasury_fifth_third
1768
+ @treasury_goldman_sachs = treasury_goldman_sachs
1498
1769
  @twint_payments = twint_payments
1499
1770
  @us_bank_account_ach_payments = us_bank_account_ach_payments
1500
1771
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -2270,6 +2541,37 @@ module Stripe
2270
2541
  end
2271
2542
  end
2272
2543
 
2544
+ class RiskControls < Stripe::RequestParams
2545
+ class Charges < Stripe::RequestParams
2546
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2547
+ # There can be a delay before the risk control is paused or unpaused.
2548
+ attr_accessor :pause_requested
2549
+
2550
+ def initialize(pause_requested: nil)
2551
+ @pause_requested = pause_requested
2552
+ end
2553
+ end
2554
+
2555
+ class Payouts < Stripe::RequestParams
2556
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2557
+ # There can be a delay before the risk control is paused or unpaused.
2558
+ attr_accessor :pause_requested
2559
+
2560
+ def initialize(pause_requested: nil)
2561
+ @pause_requested = pause_requested
2562
+ end
2563
+ end
2564
+ # 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).
2565
+ attr_accessor :charges
2566
+ # 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).
2567
+ attr_accessor :payouts
2568
+
2569
+ def initialize(charges: nil, payouts: nil)
2570
+ @charges = charges
2571
+ @payouts = payouts
2572
+ end
2573
+ end
2574
+
2273
2575
  class Settings < Stripe::RequestParams
2274
2576
  class BacsDebitPayments < Stripe::RequestParams
2275
2577
  # 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.
@@ -2280,6 +2582,18 @@ module Stripe
2280
2582
  end
2281
2583
  end
2282
2584
 
2585
+ class BankBcaOnboarding < Stripe::RequestParams
2586
+ # Bank BCA business account holder name
2587
+ attr_accessor :account_holder_name
2588
+ # Bank BCA business account number
2589
+ attr_accessor :business_account_number
2590
+
2591
+ def initialize(account_holder_name: nil, business_account_number: nil)
2592
+ @account_holder_name = account_holder_name
2593
+ @business_account_number = business_account_number
2594
+ end
2595
+ end
2596
+
2283
2597
  class Branding < Stripe::RequestParams
2284
2598
  # (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.
2285
2599
  attr_accessor :icon
@@ -2298,6 +2612,18 @@ module Stripe
2298
2612
  end
2299
2613
  end
2300
2614
 
2615
+ class Capital < Stripe::RequestParams
2616
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
2617
+ attr_accessor :payout_destination
2618
+ # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
2619
+ attr_accessor :payout_destination_selector
2620
+
2621
+ def initialize(payout_destination: nil, payout_destination_selector: nil)
2622
+ @payout_destination = payout_destination
2623
+ @payout_destination_selector = payout_destination_selector
2624
+ end
2625
+ end
2626
+
2301
2627
  class CardIssuing < Stripe::RequestParams
2302
2628
  class TosAcceptance < Stripe::RequestParams
2303
2629
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2418,6 +2744,15 @@ module Stripe
2418
2744
  end
2419
2745
  end
2420
2746
 
2747
+ class TaxForms < Stripe::RequestParams
2748
+ # Whether the account opted out of receiving their tax forms by postal delivery.
2749
+ attr_accessor :consented_to_paperless_delivery
2750
+
2751
+ def initialize(consented_to_paperless_delivery: nil)
2752
+ @consented_to_paperless_delivery = consented_to_paperless_delivery
2753
+ end
2754
+ end
2755
+
2421
2756
  class Treasury < Stripe::RequestParams
2422
2757
  class TosAcceptance < Stripe::RequestParams
2423
2758
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2442,8 +2777,12 @@ module Stripe
2442
2777
  end
2443
2778
  # Settings specific to Bacs Direct Debit payments.
2444
2779
  attr_accessor :bacs_debit_payments
2780
+ # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2781
+ attr_accessor :bank_bca_onboarding
2445
2782
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2446
2783
  attr_accessor :branding
2784
+ # Settings specific to the account's use of the Capital product.
2785
+ attr_accessor :capital
2447
2786
  # Settings specific to the account's use of the Card Issuing product.
2448
2787
  attr_accessor :card_issuing
2449
2788
  # Settings specific to card charging on the account.
@@ -2454,26 +2793,34 @@ module Stripe
2454
2793
  attr_accessor :payments
2455
2794
  # Settings specific to the account's payouts.
2456
2795
  attr_accessor :payouts
2796
+ # Settings specific to the account's tax forms.
2797
+ attr_accessor :tax_forms
2457
2798
  # Settings specific to the account's Treasury FinancialAccounts.
2458
2799
  attr_accessor :treasury
2459
2800
 
2460
2801
  def initialize(
2461
2802
  bacs_debit_payments: nil,
2803
+ bank_bca_onboarding: nil,
2462
2804
  branding: nil,
2805
+ capital: nil,
2463
2806
  card_issuing: nil,
2464
2807
  card_payments: nil,
2465
2808
  invoices: nil,
2466
2809
  payments: nil,
2467
2810
  payouts: nil,
2811
+ tax_forms: nil,
2468
2812
  treasury: nil
2469
2813
  )
2470
2814
  @bacs_debit_payments = bacs_debit_payments
2815
+ @bank_bca_onboarding = bank_bca_onboarding
2471
2816
  @branding = branding
2817
+ @capital = capital
2472
2818
  @card_issuing = card_issuing
2473
2819
  @card_payments = card_payments
2474
2820
  @invoices = invoices
2475
2821
  @payments = payments
2476
2822
  @payouts = payouts
2823
+ @tax_forms = tax_forms
2477
2824
  @treasury = treasury
2478
2825
  end
2479
2826
  end
@@ -2528,6 +2875,8 @@ module Stripe
2528
2875
  attr_accessor :individual
2529
2876
  # 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`.
2530
2877
  attr_accessor :metadata
2878
+ # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2879
+ attr_accessor :risk_controls
2531
2880
  # Options for customizing how the account functions within Stripe.
2532
2881
  attr_accessor :settings
2533
2882
  # 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.
@@ -2547,6 +2896,7 @@ module Stripe
2547
2896
  groups: nil,
2548
2897
  individual: nil,
2549
2898
  metadata: nil,
2899
+ risk_controls: nil,
2550
2900
  settings: nil,
2551
2901
  tos_acceptance: nil
2552
2902
  )
@@ -2563,6 +2913,7 @@ module Stripe
2563
2913
  @groups = groups
2564
2914
  @individual = individual
2565
2915
  @metadata = metadata
2916
+ @risk_controls = risk_controls
2566
2917
  @settings = settings
2567
2918
  @tos_acceptance = tos_acceptance
2568
2919
  end
@@ -2809,6 +3160,15 @@ module Stripe
2809
3160
  end
2810
3161
  end
2811
3162
 
3163
+ class AutomaticIndirectTax < Stripe::RequestParams
3164
+ # 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.
3165
+ attr_accessor :requested
3166
+
3167
+ def initialize(requested: nil)
3168
+ @requested = requested
3169
+ end
3170
+ end
3171
+
2812
3172
  class BacsDebitPayments < Stripe::RequestParams
2813
3173
  # 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.
2814
3174
  attr_accessor :requested
@@ -2935,6 +3295,15 @@ module Stripe
2935
3295
  end
2936
3296
  end
2937
3297
 
3298
+ class GopayPayments < Stripe::RequestParams
3299
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3300
+ attr_accessor :requested
3301
+
3302
+ def initialize(requested: nil)
3303
+ @requested = requested
3304
+ end
3305
+ end
3306
+
2938
3307
  class GrabpayPayments < Stripe::RequestParams
2939
3308
  # 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.
2940
3309
  attr_accessor :requested
@@ -2944,6 +3313,24 @@ module Stripe
2944
3313
  end
2945
3314
  end
2946
3315
 
3316
+ class IdBankTransferPayments < Stripe::RequestParams
3317
+ # 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.
3318
+ attr_accessor :requested
3319
+
3320
+ def initialize(requested: nil)
3321
+ @requested = requested
3322
+ end
3323
+ end
3324
+
3325
+ class IdBankTransferPaymentsBca < Stripe::RequestParams
3326
+ # 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.
3327
+ attr_accessor :requested
3328
+
3329
+ def initialize(requested: nil)
3330
+ @requested = requested
3331
+ end
3332
+ end
3333
+
2947
3334
  class IdealPayments < Stripe::RequestParams
2948
3335
  # 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.
2949
3336
  attr_accessor :requested
@@ -3034,6 +3421,15 @@ module Stripe
3034
3421
  end
3035
3422
  end
3036
3423
 
3424
+ class MbWayPayments < Stripe::RequestParams
3425
+ # 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.
3426
+ attr_accessor :requested
3427
+
3428
+ def initialize(requested: nil)
3429
+ @requested = requested
3430
+ end
3431
+ end
3432
+
3037
3433
  class MobilepayPayments < Stripe::RequestParams
3038
3434
  # 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.
3039
3435
  attr_accessor :requested
@@ -3124,6 +3520,24 @@ module Stripe
3124
3520
  end
3125
3521
  end
3126
3522
 
3523
+ class PaypalPayments < Stripe::RequestParams
3524
+ # 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.
3525
+ attr_accessor :requested
3526
+
3527
+ def initialize(requested: nil)
3528
+ @requested = requested
3529
+ end
3530
+ end
3531
+
3532
+ class PaytoPayments < Stripe::RequestParams
3533
+ # 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.
3534
+ attr_accessor :requested
3535
+
3536
+ def initialize(requested: nil)
3537
+ @requested = requested
3538
+ end
3539
+ end
3540
+
3127
3541
  class PixPayments < Stripe::RequestParams
3128
3542
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3129
3543
  attr_accessor :requested
@@ -3142,6 +3556,24 @@ module Stripe
3142
3556
  end
3143
3557
  end
3144
3558
 
3559
+ class QrisPayments < Stripe::RequestParams
3560
+ # 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.
3561
+ attr_accessor :requested
3562
+
3563
+ def initialize(requested: nil)
3564
+ @requested = requested
3565
+ end
3566
+ end
3567
+
3568
+ class RechnungPayments < Stripe::RequestParams
3569
+ # 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.
3570
+ attr_accessor :requested
3571
+
3572
+ def initialize(requested: nil)
3573
+ @requested = requested
3574
+ end
3575
+ end
3576
+
3145
3577
  class RevolutPayPayments < Stripe::RequestParams
3146
3578
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3147
3579
  attr_accessor :requested
@@ -3187,6 +3619,15 @@ module Stripe
3187
3619
  end
3188
3620
  end
3189
3621
 
3622
+ class ShopeepayPayments < Stripe::RequestParams
3623
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3624
+ attr_accessor :requested
3625
+
3626
+ def initialize(requested: nil)
3627
+ @requested = requested
3628
+ end
3629
+ end
3630
+
3190
3631
  class SofortPayments < Stripe::RequestParams
3191
3632
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3192
3633
  attr_accessor :requested
@@ -3196,6 +3637,15 @@ module Stripe
3196
3637
  end
3197
3638
  end
3198
3639
 
3640
+ class StripeBalancePayments < Stripe::RequestParams
3641
+ # 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.
3642
+ attr_accessor :requested
3643
+
3644
+ def initialize(requested: nil)
3645
+ @requested = requested
3646
+ end
3647
+ end
3648
+
3199
3649
  class SwishPayments < Stripe::RequestParams
3200
3650
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3201
3651
  attr_accessor :requested
@@ -3241,6 +3691,33 @@ module Stripe
3241
3691
  end
3242
3692
  end
3243
3693
 
3694
+ class TreasuryEvolve < Stripe::RequestParams
3695
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3696
+ attr_accessor :requested
3697
+
3698
+ def initialize(requested: nil)
3699
+ @requested = requested
3700
+ end
3701
+ end
3702
+
3703
+ class TreasuryFifthThird < Stripe::RequestParams
3704
+ # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3705
+ attr_accessor :requested
3706
+
3707
+ def initialize(requested: nil)
3708
+ @requested = requested
3709
+ end
3710
+ end
3711
+
3712
+ class TreasuryGoldmanSachs < Stripe::RequestParams
3713
+ # 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.
3714
+ attr_accessor :requested
3715
+
3716
+ def initialize(requested: nil)
3717
+ @requested = requested
3718
+ end
3719
+ end
3720
+
3244
3721
  class TwintPayments < Stripe::RequestParams
3245
3722
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3246
3723
  attr_accessor :requested
@@ -3288,6 +3765,8 @@ module Stripe
3288
3765
  attr_accessor :amazon_pay_payments
3289
3766
  # The au_becs_debit_payments capability.
3290
3767
  attr_accessor :au_becs_debit_payments
3768
+ # The automatic_indirect_tax capability.
3769
+ attr_accessor :automatic_indirect_tax
3291
3770
  # The bacs_debit_payments capability.
3292
3771
  attr_accessor :bacs_debit_payments
3293
3772
  # The bancontact_payments capability.
@@ -3316,8 +3795,14 @@ module Stripe
3316
3795
  attr_accessor :gb_bank_transfer_payments
3317
3796
  # The giropay_payments capability.
3318
3797
  attr_accessor :giropay_payments
3798
+ # The gopay_payments capability.
3799
+ attr_accessor :gopay_payments
3319
3800
  # The grabpay_payments capability.
3320
3801
  attr_accessor :grabpay_payments
3802
+ # The id_bank_transfer_payments capability.
3803
+ attr_accessor :id_bank_transfer_payments
3804
+ # The id_bank_transfer_payments_bca capability.
3805
+ attr_accessor :id_bank_transfer_payments_bca
3321
3806
  # The ideal_payments capability.
3322
3807
  attr_accessor :ideal_payments
3323
3808
  # The india_international_payments capability.
@@ -3338,6 +3823,8 @@ module Stripe
3338
3823
  attr_accessor :legacy_payments
3339
3824
  # The link_payments capability.
3340
3825
  attr_accessor :link_payments
3826
+ # The mb_way_payments capability.
3827
+ attr_accessor :mb_way_payments
3341
3828
  # The mobilepay_payments capability.
3342
3829
  attr_accessor :mobilepay_payments
3343
3830
  # The multibanco_payments capability.
@@ -3358,10 +3845,18 @@ module Stripe
3358
3845
  attr_accessor :payco_payments
3359
3846
  # The paynow_payments capability.
3360
3847
  attr_accessor :paynow_payments
3848
+ # The paypal_payments capability.
3849
+ attr_accessor :paypal_payments
3850
+ # The payto_payments capability.
3851
+ attr_accessor :payto_payments
3361
3852
  # The pix_payments capability.
3362
3853
  attr_accessor :pix_payments
3363
3854
  # The promptpay_payments capability.
3364
3855
  attr_accessor :promptpay_payments
3856
+ # The qris_payments capability.
3857
+ attr_accessor :qris_payments
3858
+ # The rechnung_payments capability.
3859
+ attr_accessor :rechnung_payments
3365
3860
  # The revolut_pay_payments capability.
3366
3861
  attr_accessor :revolut_pay_payments
3367
3862
  # The samsung_pay_payments capability.
@@ -3372,8 +3867,12 @@ module Stripe
3372
3867
  attr_accessor :sepa_bank_transfer_payments
3373
3868
  # The sepa_debit_payments capability.
3374
3869
  attr_accessor :sepa_debit_payments
3870
+ # The shopeepay_payments capability.
3871
+ attr_accessor :shopeepay_payments
3375
3872
  # The sofort_payments capability.
3376
3873
  attr_accessor :sofort_payments
3874
+ # The stripe_balance_payments capability.
3875
+ attr_accessor :stripe_balance_payments
3377
3876
  # The swish_payments capability.
3378
3877
  attr_accessor :swish_payments
3379
3878
  # The tax_reporting_us_1099_k capability.
@@ -3384,6 +3883,12 @@ module Stripe
3384
3883
  attr_accessor :transfers
3385
3884
  # The treasury capability.
3386
3885
  attr_accessor :treasury
3886
+ # The treasury_evolve capability.
3887
+ attr_accessor :treasury_evolve
3888
+ # The treasury_fifth_third capability.
3889
+ attr_accessor :treasury_fifth_third
3890
+ # The treasury_goldman_sachs capability.
3891
+ attr_accessor :treasury_goldman_sachs
3387
3892
  # The twint_payments capability.
3388
3893
  attr_accessor :twint_payments
3389
3894
  # The us_bank_account_ach_payments capability.
@@ -3400,6 +3905,7 @@ module Stripe
3400
3905
  alma_payments: nil,
3401
3906
  amazon_pay_payments: nil,
3402
3907
  au_becs_debit_payments: nil,
3908
+ automatic_indirect_tax: nil,
3403
3909
  bacs_debit_payments: nil,
3404
3910
  bancontact_payments: nil,
3405
3911
  bank_transfer_payments: nil,
@@ -3414,7 +3920,10 @@ module Stripe
3414
3920
  fpx_payments: nil,
3415
3921
  gb_bank_transfer_payments: nil,
3416
3922
  giropay_payments: nil,
3923
+ gopay_payments: nil,
3417
3924
  grabpay_payments: nil,
3925
+ id_bank_transfer_payments: nil,
3926
+ id_bank_transfer_payments_bca: nil,
3418
3927
  ideal_payments: nil,
3419
3928
  india_international_payments: nil,
3420
3929
  jcb_payments: nil,
@@ -3425,6 +3934,7 @@ module Stripe
3425
3934
  kr_card_payments: nil,
3426
3935
  legacy_payments: nil,
3427
3936
  link_payments: nil,
3937
+ mb_way_payments: nil,
3428
3938
  mobilepay_payments: nil,
3429
3939
  multibanco_payments: nil,
3430
3940
  mx_bank_transfer_payments: nil,
@@ -3435,19 +3945,28 @@ module Stripe
3435
3945
  pay_by_bank_payments: nil,
3436
3946
  payco_payments: nil,
3437
3947
  paynow_payments: nil,
3948
+ paypal_payments: nil,
3949
+ payto_payments: nil,
3438
3950
  pix_payments: nil,
3439
3951
  promptpay_payments: nil,
3952
+ qris_payments: nil,
3953
+ rechnung_payments: nil,
3440
3954
  revolut_pay_payments: nil,
3441
3955
  samsung_pay_payments: nil,
3442
3956
  satispay_payments: nil,
3443
3957
  sepa_bank_transfer_payments: nil,
3444
3958
  sepa_debit_payments: nil,
3959
+ shopeepay_payments: nil,
3445
3960
  sofort_payments: nil,
3961
+ stripe_balance_payments: nil,
3446
3962
  swish_payments: nil,
3447
3963
  tax_reporting_us_1099_k: nil,
3448
3964
  tax_reporting_us_1099_misc: nil,
3449
3965
  transfers: nil,
3450
3966
  treasury: nil,
3967
+ treasury_evolve: nil,
3968
+ treasury_fifth_third: nil,
3969
+ treasury_goldman_sachs: nil,
3451
3970
  twint_payments: nil,
3452
3971
  us_bank_account_ach_payments: nil,
3453
3972
  us_bank_transfer_payments: nil,
@@ -3459,6 +3978,7 @@ module Stripe
3459
3978
  @alma_payments = alma_payments
3460
3979
  @amazon_pay_payments = amazon_pay_payments
3461
3980
  @au_becs_debit_payments = au_becs_debit_payments
3981
+ @automatic_indirect_tax = automatic_indirect_tax
3462
3982
  @bacs_debit_payments = bacs_debit_payments
3463
3983
  @bancontact_payments = bancontact_payments
3464
3984
  @bank_transfer_payments = bank_transfer_payments
@@ -3473,7 +3993,10 @@ module Stripe
3473
3993
  @fpx_payments = fpx_payments
3474
3994
  @gb_bank_transfer_payments = gb_bank_transfer_payments
3475
3995
  @giropay_payments = giropay_payments
3996
+ @gopay_payments = gopay_payments
3476
3997
  @grabpay_payments = grabpay_payments
3998
+ @id_bank_transfer_payments = id_bank_transfer_payments
3999
+ @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
3477
4000
  @ideal_payments = ideal_payments
3478
4001
  @india_international_payments = india_international_payments
3479
4002
  @jcb_payments = jcb_payments
@@ -3484,6 +4007,7 @@ module Stripe
3484
4007
  @kr_card_payments = kr_card_payments
3485
4008
  @legacy_payments = legacy_payments
3486
4009
  @link_payments = link_payments
4010
+ @mb_way_payments = mb_way_payments
3487
4011
  @mobilepay_payments = mobilepay_payments
3488
4012
  @multibanco_payments = multibanco_payments
3489
4013
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -3494,19 +4018,28 @@ module Stripe
3494
4018
  @pay_by_bank_payments = pay_by_bank_payments
3495
4019
  @payco_payments = payco_payments
3496
4020
  @paynow_payments = paynow_payments
4021
+ @paypal_payments = paypal_payments
4022
+ @payto_payments = payto_payments
3497
4023
  @pix_payments = pix_payments
3498
4024
  @promptpay_payments = promptpay_payments
4025
+ @qris_payments = qris_payments
4026
+ @rechnung_payments = rechnung_payments
3499
4027
  @revolut_pay_payments = revolut_pay_payments
3500
4028
  @samsung_pay_payments = samsung_pay_payments
3501
4029
  @satispay_payments = satispay_payments
3502
4030
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
3503
4031
  @sepa_debit_payments = sepa_debit_payments
4032
+ @shopeepay_payments = shopeepay_payments
3504
4033
  @sofort_payments = sofort_payments
4034
+ @stripe_balance_payments = stripe_balance_payments
3505
4035
  @swish_payments = swish_payments
3506
4036
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
3507
4037
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
3508
4038
  @transfers = transfers
3509
4039
  @treasury = treasury
4040
+ @treasury_evolve = treasury_evolve
4041
+ @treasury_fifth_third = treasury_fifth_third
4042
+ @treasury_goldman_sachs = treasury_goldman_sachs
3510
4043
  @twint_payments = twint_payments
3511
4044
  @us_bank_account_ach_payments = us_bank_account_ach_payments
3512
4045
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -3857,6 +4390,30 @@ module Stripe
3857
4390
  end
3858
4391
 
3859
4392
  class Controller < Stripe::RequestParams
4393
+ class Application < Stripe::RequestParams
4394
+ # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
4395
+ attr_accessor :loss_liable
4396
+ # Whether the controller owns onboarding for this account.
4397
+ attr_accessor :onboarding_owner
4398
+ # Whether the controller has pricing controls for this account.
4399
+ attr_accessor :pricing_controls
4400
+
4401
+ def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
4402
+ @loss_liable = loss_liable
4403
+ @onboarding_owner = onboarding_owner
4404
+ @pricing_controls = pricing_controls
4405
+ end
4406
+ end
4407
+
4408
+ class Dashboard < Stripe::RequestParams
4409
+ # 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`.
4410
+ attr_accessor :type
4411
+
4412
+ def initialize(type: nil)
4413
+ @type = type
4414
+ end
4415
+ end
4416
+
3860
4417
  class Fees < Stripe::RequestParams
3861
4418
  # 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).
3862
4419
  attr_accessor :payer
@@ -3883,6 +4440,10 @@ module Stripe
3883
4440
  @type = type
3884
4441
  end
3885
4442
  end
4443
+ # A hash of configuration describing the Connect application that controls the account.
4444
+ attr_accessor :application
4445
+ # Properties of the account's dashboard.
4446
+ attr_accessor :dashboard
3886
4447
  # A hash of configuration for who pays Stripe fees for product usage on this account.
3887
4448
  attr_accessor :fees
3888
4449
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -3892,7 +4453,16 @@ module Stripe
3892
4453
  # A hash of configuration for Stripe-hosted dashboards.
3893
4454
  attr_accessor :stripe_dashboard
3894
4455
 
3895
- def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
4456
+ def initialize(
4457
+ application: nil,
4458
+ dashboard: nil,
4459
+ fees: nil,
4460
+ losses: nil,
4461
+ requirement_collection: nil,
4462
+ stripe_dashboard: nil
4463
+ )
4464
+ @application = application
4465
+ @dashboard = dashboard
3896
4466
  @fees = fees
3897
4467
  @losses = losses
3898
4468
  @requirement_collection = requirement_collection
@@ -4326,6 +4896,37 @@ module Stripe
4326
4896
  end
4327
4897
  end
4328
4898
 
4899
+ class RiskControls < Stripe::RequestParams
4900
+ class Charges < Stripe::RequestParams
4901
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4902
+ # There can be a delay before the risk control is paused or unpaused.
4903
+ attr_accessor :pause_requested
4904
+
4905
+ def initialize(pause_requested: nil)
4906
+ @pause_requested = pause_requested
4907
+ end
4908
+ end
4909
+
4910
+ class Payouts < Stripe::RequestParams
4911
+ # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4912
+ # There can be a delay before the risk control is paused or unpaused.
4913
+ attr_accessor :pause_requested
4914
+
4915
+ def initialize(pause_requested: nil)
4916
+ @pause_requested = pause_requested
4917
+ end
4918
+ end
4919
+ # 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).
4920
+ attr_accessor :charges
4921
+ # 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).
4922
+ attr_accessor :payouts
4923
+
4924
+ def initialize(charges: nil, payouts: nil)
4925
+ @charges = charges
4926
+ @payouts = payouts
4927
+ end
4928
+ end
4929
+
4329
4930
  class Settings < Stripe::RequestParams
4330
4931
  class BacsDebitPayments < Stripe::RequestParams
4331
4932
  # 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.
@@ -4336,6 +4937,18 @@ module Stripe
4336
4937
  end
4337
4938
  end
4338
4939
 
4940
+ class BankBcaOnboarding < Stripe::RequestParams
4941
+ # Bank BCA business account holder name
4942
+ attr_accessor :account_holder_name
4943
+ # Bank BCA business account number
4944
+ attr_accessor :business_account_number
4945
+
4946
+ def initialize(account_holder_name: nil, business_account_number: nil)
4947
+ @account_holder_name = account_holder_name
4948
+ @business_account_number = business_account_number
4949
+ end
4950
+ end
4951
+
4339
4952
  class Branding < Stripe::RequestParams
4340
4953
  # (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.
4341
4954
  attr_accessor :icon
@@ -4354,6 +4967,18 @@ module Stripe
4354
4967
  end
4355
4968
  end
4356
4969
 
4970
+ class Capital < Stripe::RequestParams
4971
+ # Per-currency mapping of user-selected destination accounts used to pay out loans.
4972
+ attr_accessor :payout_destination
4973
+ # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4974
+ attr_accessor :payout_destination_selector
4975
+
4976
+ def initialize(payout_destination: nil, payout_destination_selector: nil)
4977
+ @payout_destination = payout_destination
4978
+ @payout_destination_selector = payout_destination_selector
4979
+ end
4980
+ end
4981
+
4357
4982
  class CardIssuing < Stripe::RequestParams
4358
4983
  class TosAcceptance < Stripe::RequestParams
4359
4984
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4471,6 +5096,15 @@ module Stripe
4471
5096
  end
4472
5097
  end
4473
5098
 
5099
+ class TaxForms < Stripe::RequestParams
5100
+ # Whether the account opted out of receiving their tax forms by postal delivery.
5101
+ attr_accessor :consented_to_paperless_delivery
5102
+
5103
+ def initialize(consented_to_paperless_delivery: nil)
5104
+ @consented_to_paperless_delivery = consented_to_paperless_delivery
5105
+ end
5106
+ end
5107
+
4474
5108
  class Treasury < Stripe::RequestParams
4475
5109
  class TosAcceptance < Stripe::RequestParams
4476
5110
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4495,8 +5129,12 @@ module Stripe
4495
5129
  end
4496
5130
  # Settings specific to Bacs Direct Debit.
4497
5131
  attr_accessor :bacs_debit_payments
5132
+ # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
5133
+ attr_accessor :bank_bca_onboarding
4498
5134
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
4499
5135
  attr_accessor :branding
5136
+ # Settings specific to the account's use of the Capital product.
5137
+ attr_accessor :capital
4500
5138
  # Settings specific to the account's use of the Card Issuing product.
4501
5139
  attr_accessor :card_issuing
4502
5140
  # Settings specific to card charging on the account.
@@ -4507,26 +5145,34 @@ module Stripe
4507
5145
  attr_accessor :payments
4508
5146
  # Settings specific to the account's payouts.
4509
5147
  attr_accessor :payouts
5148
+ # Settings specific to the account's tax forms.
5149
+ attr_accessor :tax_forms
4510
5150
  # Settings specific to the account's Treasury FinancialAccounts.
4511
5151
  attr_accessor :treasury
4512
5152
 
4513
5153
  def initialize(
4514
5154
  bacs_debit_payments: nil,
5155
+ bank_bca_onboarding: nil,
4515
5156
  branding: nil,
5157
+ capital: nil,
4516
5158
  card_issuing: nil,
4517
5159
  card_payments: nil,
4518
5160
  invoices: nil,
4519
5161
  payments: nil,
4520
5162
  payouts: nil,
5163
+ tax_forms: nil,
4521
5164
  treasury: nil
4522
5165
  )
4523
5166
  @bacs_debit_payments = bacs_debit_payments
5167
+ @bank_bca_onboarding = bank_bca_onboarding
4524
5168
  @branding = branding
5169
+ @capital = capital
4525
5170
  @card_issuing = card_issuing
4526
5171
  @card_payments = card_payments
4527
5172
  @invoices = invoices
4528
5173
  @payments = payments
4529
5174
  @payouts = payouts
5175
+ @tax_forms = tax_forms
4530
5176
  @treasury = treasury
4531
5177
  end
4532
5178
  end
@@ -4585,6 +5231,8 @@ module Stripe
4585
5231
  attr_accessor :individual
4586
5232
  # 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`.
4587
5233
  attr_accessor :metadata
5234
+ # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
5235
+ attr_accessor :risk_controls
4588
5236
  # Options for customizing how the account functions within Stripe.
4589
5237
  attr_accessor :settings
4590
5238
  # 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.
@@ -4608,6 +5256,7 @@ module Stripe
4608
5256
  groups: nil,
4609
5257
  individual: nil,
4610
5258
  metadata: nil,
5259
+ risk_controls: nil,
4611
5260
  settings: nil,
4612
5261
  tos_acceptance: nil,
4613
5262
  type: nil
@@ -4627,6 +5276,7 @@ module Stripe
4627
5276
  @groups = groups
4628
5277
  @individual = individual
4629
5278
  @metadata = metadata
5279
+ @risk_controls = risk_controls
4630
5280
  @settings = settings
4631
5281
  @tos_acceptance = tos_acceptance
4632
5282
  @type = type
@@ -4745,6 +5395,8 @@ module Stripe
4745
5395
  attr_reader :payouts_enabled
4746
5396
  # Attribute for field requirements
4747
5397
  attr_reader :requirements
5398
+ # Attribute for field risk_controls
5399
+ attr_reader :risk_controls
4748
5400
  # Options for customizing how the account functions within Stripe.
4749
5401
  attr_reader :settings
4750
5402
  # Attribute for field tos_acceptance