stripe 15.2.0.pre.beta.1 → 15.2.0

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 (648) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +718 -1556
  3. data/CONTRIBUTING.md +25 -0
  4. data/OPENAPI_VERSION +1 -1
  5. data/README.md +10 -7
  6. data/VERSION +1 -1
  7. data/lib/stripe/api_requestor.rb +0 -28
  8. data/lib/stripe/api_version.rb +1 -1
  9. data/lib/stripe/errors.rb +0 -54
  10. data/lib/stripe/event_types.rb +0 -89
  11. data/lib/stripe/object_types.rb +0 -52
  12. data/lib/stripe/resources/account.rb +32 -657
  13. data/lib/stripe/resources/account_session.rb +59 -253
  14. data/lib/stripe/resources/apple_pay_domain.rb +1 -2
  15. data/lib/stripe/resources/balance.rb +42 -0
  16. data/lib/stripe/resources/balance_transaction.rb +2 -0
  17. data/lib/stripe/resources/bank_account.rb +2 -2
  18. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  19. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
  20. data/lib/stripe/resources/billing/credit_grant.rb +0 -10
  21. data/lib/stripe/resources/billing_portal/session.rb +1 -7
  22. data/lib/stripe/resources/capability.rb +1 -1
  23. data/lib/stripe/resources/card.rb +0 -2
  24. data/lib/stripe/resources/cash_balance.rb +0 -2
  25. data/lib/stripe/resources/charge.rb +13 -1475
  26. data/lib/stripe/resources/checkout/session.rb +21 -333
  27. data/lib/stripe/resources/confirmation_token.rb +33 -263
  28. data/lib/stripe/resources/country_spec.rb +1 -1
  29. data/lib/stripe/resources/coupon.rb +2 -32
  30. data/lib/stripe/resources/credit_note.rb +10 -17
  31. data/lib/stripe/resources/credit_note_line_item.rb +0 -9
  32. data/lib/stripe/resources/customer.rb +2 -6
  33. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  34. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  35. data/lib/stripe/resources/customer_session.rb +4 -9
  36. data/lib/stripe/resources/discount.rb +0 -2
  37. data/lib/stripe/resources/dispute.rb +2 -2
  38. data/lib/stripe/resources/event.rb +1 -32
  39. data/lib/stripe/resources/file.rb +1 -1
  40. data/lib/stripe/resources/financial_connections/account.rb +1 -20
  41. data/lib/stripe/resources/financial_connections/session.rb +2 -62
  42. data/lib/stripe/resources/identity/verification_report.rb +6 -0
  43. data/lib/stripe/resources/identity/verification_session.rb +17 -21
  44. data/lib/stripe/resources/invoice.rb +79 -1106
  45. data/lib/stripe/resources/invoice_item.rb +4 -81
  46. data/lib/stripe/resources/invoice_line_item.rb +2 -56
  47. data/lib/stripe/resources/invoice_payment.rb +62 -4
  48. data/lib/stripe/resources/issuing/authorization.rb +8 -8
  49. data/lib/stripe/resources/issuing/card.rb +1 -1
  50. data/lib/stripe/resources/issuing/cardholder.rb +1 -2
  51. data/lib/stripe/resources/issuing/dispute.rb +3 -3
  52. data/lib/stripe/resources/issuing/transaction.rb +0 -6
  53. data/lib/stripe/resources/line_item.rb +0 -37
  54. data/lib/stripe/resources/mandate.rb +0 -24
  55. data/lib/stripe/resources/payment_intent.rb +1912 -6840
  56. data/lib/stripe/resources/payment_method.rb +47 -301
  57. data/lib/stripe/resources/payment_method_configuration.rb +112 -112
  58. data/lib/stripe/resources/payment_method_domain.rb +2 -2
  59. data/lib/stripe/resources/payout.rb +4 -10
  60. data/lib/stripe/resources/person.rb +2 -2
  61. data/lib/stripe/resources/plan.rb +2 -3
  62. data/lib/stripe/resources/price.rb +1 -31
  63. data/lib/stripe/resources/product.rb +1 -61
  64. data/lib/stripe/resources/promotion_code.rb +0 -10
  65. data/lib/stripe/resources/quote.rb +6 -2046
  66. data/lib/stripe/resources/radar/value_list.rb +1 -2
  67. data/lib/stripe/resources/radar/value_list_item.rb +1 -2
  68. data/lib/stripe/resources/refund.rb +6 -10
  69. data/lib/stripe/resources/reversal.rb +1 -1
  70. data/lib/stripe/resources/review.rb +1 -1
  71. data/lib/stripe/resources/setup_attempt.rb +0 -21
  72. data/lib/stripe/resources/setup_intent.rb +120 -877
  73. data/lib/stripe/resources/source.rb +1 -30
  74. data/lib/stripe/resources/subscription.rb +97 -326
  75. data/lib/stripe/resources/subscription_item.rb +32 -80
  76. data/lib/stripe/resources/subscription_schedule.rb +127 -1015
  77. data/lib/stripe/resources/tax/calculation.rb +4 -0
  78. data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
  79. data/lib/stripe/resources/tax/registration.rb +1 -1
  80. data/lib/stripe/resources/tax_id.rb +3 -14
  81. data/lib/stripe/resources/tax_rate.rb +2 -2
  82. data/lib/stripe/resources/terminal/configuration.rb +1 -2
  83. data/lib/stripe/resources/terminal/location.rb +2 -3
  84. data/lib/stripe/resources/terminal/reader.rb +8 -142
  85. data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
  86. data/lib/stripe/resources/token.rb +2 -2
  87. data/lib/stripe/resources/transfer.rb +1 -7
  88. data/lib/stripe/resources/treasury/financial_account.rb +3 -22
  89. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  90. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
  91. data/lib/stripe/resources/treasury/received_credit.rb +1 -38
  92. data/lib/stripe/resources/treasury/received_debit.rb +1 -40
  93. data/lib/stripe/resources/webhook_endpoint.rb +1 -2
  94. data/lib/stripe/resources.rb +0 -99
  95. data/lib/stripe/services/account_external_account_service.rb +2 -3
  96. data/lib/stripe/services/account_login_link_service.rb +1 -1
  97. data/lib/stripe/services/account_person_service.rb +1 -2
  98. data/lib/stripe/services/account_service.rb +23 -559
  99. data/lib/stripe/services/account_session_service.rb +29 -229
  100. data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
  101. data/lib/stripe/services/balance_service.rb +1 -1
  102. data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
  103. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
  104. data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
  105. data/lib/stripe/services/billing_portal/session_service.rb +0 -4
  106. data/lib/stripe/services/charge_service.rb +4 -1354
  107. data/lib/stripe/services/checkout/session_service.rb +13 -250
  108. data/lib/stripe/services/coupon_service.rb +2 -19
  109. data/lib/stripe/services/credit_note_service.rb +7 -12
  110. data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
  111. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
  112. data/lib/stripe/services/customer_payment_source_service.rb +1 -1
  113. data/lib/stripe/services/customer_service.rb +3 -5
  114. data/lib/stripe/services/customer_session_service.rb +1 -4
  115. data/lib/stripe/services/customer_tax_id_service.rb +1 -2
  116. data/lib/stripe/services/dispute_service.rb +1 -1
  117. data/lib/stripe/services/file_service.rb +1 -1
  118. data/lib/stripe/services/financial_connections/account_service.rb +2 -7
  119. data/lib/stripe/services/financial_connections/session_service.rb +2 -34
  120. data/lib/stripe/services/financial_connections_service.rb +1 -2
  121. data/lib/stripe/services/identity/verification_session_service.rb +5 -13
  122. data/lib/stripe/services/invoice_item_service.rb +3 -76
  123. data/lib/stripe/services/invoice_line_item_service.rb +1 -33
  124. data/lib/stripe/services/invoice_payment_service.rb +83 -0
  125. data/lib/stripe/services/invoice_service.rb +74 -1049
  126. data/lib/stripe/services/issuing/authorization_service.rb +4 -4
  127. data/lib/stripe/services/issuing/card_service.rb +1 -1
  128. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  129. data/lib/stripe/services/issuing/dispute_service.rb +2 -2
  130. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  131. data/lib/stripe/services/issuing_service.rb +1 -5
  132. data/lib/stripe/services/payment_intent_service.rb +439 -4928
  133. data/lib/stripe/services/payment_method_configuration_service.rb +82 -82
  134. data/lib/stripe/services/payment_method_domain_service.rb +1 -1
  135. data/lib/stripe/services/payment_method_service.rb +44 -226
  136. data/lib/stripe/services/payout_service.rb +2 -6
  137. data/lib/stripe/services/plan_service.rb +2 -3
  138. data/lib/stripe/services/price_service.rb +2 -21
  139. data/lib/stripe/services/product_feature_service.rb +1 -2
  140. data/lib/stripe/services/product_service.rb +2 -41
  141. data/lib/stripe/services/promotion_code_service.rb +1 -9
  142. data/lib/stripe/services/quote_service.rb +7 -1730
  143. data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
  144. data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
  145. data/lib/stripe/services/radar/value_list_service.rb +1 -2
  146. data/lib/stripe/services/setup_intent_service.rb +119 -836
  147. data/lib/stripe/services/source_service.rb +1 -1
  148. data/lib/stripe/services/subscription_item_service.rb +27 -73
  149. data/lib/stripe/services/subscription_schedule_service.rb +101 -916
  150. data/lib/stripe/services/subscription_service.rb +85 -282
  151. data/lib/stripe/services/tax/calculation_service.rb +4 -0
  152. data/lib/stripe/services/tax/registration_service.rb +1 -1
  153. data/lib/stripe/services/tax_id_service.rb +3 -10
  154. data/lib/stripe/services/tax_service.rb +1 -3
  155. data/lib/stripe/services/terminal/configuration_service.rb +1 -2
  156. data/lib/stripe/services/terminal/location_service.rb +2 -3
  157. data/lib/stripe/services/terminal/reader_service.rb +5 -81
  158. data/lib/stripe/services/terminal_service.rb +1 -2
  159. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +33 -190
  160. data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
  161. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  162. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  163. data/lib/stripe/services/token_service.rb +1 -1
  164. data/lib/stripe/services/transfer_service.rb +1 -5
  165. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  166. data/lib/stripe/services/treasury/financial_account_service.rb +2 -16
  167. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  168. data/lib/stripe/services/v1_services.rb +2 -12
  169. data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
  170. data/lib/stripe/services/v2/core/event_destination_service.rb +4 -10
  171. data/lib/stripe/services/v2/core/event_service.rb +1 -2
  172. data/lib/stripe/services/v2/core_service.rb +1 -4
  173. data/lib/stripe/services/v2_services.rb +2 -4
  174. data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
  175. data/lib/stripe/services.rb +1 -54
  176. data/lib/stripe/stripe_configuration.rb +1 -3
  177. data/lib/stripe/stripe_object.rb +1 -1
  178. data/lib/stripe/util.rb +1 -7
  179. data/lib/stripe/version.rb +1 -1
  180. data/lib/stripe.rb +0 -53
  181. data/rbi/stripe/resources/account.rbi +4926 -0
  182. data/rbi/stripe/resources/account_link.rbi +74 -0
  183. data/rbi/stripe/resources/account_session.rbi +1013 -0
  184. data/rbi/stripe/resources/apple_pay_domain.rbi +88 -0
  185. data/rbi/stripe/resources/application.rbi +20 -0
  186. data/rbi/stripe/resources/application_fee.rbi +118 -0
  187. data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
  188. data/rbi/stripe/resources/apps/secret.rbi +195 -0
  189. data/rbi/stripe/resources/balance.rbi +235 -0
  190. data/rbi/stripe/resources/balance_transaction.rbi +147 -0
  191. data/rbi/stripe/resources/bank_account.rbi +127 -0
  192. data/rbi/stripe/resources/billing/alert.rbi +201 -0
  193. data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
  194. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
  195. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
  196. data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
  197. data/rbi/stripe/resources/billing/meter.rbi +226 -0
  198. data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
  199. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
  200. data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
  201. data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
  202. data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
  203. data/rbi/stripe/resources/capability.rbi +125 -0
  204. data/rbi/stripe/resources/card.rbi +125 -0
  205. data/rbi/stripe/resources/cash_balance.rbi +32 -0
  206. data/rbi/stripe/resources/charge.rbi +2069 -0
  207. data/rbi/stripe/resources/checkout/session.rbi +4004 -0
  208. data/rbi/stripe/resources/climate/order.rbi +245 -0
  209. data/rbi/stripe/resources/climate/product.rbi +75 -0
  210. data/rbi/stripe/resources/climate/supplier.rbi +72 -0
  211. data/rbi/stripe/resources/confirmation_token.rbi +1807 -0
  212. data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
  213. data/rbi/stripe/resources/country_spec.rbi +85 -0
  214. data/rbi/stripe/resources/coupon.rbi +250 -0
  215. data/rbi/stripe/resources/credit_note.rbi +752 -0
  216. data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
  217. data/rbi/stripe/resources/customer.rbi +1005 -0
  218. data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
  219. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
  220. data/rbi/stripe/resources/customer_session.rbi +200 -0
  221. data/rbi/stripe/resources/discount.rbi +53 -0
  222. data/rbi/stripe/resources/dispute.rbi +761 -0
  223. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
  224. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
  225. data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
  226. data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
  227. data/rbi/stripe/resources/event.rbi +149 -0
  228. data/rbi/stripe/resources/exchange_rate.rbi +66 -0
  229. data/rbi/stripe/resources/file.rbi +143 -0
  230. data/rbi/stripe/resources/file_link.rbi +141 -0
  231. data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
  232. data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
  233. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
  234. data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
  235. data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
  236. data/rbi/stripe/resources/forwarding/request.rbi +216 -0
  237. data/rbi/stripe/resources/funding_instructions.rbi +437 -0
  238. data/rbi/stripe/resources/identity/verification_report.rbi +360 -0
  239. data/rbi/stripe/resources/identity/verification_session.rbi +526 -0
  240. data/rbi/stripe/resources/invoice.rbi +3812 -0
  241. data/rbi/stripe/resources/invoice_item.rbi +473 -0
  242. data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
  243. data/rbi/stripe/resources/invoice_payment.rbi +121 -0
  244. data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
  245. data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
  246. data/rbi/stripe/resources/issuing/card.rbi +741 -0
  247. data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
  248. data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
  249. data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
  250. data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
  251. data/rbi/stripe/resources/issuing/token.rbi +226 -0
  252. data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
  253. data/rbi/stripe/resources/line_item.rbi +72 -0
  254. data/rbi/stripe/resources/login_link.rbi +19 -0
  255. data/rbi/stripe/resources/mandate.rbi +187 -0
  256. data/rbi/stripe/resources/payment_intent.rbi +9647 -0
  257. data/rbi/stripe/resources/payment_link.rbi +1801 -0
  258. data/rbi/stripe/resources/payment_method.rbi +1761 -0
  259. data/rbi/stripe/resources/payment_method_configuration.rbi +3550 -0
  260. data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
  261. data/rbi/stripe/resources/payout.rbi +300 -0
  262. data/rbi/stripe/resources/person.rbi +401 -0
  263. data/rbi/stripe/resources/plan.rbi +371 -0
  264. data/rbi/stripe/resources/price.rbi +694 -0
  265. data/rbi/stripe/resources/product.rbi +555 -0
  266. data/rbi/stripe/resources/product_feature.rbi +26 -0
  267. data/rbi/stripe/resources/promotion_code.rbi +261 -0
  268. data/rbi/stripe/resources/quote.rbi +1126 -0
  269. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
  270. data/rbi/stripe/resources/radar/value_list.rbi +168 -0
  271. data/rbi/stripe/resources/radar/value_list_item.rbi +129 -0
  272. data/rbi/stripe/resources/refund.rbi +523 -0
  273. data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
  274. data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
  275. data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
  276. data/rbi/stripe/resources/reversal.rbi +51 -0
  277. data/rbi/stripe/resources/review.rbi +154 -0
  278. data/rbi/stripe/resources/setup_attempt.rbi +477 -0
  279. data/rbi/stripe/resources/setup_intent.rbi +3655 -0
  280. data/rbi/stripe/resources/shipping_rate.rbi +305 -0
  281. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
  282. data/rbi/stripe/resources/source.rbi +1496 -0
  283. data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
  284. data/rbi/stripe/resources/source_transaction.rbi +127 -0
  285. data/rbi/stripe/resources/subscription.rbi +2027 -0
  286. data/rbi/stripe/resources/subscription_item.rbi +404 -0
  287. data/rbi/stripe/resources/subscription_schedule.rbi +1623 -0
  288. data/rbi/stripe/resources/tax/calculation.rbi +478 -0
  289. data/rbi/stripe/resources/tax/calculation_line_item.rbi +91 -0
  290. data/rbi/stripe/resources/tax/registration.rbi +2713 -0
  291. data/rbi/stripe/resources/tax/settings.rbi +141 -0
  292. data/rbi/stripe/resources/tax/transaction.rbi +351 -0
  293. data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
  294. data/rbi/stripe/resources/tax_code.rbi +44 -0
  295. data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
  296. data/rbi/stripe/resources/tax_id.rbi +165 -0
  297. data/rbi/stripe/resources/tax_rate.rbi +239 -0
  298. data/rbi/stripe/resources/terminal/configuration.rbi +1386 -0
  299. data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
  300. data/rbi/stripe/resources/terminal/location.rbi +222 -0
  301. data/rbi/stripe/resources/terminal/reader.rbi +847 -0
  302. data/rbi/stripe/resources/test_helpers/test_clock.rbi +132 -0
  303. data/rbi/stripe/resources/token.rbi +1283 -0
  304. data/rbi/stripe/resources/topup.rbi +222 -0
  305. data/rbi/stripe/resources/transfer.rbi +199 -0
  306. data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
  307. data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
  308. data/rbi/stripe/resources/treasury/financial_account.rbi +865 -0
  309. data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
  310. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
  311. data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
  312. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
  313. data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
  314. data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
  315. data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
  316. data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
  317. data/rbi/stripe/resources/v2/amount.rbi +14 -0
  318. data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
  319. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
  320. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
  321. data/rbi/stripe/resources/v2/event.rbi +48 -0
  322. data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
  323. data/rbi/stripe/resources/webhook_endpoint.rbi +168 -0
  324. data/rbi/stripe/services/account_capability_service.rbi +51 -0
  325. data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +124 -138
  326. data/rbi/stripe/services/account_link_service.rbi +58 -0
  327. data/rbi/stripe/services/account_login_link_service.rbi +22 -0
  328. data/rbi/stripe/services/account_person_service.rbi +1011 -0
  329. data/rbi/stripe/services/account_service.rbi +4213 -0
  330. data/rbi/stripe/services/account_session_service.rbi +646 -0
  331. data/rbi/stripe/services/apple_pay_domain_service.rbi +76 -0
  332. data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
  333. data/rbi/stripe/services/application_fee_service.rbi +78 -0
  334. data/rbi/stripe/services/apps/secret_service.rbi +151 -0
  335. data/rbi/stripe/services/apps_service.rbi +9 -0
  336. data/rbi/stripe/services/balance_service.rbi +21 -0
  337. data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
  338. data/rbi/stripe/services/billing/alert_service.rbi +152 -0
  339. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
  340. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
  341. data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
  342. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
  343. data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
  344. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
  345. data/rbi/stripe/services/billing/meter_service.rbi +163 -0
  346. data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
  347. data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
  348. data/rbi/stripe/services/billing_portal_service.rbi +10 -0
  349. data/rbi/stripe/services/billing_service.rbi +15 -0
  350. data/rbi/stripe/services/charge_service.rbi +448 -0
  351. data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
  352. data/rbi/stripe/services/checkout/session_service.rbi +2614 -0
  353. data/rbi/stripe/services/checkout_service.rbi +9 -0
  354. data/rbi/stripe/services/climate/order_service.rbi +142 -0
  355. data/rbi/stripe/services/climate/product_service.rbi +46 -0
  356. data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
  357. data/rbi/stripe/services/climate_service.rbi +11 -0
  358. data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
  359. data/rbi/stripe/services/country_spec_service.rbi +44 -0
  360. data/rbi/stripe/services/coupon_service.rbi +194 -0
  361. data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
  362. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
  363. data/rbi/stripe/services/credit_note_service.rbi +415 -0
  364. data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
  365. data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
  366. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
  367. data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
  368. data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
  369. data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
  370. data/rbi/stripe/services/customer_service.rbi +647 -0
  371. data/rbi/stripe/services/customer_session_service.rbi +116 -0
  372. data/rbi/stripe/services/customer_tax_id_service.rbi +70 -0
  373. data/rbi/stripe/services/dispute_service.rbi +424 -0
  374. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
  375. data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
  376. data/rbi/stripe/services/entitlements_service.rbi +10 -0
  377. data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
  378. data/rbi/stripe/services/event_service.rbi +83 -0
  379. data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
  380. data/rbi/stripe/services/file_link_service.rbi +124 -0
  381. data/rbi/stripe/services/file_service.rbi +116 -0
  382. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
  383. data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
  384. data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
  385. data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
  386. data/rbi/stripe/services/financial_connections_service.rbi +11 -0
  387. data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
  388. data/rbi/stripe/services/forwarding_service.rbi +9 -0
  389. data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
  390. data/rbi/stripe/services/identity/verification_session_service.rbi +323 -0
  391. data/rbi/stripe/services/identity_service.rbi +10 -0
  392. data/rbi/stripe/services/invoice_item_service.rbi +366 -0
  393. data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
  394. data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
  395. data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
  396. data/rbi/stripe/services/invoice_service.rbi +2981 -0
  397. data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
  398. data/rbi/stripe/services/issuing/card_service.rbi +495 -0
  399. data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
  400. data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
  401. data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
  402. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
  403. data/rbi/stripe/services/issuing/token_service.rbi +99 -0
  404. data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
  405. data/rbi/stripe/services/issuing_service.rbi +16 -0
  406. data/rbi/stripe/services/mandate_service.rbi +20 -0
  407. data/rbi/stripe/services/payment_intent_service.rbi +7659 -0
  408. data/{lib/stripe/services/payment_intent_amount_details_line_item_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
  409. data/rbi/stripe/services/payment_link_service.rbi +1352 -0
  410. data/rbi/stripe/services/payment_method_configuration_service.rbi +2487 -0
  411. data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
  412. data/rbi/stripe/services/payment_method_service.rbi +776 -0
  413. data/rbi/stripe/services/payout_service.rbi +205 -0
  414. data/rbi/stripe/services/plan_service.rbi +282 -0
  415. data/rbi/stripe/services/price_service.rbi +546 -0
  416. data/rbi/stripe/services/product_feature_service.rbi +67 -0
  417. data/rbi/stripe/services/product_service.rbi +477 -0
  418. data/rbi/stripe/services/promotion_code_service.rbi +214 -0
  419. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
  420. data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
  421. data/rbi/stripe/services/quote_service.rbi +686 -0
  422. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
  423. data/rbi/stripe/services/radar/value_list_item_service.rbi +109 -0
  424. data/rbi/stripe/services/radar/value_list_service.rbi +141 -0
  425. data/rbi/stripe/services/radar_service.rbi +11 -0
  426. data/rbi/stripe/services/refund_service.rbi +185 -0
  427. data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
  428. data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
  429. data/rbi/stripe/services/reporting_service.rbi +10 -0
  430. data/rbi/stripe/services/review_service.rbi +84 -0
  431. data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
  432. data/rbi/stripe/services/setup_intent_service.rbi +3391 -0
  433. data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
  434. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
  435. data/rbi/stripe/services/sigma_service.rbi +9 -0
  436. data/rbi/stripe/services/source_service.rbi +663 -0
  437. data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
  438. data/rbi/stripe/services/subscription_item_service.rbi +350 -0
  439. data/rbi/stripe/services/subscription_schedule_service.rbi +1290 -0
  440. data/rbi/stripe/services/subscription_service.rbi +1648 -0
  441. data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/calculation_line_item_service.rbi} +17 -21
  442. data/rbi/stripe/services/tax/calculation_service.rbi +234 -0
  443. data/rbi/stripe/services/tax/registration_service.rbi +1845 -0
  444. data/rbi/stripe/services/tax/settings_service.rbi +93 -0
  445. data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
  446. data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
  447. data/rbi/stripe/services/tax_code_service.rbi +44 -0
  448. data/rbi/stripe/services/tax_id_service.rbi +110 -0
  449. data/rbi/stripe/services/tax_rate_service.rbi +185 -0
  450. data/rbi/stripe/services/tax_service.rbi +12 -0
  451. data/rbi/stripe/services/terminal/configuration_service.rbi +1118 -0
  452. data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
  453. data/rbi/stripe/services/terminal/location_service.rbi +182 -0
  454. data/rbi/stripe/services/terminal/reader_service.rbi +455 -0
  455. data/rbi/stripe/services/terminal_service.rbi +12 -0
  456. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +739 -0
  457. data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
  458. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
  459. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
  460. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
  461. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
  462. data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
  463. data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
  464. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +93 -0
  465. data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
  466. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +90 -0
  467. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
  468. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
  469. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
  470. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
  471. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
  472. data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
  473. data/rbi/stripe/services/test_helpers_service.rbi +15 -0
  474. data/rbi/stripe/services/token_service.rbi +1257 -0
  475. data/rbi/stripe/services/topup_service.rbi +176 -0
  476. data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
  477. data/rbi/stripe/services/transfer_service.rbi +152 -0
  478. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
  479. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
  480. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
  481. data/rbi/stripe/services/treasury/financial_account_service.rbi +562 -0
  482. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
  483. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
  484. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
  485. data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
  486. data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
  487. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
  488. data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
  489. data/rbi/stripe/services/treasury_service.rbi +18 -0
  490. data/rbi/stripe/services/v1_services.rbi +77 -0
  491. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
  492. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
  493. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +18 -0
  494. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
  495. data/rbi/stripe/services/v2/billing_service.rbi +14 -0
  496. data/rbi/stripe/services/v2/core/event_destination_service.rbi +192 -0
  497. data/rbi/stripe/services/v2/core/event_service.rbi +36 -0
  498. data/rbi/stripe/services/v2/core_service.rbi +12 -0
  499. data/rbi/stripe/services/v2_services.rbi +10 -0
  500. data/rbi/stripe/services/webhook_endpoint_service.rbi +129 -0
  501. data/stripe.gemspec +1 -4
  502. metadata +326 -158
  503. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
  504. data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
  505. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  506. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  507. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  508. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  509. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  510. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  511. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
  512. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
  513. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  514. data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
  515. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  516. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  517. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  518. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
  519. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
  520. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  521. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
  522. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  523. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  524. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  525. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  526. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  527. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  528. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  529. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  530. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  531. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  532. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  533. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  534. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  535. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
  536. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  537. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  538. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  539. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  540. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  541. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
  542. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  543. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  544. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  545. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  546. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  547. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  548. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  549. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  550. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  551. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
  552. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
  553. data/lib/stripe/resources/account_notice.rb +0 -123
  554. data/lib/stripe/resources/balance_settings.rb +0 -105
  555. data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
  556. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  557. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  558. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  559. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  560. data/lib/stripe/resources/financial_connections/institution.rb +0 -90
  561. data/lib/stripe/resources/fx_quote.rb +0 -184
  562. data/lib/stripe/resources/gift_cards/card.rb +0 -208
  563. data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
  564. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  565. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  566. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  567. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  568. data/lib/stripe/resources/margin.rb +0 -115
  569. data/lib/stripe/resources/order.rb +0 -2859
  570. data/lib/stripe/resources/payment_attempt_record.rb +0 -1078
  571. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -65
  572. data/lib/stripe/resources/payment_record.rb +0 -1607
  573. data/lib/stripe/resources/privacy/redaction_job.rb +0 -275
  574. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -25
  575. data/lib/stripe/resources/quote_line.rb +0 -274
  576. data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
  577. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -339
  578. data/lib/stripe/resources/tax/association.rb +0 -89
  579. data/lib/stripe/resources/tax/form.rb +0 -211
  580. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  581. data/lib/stripe/resources/v2/core/account.rb +0 -1746
  582. data/lib/stripe/resources/v2/core/account_link.rb +0 -56
  583. data/lib/stripe/resources/v2/core/person.rb +0 -276
  584. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
  585. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
  586. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
  587. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
  588. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
  589. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -58
  590. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
  591. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
  592. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
  593. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
  594. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
  595. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
  596. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -75
  597. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
  598. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -136
  599. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -108
  600. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -78
  601. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -68
  602. data/lib/stripe/services/account_notice_service.rb +0 -101
  603. data/lib/stripe/services/balance_settings_service.rb +0 -96
  604. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  605. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  606. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  607. data/lib/stripe/services/capital_service.rb +0 -15
  608. data/lib/stripe/services/fx_quote_service.rb +0 -123
  609. data/lib/stripe/services/gift_cards/card_service.rb +0 -170
  610. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
  611. data/lib/stripe/services/gift_cards_service.rb +0 -14
  612. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  613. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  614. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  615. data/lib/stripe/services/margin_service.rb +0 -119
  616. data/lib/stripe/services/order_service.rb +0 -2268
  617. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  618. data/lib/stripe/services/payment_record_service.rb +0 -542
  619. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -231
  620. data/lib/stripe/services/privacy_service.rb +0 -13
  621. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  622. data/lib/stripe/services/tax/association_service.rb +0 -31
  623. data/lib/stripe/services/tax/form_service.rb +0 -100
  624. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  625. data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
  626. data/lib/stripe/services/v2/core/account_service.rb +0 -4138
  627. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1048
  628. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -135
  629. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -109
  630. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  631. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -75
  632. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -44
  633. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
  634. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -126
  635. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -96
  636. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -202
  637. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -237
  638. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -174
  639. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -95
  640. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  641. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -71
  642. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -44
  643. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -70
  644. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -74
  645. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  646. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  647. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -50
  648. data/rbi/stripe.rbi +0 -191867
@@ -29,8 +29,6 @@ module Stripe
29
29
  attr_accessor :created
30
30
  # Only return SetupIntents for the customer specified by this customer ID.
31
31
  attr_accessor :customer
32
- # Only return SetupIntents for the account specified by this customer ID.
33
- attr_accessor :customer_account
34
32
  # A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
35
33
  attr_accessor :ending_before
36
34
  # Specifies which fields in the response should be expanded.
@@ -46,7 +44,6 @@ module Stripe
46
44
  attach_to_self: nil,
47
45
  created: nil,
48
46
  customer: nil,
49
- customer_account: nil,
50
47
  ending_before: nil,
51
48
  expand: nil,
52
49
  limit: nil,
@@ -56,7 +53,6 @@ module Stripe
56
53
  @attach_to_self = attach_to_self
57
54
  @created = created
58
55
  @customer = customer
59
- @customer_account = customer_account
60
56
  @ending_before = ending_before
61
57
  @expand = expand
62
58
  @limit = limit
@@ -82,8 +78,7 @@ module Stripe
82
78
 
83
79
  class MandateData < Stripe::RequestParams
84
80
  class CustomerAcceptance < Stripe::RequestParams
85
- class Offline < Stripe::RequestParams
86
- end
81
+ class Offline < Stripe::RequestParams; end
87
82
 
88
83
  class Online < Stripe::RequestParams
89
84
  # The IP address from which the Mandate was accepted by the customer.
@@ -136,20 +131,11 @@ module Stripe
136
131
  end
137
132
  end
138
133
 
139
- class Affirm < Stripe::RequestParams
140
- end
141
-
142
- class AfterpayClearpay < Stripe::RequestParams
143
- end
144
-
145
- class Alipay < Stripe::RequestParams
146
- end
147
-
148
- class Alma < Stripe::RequestParams
149
- end
150
-
151
- class AmazonPay < Stripe::RequestParams
152
- end
134
+ class Affirm < Stripe::RequestParams; end
135
+ class AfterpayClearpay < Stripe::RequestParams; end
136
+ class Alipay < Stripe::RequestParams; end
137
+ class Alma < Stripe::RequestParams; end
138
+ class AmazonPay < Stripe::RequestParams; end
153
139
 
154
140
  class AuBecsDebit < Stripe::RequestParams
155
141
  # The account number for the bank account.
@@ -175,11 +161,8 @@ module Stripe
175
161
  end
176
162
  end
177
163
 
178
- class Bancontact < Stripe::RequestParams
179
- end
180
-
181
- class Billie < Stripe::RequestParams
182
- end
164
+ class Bancontact < Stripe::RequestParams; end
165
+ class Billie < Stripe::RequestParams; end
183
166
 
184
167
  class BillingDetails < Stripe::RequestParams
185
168
  class Address < Stripe::RequestParams
@@ -232,8 +215,7 @@ module Stripe
232
215
  end
233
216
  end
234
217
 
235
- class Blik < Stripe::RequestParams
236
- end
218
+ class Blik < Stripe::RequestParams; end
237
219
 
238
220
  class Boleto < Stripe::RequestParams
239
221
  # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
@@ -244,11 +226,8 @@ module Stripe
244
226
  end
245
227
  end
246
228
 
247
- class Cashapp < Stripe::RequestParams
248
- end
249
-
250
- class CustomerBalance < Stripe::RequestParams
251
- end
229
+ class Cashapp < Stripe::RequestParams; end
230
+ class CustomerBalance < Stripe::RequestParams; end
252
231
 
253
232
  class Eps < Stripe::RequestParams
254
233
  # The customer's bank.
@@ -271,23 +250,8 @@ module Stripe
271
250
  end
272
251
  end
273
252
 
274
- class Giropay < Stripe::RequestParams
275
- end
276
-
277
- class Gopay < Stripe::RequestParams
278
- end
279
-
280
- class Grabpay < Stripe::RequestParams
281
- end
282
-
283
- class IdBankTransfer < Stripe::RequestParams
284
- # Bank where the account is held.
285
- attr_accessor :bank
286
-
287
- def initialize(bank: nil)
288
- @bank = bank
289
- end
290
- end
253
+ class Giropay < Stripe::RequestParams; end
254
+ class Grabpay < Stripe::RequestParams; end
291
255
 
292
256
  class Ideal < Stripe::RequestParams
293
257
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -298,11 +262,8 @@ module Stripe
298
262
  end
299
263
  end
300
264
 
301
- class InteracPresent < Stripe::RequestParams
302
- end
303
-
304
- class KakaoPay < Stripe::RequestParams
305
- end
265
+ class InteracPresent < Stripe::RequestParams; end
266
+ class KakaoPay < Stripe::RequestParams; end
306
267
 
307
268
  class Klarna < Stripe::RequestParams
308
269
  class Dob < Stripe::RequestParams
@@ -327,23 +288,11 @@ module Stripe
327
288
  end
328
289
  end
329
290
 
330
- class Konbini < Stripe::RequestParams
331
- end
332
-
333
- class KrCard < Stripe::RequestParams
334
- end
335
-
336
- class Link < Stripe::RequestParams
337
- end
338
-
339
- class MbWay < Stripe::RequestParams
340
- end
341
-
342
- class Mobilepay < Stripe::RequestParams
343
- end
344
-
345
- class Multibanco < Stripe::RequestParams
346
- end
291
+ class Konbini < Stripe::RequestParams; end
292
+ class KrCard < Stripe::RequestParams; end
293
+ class Link < Stripe::RequestParams; end
294
+ class Mobilepay < Stripe::RequestParams; end
295
+ class Multibanco < Stripe::RequestParams; end
347
296
 
348
297
  class NaverPay < Stripe::RequestParams
349
298
  # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
@@ -385,8 +334,7 @@ module Stripe
385
334
  end
386
335
  end
387
336
 
388
- class Oxxo < Stripe::RequestParams
389
- end
337
+ class Oxxo < Stripe::RequestParams; end
390
338
 
391
339
  class P24 < Stripe::RequestParams
392
340
  # The customer's bank.
@@ -397,41 +345,12 @@ module Stripe
397
345
  end
398
346
  end
399
347
 
400
- class PayByBank < Stripe::RequestParams
401
- end
402
-
403
- class Payco < Stripe::RequestParams
404
- end
405
-
406
- class Paynow < Stripe::RequestParams
407
- end
408
-
409
- class Paypal < Stripe::RequestParams
410
- end
411
-
412
- class Payto < Stripe::RequestParams
413
- # The account number for the bank account.
414
- attr_accessor :account_number
415
- # Bank-State-Branch number of the bank account.
416
- attr_accessor :bsb_number
417
- # The PayID alias for the bank account.
418
- attr_accessor :pay_id
419
-
420
- def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
421
- @account_number = account_number
422
- @bsb_number = bsb_number
423
- @pay_id = pay_id
424
- end
425
- end
426
-
427
- class Pix < Stripe::RequestParams
428
- end
429
-
430
- class Promptpay < Stripe::RequestParams
431
- end
432
-
433
- class Qris < Stripe::RequestParams
434
- end
348
+ class PayByBank < Stripe::RequestParams; end
349
+ class Payco < Stripe::RequestParams; end
350
+ class Paynow < Stripe::RequestParams; end
351
+ class Paypal < Stripe::RequestParams; end
352
+ class Pix < Stripe::RequestParams; end
353
+ class Promptpay < Stripe::RequestParams; end
435
354
 
436
355
  class RadarOptions < Stripe::RequestParams
437
356
  # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
@@ -442,37 +361,9 @@ module Stripe
442
361
  end
443
362
  end
444
363
 
445
- class Rechnung < Stripe::RequestParams
446
- class Dob < Stripe::RequestParams
447
- # The day of birth, between 1 and 31.
448
- attr_accessor :day
449
- # The month of birth, between 1 and 12.
450
- attr_accessor :month
451
- # The four-digit year of birth.
452
- attr_accessor :year
453
-
454
- def initialize(day: nil, month: nil, year: nil)
455
- @day = day
456
- @month = month
457
- @year = year
458
- end
459
- end
460
- # Customer's date of birth
461
- attr_accessor :dob
462
-
463
- def initialize(dob: nil)
464
- @dob = dob
465
- end
466
- end
467
-
468
- class RevolutPay < Stripe::RequestParams
469
- end
470
-
471
- class SamsungPay < Stripe::RequestParams
472
- end
473
-
474
- class Satispay < Stripe::RequestParams
475
- end
364
+ class RevolutPay < Stripe::RequestParams; end
365
+ class SamsungPay < Stripe::RequestParams; end
366
+ class Satispay < Stripe::RequestParams; end
476
367
 
477
368
  class SepaDebit < Stripe::RequestParams
478
369
  # IBAN of the bank account.
@@ -483,9 +374,6 @@ module Stripe
483
374
  end
484
375
  end
485
376
 
486
- class Shopeepay < Stripe::RequestParams
487
- end
488
-
489
377
  class Sofort < Stripe::RequestParams
490
378
  # Two-letter ISO code representing the country the bank account is located in.
491
379
  attr_accessor :country
@@ -495,23 +383,8 @@ module Stripe
495
383
  end
496
384
  end
497
385
 
498
- class StripeBalance < Stripe::RequestParams
499
- # The connected account ID whose Stripe balance to use as the source of payment
500
- attr_accessor :account
501
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
502
- attr_accessor :source_type
503
-
504
- def initialize(account: nil, source_type: nil)
505
- @account = account
506
- @source_type = source_type
507
- end
508
- end
509
-
510
- class Swish < Stripe::RequestParams
511
- end
512
-
513
- class Twint < Stripe::RequestParams
514
- end
386
+ class Swish < Stripe::RequestParams; end
387
+ class Twint < Stripe::RequestParams; end
515
388
 
516
389
  class UsBankAccount < Stripe::RequestParams
517
390
  # Account holder type: individual or company.
@@ -540,11 +413,8 @@ module Stripe
540
413
  end
541
414
  end
542
415
 
543
- class WechatPay < Stripe::RequestParams
544
- end
545
-
546
- class Zip < Stripe::RequestParams
547
- end
416
+ class WechatPay < Stripe::RequestParams; end
417
+ class Zip < Stripe::RequestParams; end
548
418
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
549
419
  attr_accessor :acss_debit
550
420
  # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
@@ -583,12 +453,8 @@ module Stripe
583
453
  attr_accessor :fpx
584
454
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
585
455
  attr_accessor :giropay
586
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
587
- attr_accessor :gopay
588
456
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
589
457
  attr_accessor :grabpay
590
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
591
- attr_accessor :id_bank_transfer
592
458
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
593
459
  attr_accessor :ideal
594
460
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
@@ -603,8 +469,6 @@ module Stripe
603
469
  attr_accessor :kr_card
604
470
  # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
605
471
  attr_accessor :link
606
- # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
607
- attr_accessor :mb_way
608
472
  # 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`.
609
473
  attr_accessor :metadata
610
474
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
@@ -627,18 +491,12 @@ module Stripe
627
491
  attr_accessor :paynow
628
492
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
629
493
  attr_accessor :paypal
630
- # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
631
- attr_accessor :payto
632
494
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
633
495
  attr_accessor :pix
634
496
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
635
497
  attr_accessor :promptpay
636
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
637
- attr_accessor :qris
638
498
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
639
499
  attr_accessor :radar_options
640
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
641
- attr_accessor :rechnung
642
500
  # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
643
501
  attr_accessor :revolut_pay
644
502
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
@@ -647,12 +505,8 @@ module Stripe
647
505
  attr_accessor :satispay
648
506
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
649
507
  attr_accessor :sepa_debit
650
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
651
- attr_accessor :shopeepay
652
508
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
653
509
  attr_accessor :sofort
654
- # This hash contains details about the Stripe balance payment method.
655
- attr_accessor :stripe_balance
656
510
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
657
511
  attr_accessor :swish
658
512
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
@@ -686,9 +540,7 @@ module Stripe
686
540
  eps: nil,
687
541
  fpx: nil,
688
542
  giropay: nil,
689
- gopay: nil,
690
543
  grabpay: nil,
691
- id_bank_transfer: nil,
692
544
  ideal: nil,
693
545
  interac_present: nil,
694
546
  kakao_pay: nil,
@@ -696,7 +548,6 @@ module Stripe
696
548
  konbini: nil,
697
549
  kr_card: nil,
698
550
  link: nil,
699
- mb_way: nil,
700
551
  metadata: nil,
701
552
  mobilepay: nil,
702
553
  multibanco: nil,
@@ -708,19 +559,14 @@ module Stripe
708
559
  payco: nil,
709
560
  paynow: nil,
710
561
  paypal: nil,
711
- payto: nil,
712
562
  pix: nil,
713
563
  promptpay: nil,
714
- qris: nil,
715
564
  radar_options: nil,
716
- rechnung: nil,
717
565
  revolut_pay: nil,
718
566
  samsung_pay: nil,
719
567
  satispay: nil,
720
568
  sepa_debit: nil,
721
- shopeepay: nil,
722
569
  sofort: nil,
723
- stripe_balance: nil,
724
570
  swish: nil,
725
571
  twint: nil,
726
572
  type: nil,
@@ -747,9 +593,7 @@ module Stripe
747
593
  @eps = eps
748
594
  @fpx = fpx
749
595
  @giropay = giropay
750
- @gopay = gopay
751
596
  @grabpay = grabpay
752
- @id_bank_transfer = id_bank_transfer
753
597
  @ideal = ideal
754
598
  @interac_present = interac_present
755
599
  @kakao_pay = kakao_pay
@@ -757,7 +601,6 @@ module Stripe
757
601
  @konbini = konbini
758
602
  @kr_card = kr_card
759
603
  @link = link
760
- @mb_way = mb_way
761
604
  @metadata = metadata
762
605
  @mobilepay = mobilepay
763
606
  @multibanco = multibanco
@@ -769,19 +612,14 @@ module Stripe
769
612
  @payco = payco
770
613
  @paynow = paynow
771
614
  @paypal = paypal
772
- @payto = payto
773
615
  @pix = pix
774
616
  @promptpay = promptpay
775
- @qris = qris
776
617
  @radar_options = radar_options
777
- @rechnung = rechnung
778
618
  @revolut_pay = revolut_pay
779
619
  @samsung_pay = samsung_pay
780
620
  @satispay = satispay
781
621
  @sepa_debit = sepa_debit
782
- @shopeepay = shopeepay
783
622
  @sofort = sofort
784
- @stripe_balance = stripe_balance
785
623
  @swish = swish
786
624
  @twint = twint
787
625
  @type = type
@@ -835,8 +673,7 @@ module Stripe
835
673
  end
836
674
  end
837
675
 
838
- class AmazonPay < Stripe::RequestParams
839
- end
676
+ class AmazonPay < Stripe::RequestParams; end
840
677
 
841
678
  class BacsDebit < Stripe::RequestParams
842
679
  class MandateOptions < Stripe::RequestParams
@@ -1002,8 +839,7 @@ module Stripe
1002
839
  end
1003
840
  end
1004
841
 
1005
- class CardPresent < Stripe::RequestParams
1006
- end
842
+ class CardPresent < Stripe::RequestParams; end
1007
843
 
1008
844
  class Link < Stripe::RequestParams
1009
845
  # [Deprecated] This is a legacy parameter that no longer has any function.
@@ -1017,58 +853,9 @@ module Stripe
1017
853
  class Paypal < Stripe::RequestParams
1018
854
  # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
1019
855
  attr_accessor :billing_agreement_id
1020
- # Attribute for param field currency
1021
- attr_accessor :currency
1022
- # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
1023
- attr_accessor :subsellers
1024
856
 
1025
- def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
857
+ def initialize(billing_agreement_id: nil)
1026
858
  @billing_agreement_id = billing_agreement_id
1027
- @currency = currency
1028
- @subsellers = subsellers
1029
- end
1030
- end
1031
-
1032
- class Payto < Stripe::RequestParams
1033
- class MandateOptions < Stripe::RequestParams
1034
- # Amount that will be collected. It is required when `amount_type` is `fixed`.
1035
- attr_accessor :amount
1036
- # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
1037
- attr_accessor :amount_type
1038
- # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
1039
- attr_accessor :end_date
1040
- # The periodicity at which payments will be collected.
1041
- attr_accessor :payment_schedule
1042
- # The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
1043
- attr_accessor :payments_per_period
1044
- # The purpose for which payments are made. Defaults to retail.
1045
- attr_accessor :purpose
1046
- # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
1047
- attr_accessor :start_date
1048
-
1049
- def initialize(
1050
- amount: nil,
1051
- amount_type: nil,
1052
- end_date: nil,
1053
- payment_schedule: nil,
1054
- payments_per_period: nil,
1055
- purpose: nil,
1056
- start_date: nil
1057
- )
1058
- @amount = amount
1059
- @amount_type = amount_type
1060
- @end_date = end_date
1061
- @payment_schedule = payment_schedule
1062
- @payments_per_period = payments_per_period
1063
- @purpose = purpose
1064
- @start_date = start_date
1065
- end
1066
- end
1067
- # Additional fields for Mandate creation.
1068
- attr_accessor :mandate_options
1069
-
1070
- def initialize(mandate_options: nil)
1071
- @mandate_options = mandate_options
1072
859
  end
1073
860
  end
1074
861
 
@@ -1094,27 +881,13 @@ module Stripe
1094
881
  class Filters < Stripe::RequestParams
1095
882
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
1096
883
  attr_accessor :account_subcategories
1097
- # ID of the institution to use to filter for selectable accounts.
1098
- attr_accessor :institution
1099
884
 
1100
- def initialize(account_subcategories: nil, institution: nil)
885
+ def initialize(account_subcategories: nil)
1101
886
  @account_subcategories = account_subcategories
1102
- @institution = institution
1103
- end
1104
- end
1105
-
1106
- class ManualEntry < Stripe::RequestParams
1107
- # Settings for configuring manual entry of account details.
1108
- attr_accessor :mode
1109
-
1110
- def initialize(mode: nil)
1111
- @mode = mode
1112
887
  end
1113
888
  end
1114
889
  # Provide filters for the linked accounts that the customer can select for the payment method.
1115
890
  attr_accessor :filters
1116
- # Customize manual entry behavior
1117
- attr_accessor :manual_entry
1118
891
  # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
1119
892
  attr_accessor :permissions
1120
893
  # List of data features that you would like to retrieve upon account creation.
@@ -1122,15 +895,8 @@ module Stripe
1122
895
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
1123
896
  attr_accessor :return_url
1124
897
 
1125
- def initialize(
1126
- filters: nil,
1127
- manual_entry: nil,
1128
- permissions: nil,
1129
- prefetch: nil,
1130
- return_url: nil
1131
- )
898
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
1132
899
  @filters = filters
1133
- @manual_entry = manual_entry
1134
900
  @permissions = permissions
1135
901
  @prefetch = prefetch
1136
902
  @return_url = return_url
@@ -1189,8 +955,6 @@ module Stripe
1189
955
  attr_accessor :link
1190
956
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
1191
957
  attr_accessor :paypal
1192
- # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
1193
- attr_accessor :payto
1194
958
  # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
1195
959
  attr_accessor :sepa_debit
1196
960
  # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
@@ -1204,7 +968,6 @@ module Stripe
1204
968
  card_present: nil,
1205
969
  link: nil,
1206
970
  paypal: nil,
1207
- payto: nil,
1208
971
  sepa_debit: nil,
1209
972
  us_bank_account: nil
1210
973
  )
@@ -1215,7 +978,6 @@ module Stripe
1215
978
  @card_present = card_present
1216
979
  @link = link
1217
980
  @paypal = paypal
1218
- @payto = payto
1219
981
  @sepa_debit = sepa_debit
1220
982
  @us_bank_account = us_bank_account
1221
983
  end
@@ -1248,10 +1010,6 @@ module Stripe
1248
1010
  #
1249
1011
  # If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
1250
1012
  attr_accessor :customer
1251
- # ID of the Account this SetupIntent belongs to, if one exists.
1252
- #
1253
- # If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
1254
- attr_accessor :customer_account
1255
1013
  # An arbitrary string attached to the object. Often useful for displaying to users.
1256
1014
  attr_accessor :description
1257
1015
  # Specifies which fields in the response should be expanded.
@@ -1294,7 +1052,6 @@ module Stripe
1294
1052
  confirm: nil,
1295
1053
  confirmation_token: nil,
1296
1054
  customer: nil,
1297
- customer_account: nil,
1298
1055
  description: nil,
1299
1056
  expand: nil,
1300
1057
  flow_directions: nil,
@@ -1316,7 +1073,6 @@ module Stripe
1316
1073
  @confirm = confirm
1317
1074
  @confirmation_token = confirmation_token
1318
1075
  @customer = customer
1319
- @customer_account = customer_account
1320
1076
  @description = description
1321
1077
  @expand = expand
1322
1078
  @flow_directions = flow_directions
@@ -1364,20 +1120,11 @@ module Stripe
1364
1120
  end
1365
1121
  end
1366
1122
 
1367
- class Affirm < Stripe::RequestParams
1368
- end
1369
-
1370
- class AfterpayClearpay < Stripe::RequestParams
1371
- end
1372
-
1373
- class Alipay < Stripe::RequestParams
1374
- end
1375
-
1376
- class Alma < Stripe::RequestParams
1377
- end
1378
-
1379
- class AmazonPay < Stripe::RequestParams
1380
- end
1123
+ class Affirm < Stripe::RequestParams; end
1124
+ class AfterpayClearpay < Stripe::RequestParams; end
1125
+ class Alipay < Stripe::RequestParams; end
1126
+ class Alma < Stripe::RequestParams; end
1127
+ class AmazonPay < Stripe::RequestParams; end
1381
1128
 
1382
1129
  class AuBecsDebit < Stripe::RequestParams
1383
1130
  # The account number for the bank account.
@@ -1403,11 +1150,8 @@ module Stripe
1403
1150
  end
1404
1151
  end
1405
1152
 
1406
- class Bancontact < Stripe::RequestParams
1407
- end
1408
-
1409
- class Billie < Stripe::RequestParams
1410
- end
1153
+ class Bancontact < Stripe::RequestParams; end
1154
+ class Billie < Stripe::RequestParams; end
1411
1155
 
1412
1156
  class BillingDetails < Stripe::RequestParams
1413
1157
  class Address < Stripe::RequestParams
@@ -1460,8 +1204,7 @@ module Stripe
1460
1204
  end
1461
1205
  end
1462
1206
 
1463
- class Blik < Stripe::RequestParams
1464
- end
1207
+ class Blik < Stripe::RequestParams; end
1465
1208
 
1466
1209
  class Boleto < Stripe::RequestParams
1467
1210
  # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
@@ -1472,11 +1215,8 @@ module Stripe
1472
1215
  end
1473
1216
  end
1474
1217
 
1475
- class Cashapp < Stripe::RequestParams
1476
- end
1477
-
1478
- class CustomerBalance < Stripe::RequestParams
1479
- end
1218
+ class Cashapp < Stripe::RequestParams; end
1219
+ class CustomerBalance < Stripe::RequestParams; end
1480
1220
 
1481
1221
  class Eps < Stripe::RequestParams
1482
1222
  # The customer's bank.
@@ -1499,23 +1239,8 @@ module Stripe
1499
1239
  end
1500
1240
  end
1501
1241
 
1502
- class Giropay < Stripe::RequestParams
1503
- end
1504
-
1505
- class Gopay < Stripe::RequestParams
1506
- end
1507
-
1508
- class Grabpay < Stripe::RequestParams
1509
- end
1510
-
1511
- class IdBankTransfer < Stripe::RequestParams
1512
- # Bank where the account is held.
1513
- attr_accessor :bank
1514
-
1515
- def initialize(bank: nil)
1516
- @bank = bank
1517
- end
1518
- end
1242
+ class Giropay < Stripe::RequestParams; end
1243
+ class Grabpay < Stripe::RequestParams; end
1519
1244
 
1520
1245
  class Ideal < Stripe::RequestParams
1521
1246
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -1526,11 +1251,8 @@ module Stripe
1526
1251
  end
1527
1252
  end
1528
1253
 
1529
- class InteracPresent < Stripe::RequestParams
1530
- end
1531
-
1532
- class KakaoPay < Stripe::RequestParams
1533
- end
1254
+ class InteracPresent < Stripe::RequestParams; end
1255
+ class KakaoPay < Stripe::RequestParams; end
1534
1256
 
1535
1257
  class Klarna < Stripe::RequestParams
1536
1258
  class Dob < Stripe::RequestParams
@@ -1555,23 +1277,11 @@ module Stripe
1555
1277
  end
1556
1278
  end
1557
1279
 
1558
- class Konbini < Stripe::RequestParams
1559
- end
1560
-
1561
- class KrCard < Stripe::RequestParams
1562
- end
1563
-
1564
- class Link < Stripe::RequestParams
1565
- end
1566
-
1567
- class MbWay < Stripe::RequestParams
1568
- end
1569
-
1570
- class Mobilepay < Stripe::RequestParams
1571
- end
1572
-
1573
- class Multibanco < Stripe::RequestParams
1574
- end
1280
+ class Konbini < Stripe::RequestParams; end
1281
+ class KrCard < Stripe::RequestParams; end
1282
+ class Link < Stripe::RequestParams; end
1283
+ class Mobilepay < Stripe::RequestParams; end
1284
+ class Multibanco < Stripe::RequestParams; end
1575
1285
 
1576
1286
  class NaverPay < Stripe::RequestParams
1577
1287
  # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
@@ -1613,8 +1323,7 @@ module Stripe
1613
1323
  end
1614
1324
  end
1615
1325
 
1616
- class Oxxo < Stripe::RequestParams
1617
- end
1326
+ class Oxxo < Stripe::RequestParams; end
1618
1327
 
1619
1328
  class P24 < Stripe::RequestParams
1620
1329
  # The customer's bank.
@@ -1625,41 +1334,12 @@ module Stripe
1625
1334
  end
1626
1335
  end
1627
1336
 
1628
- class PayByBank < Stripe::RequestParams
1629
- end
1630
-
1631
- class Payco < Stripe::RequestParams
1632
- end
1633
-
1634
- class Paynow < Stripe::RequestParams
1635
- end
1636
-
1637
- class Paypal < Stripe::RequestParams
1638
- end
1639
-
1640
- class Payto < Stripe::RequestParams
1641
- # The account number for the bank account.
1642
- attr_accessor :account_number
1643
- # Bank-State-Branch number of the bank account.
1644
- attr_accessor :bsb_number
1645
- # The PayID alias for the bank account.
1646
- attr_accessor :pay_id
1647
-
1648
- def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
1649
- @account_number = account_number
1650
- @bsb_number = bsb_number
1651
- @pay_id = pay_id
1652
- end
1653
- end
1654
-
1655
- class Pix < Stripe::RequestParams
1656
- end
1657
-
1658
- class Promptpay < Stripe::RequestParams
1659
- end
1660
-
1661
- class Qris < Stripe::RequestParams
1662
- end
1337
+ class PayByBank < Stripe::RequestParams; end
1338
+ class Payco < Stripe::RequestParams; end
1339
+ class Paynow < Stripe::RequestParams; end
1340
+ class Paypal < Stripe::RequestParams; end
1341
+ class Pix < Stripe::RequestParams; end
1342
+ class Promptpay < Stripe::RequestParams; end
1663
1343
 
1664
1344
  class RadarOptions < Stripe::RequestParams
1665
1345
  # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
@@ -1670,37 +1350,9 @@ module Stripe
1670
1350
  end
1671
1351
  end
1672
1352
 
1673
- class Rechnung < Stripe::RequestParams
1674
- class Dob < Stripe::RequestParams
1675
- # The day of birth, between 1 and 31.
1676
- attr_accessor :day
1677
- # The month of birth, between 1 and 12.
1678
- attr_accessor :month
1679
- # The four-digit year of birth.
1680
- attr_accessor :year
1681
-
1682
- def initialize(day: nil, month: nil, year: nil)
1683
- @day = day
1684
- @month = month
1685
- @year = year
1686
- end
1687
- end
1688
- # Customer's date of birth
1689
- attr_accessor :dob
1690
-
1691
- def initialize(dob: nil)
1692
- @dob = dob
1693
- end
1694
- end
1695
-
1696
- class RevolutPay < Stripe::RequestParams
1697
- end
1698
-
1699
- class SamsungPay < Stripe::RequestParams
1700
- end
1701
-
1702
- class Satispay < Stripe::RequestParams
1703
- end
1353
+ class RevolutPay < Stripe::RequestParams; end
1354
+ class SamsungPay < Stripe::RequestParams; end
1355
+ class Satispay < Stripe::RequestParams; end
1704
1356
 
1705
1357
  class SepaDebit < Stripe::RequestParams
1706
1358
  # IBAN of the bank account.
@@ -1711,9 +1363,6 @@ module Stripe
1711
1363
  end
1712
1364
  end
1713
1365
 
1714
- class Shopeepay < Stripe::RequestParams
1715
- end
1716
-
1717
1366
  class Sofort < Stripe::RequestParams
1718
1367
  # Two-letter ISO code representing the country the bank account is located in.
1719
1368
  attr_accessor :country
@@ -1723,23 +1372,8 @@ module Stripe
1723
1372
  end
1724
1373
  end
1725
1374
 
1726
- class StripeBalance < Stripe::RequestParams
1727
- # The connected account ID whose Stripe balance to use as the source of payment
1728
- attr_accessor :account
1729
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
1730
- attr_accessor :source_type
1731
-
1732
- def initialize(account: nil, source_type: nil)
1733
- @account = account
1734
- @source_type = source_type
1735
- end
1736
- end
1737
-
1738
- class Swish < Stripe::RequestParams
1739
- end
1740
-
1741
- class Twint < Stripe::RequestParams
1742
- end
1375
+ class Swish < Stripe::RequestParams; end
1376
+ class Twint < Stripe::RequestParams; end
1743
1377
 
1744
1378
  class UsBankAccount < Stripe::RequestParams
1745
1379
  # Account holder type: individual or company.
@@ -1768,11 +1402,8 @@ module Stripe
1768
1402
  end
1769
1403
  end
1770
1404
 
1771
- class WechatPay < Stripe::RequestParams
1772
- end
1773
-
1774
- class Zip < Stripe::RequestParams
1775
- end
1405
+ class WechatPay < Stripe::RequestParams; end
1406
+ class Zip < Stripe::RequestParams; end
1776
1407
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
1777
1408
  attr_accessor :acss_debit
1778
1409
  # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
@@ -1811,12 +1442,8 @@ module Stripe
1811
1442
  attr_accessor :fpx
1812
1443
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
1813
1444
  attr_accessor :giropay
1814
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
1815
- attr_accessor :gopay
1816
1445
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
1817
1446
  attr_accessor :grabpay
1818
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
1819
- attr_accessor :id_bank_transfer
1820
1447
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
1821
1448
  attr_accessor :ideal
1822
1449
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
@@ -1831,8 +1458,6 @@ module Stripe
1831
1458
  attr_accessor :kr_card
1832
1459
  # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
1833
1460
  attr_accessor :link
1834
- # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
1835
- attr_accessor :mb_way
1836
1461
  # 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`.
1837
1462
  attr_accessor :metadata
1838
1463
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
@@ -1855,18 +1480,12 @@ module Stripe
1855
1480
  attr_accessor :paynow
1856
1481
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
1857
1482
  attr_accessor :paypal
1858
- # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
1859
- attr_accessor :payto
1860
1483
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
1861
1484
  attr_accessor :pix
1862
1485
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
1863
1486
  attr_accessor :promptpay
1864
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
1865
- attr_accessor :qris
1866
1487
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
1867
1488
  attr_accessor :radar_options
1868
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
1869
- attr_accessor :rechnung
1870
1489
  # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
1871
1490
  attr_accessor :revolut_pay
1872
1491
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
@@ -1875,12 +1494,8 @@ module Stripe
1875
1494
  attr_accessor :satispay
1876
1495
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
1877
1496
  attr_accessor :sepa_debit
1878
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
1879
- attr_accessor :shopeepay
1880
1497
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
1881
1498
  attr_accessor :sofort
1882
- # This hash contains details about the Stripe balance payment method.
1883
- attr_accessor :stripe_balance
1884
1499
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
1885
1500
  attr_accessor :swish
1886
1501
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
@@ -1914,9 +1529,7 @@ module Stripe
1914
1529
  eps: nil,
1915
1530
  fpx: nil,
1916
1531
  giropay: nil,
1917
- gopay: nil,
1918
1532
  grabpay: nil,
1919
- id_bank_transfer: nil,
1920
1533
  ideal: nil,
1921
1534
  interac_present: nil,
1922
1535
  kakao_pay: nil,
@@ -1924,7 +1537,6 @@ module Stripe
1924
1537
  konbini: nil,
1925
1538
  kr_card: nil,
1926
1539
  link: nil,
1927
- mb_way: nil,
1928
1540
  metadata: nil,
1929
1541
  mobilepay: nil,
1930
1542
  multibanco: nil,
@@ -1936,19 +1548,14 @@ module Stripe
1936
1548
  payco: nil,
1937
1549
  paynow: nil,
1938
1550
  paypal: nil,
1939
- payto: nil,
1940
1551
  pix: nil,
1941
1552
  promptpay: nil,
1942
- qris: nil,
1943
1553
  radar_options: nil,
1944
- rechnung: nil,
1945
1554
  revolut_pay: nil,
1946
1555
  samsung_pay: nil,
1947
1556
  satispay: nil,
1948
1557
  sepa_debit: nil,
1949
- shopeepay: nil,
1950
1558
  sofort: nil,
1951
- stripe_balance: nil,
1952
1559
  swish: nil,
1953
1560
  twint: nil,
1954
1561
  type: nil,
@@ -1975,9 +1582,7 @@ module Stripe
1975
1582
  @eps = eps
1976
1583
  @fpx = fpx
1977
1584
  @giropay = giropay
1978
- @gopay = gopay
1979
1585
  @grabpay = grabpay
1980
- @id_bank_transfer = id_bank_transfer
1981
1586
  @ideal = ideal
1982
1587
  @interac_present = interac_present
1983
1588
  @kakao_pay = kakao_pay
@@ -1985,7 +1590,6 @@ module Stripe
1985
1590
  @konbini = konbini
1986
1591
  @kr_card = kr_card
1987
1592
  @link = link
1988
- @mb_way = mb_way
1989
1593
  @metadata = metadata
1990
1594
  @mobilepay = mobilepay
1991
1595
  @multibanco = multibanco
@@ -1997,19 +1601,14 @@ module Stripe
1997
1601
  @payco = payco
1998
1602
  @paynow = paynow
1999
1603
  @paypal = paypal
2000
- @payto = payto
2001
1604
  @pix = pix
2002
1605
  @promptpay = promptpay
2003
- @qris = qris
2004
1606
  @radar_options = radar_options
2005
- @rechnung = rechnung
2006
1607
  @revolut_pay = revolut_pay
2007
1608
  @samsung_pay = samsung_pay
2008
1609
  @satispay = satispay
2009
1610
  @sepa_debit = sepa_debit
2010
- @shopeepay = shopeepay
2011
1611
  @sofort = sofort
2012
- @stripe_balance = stripe_balance
2013
1612
  @swish = swish
2014
1613
  @twint = twint
2015
1614
  @type = type
@@ -2063,8 +1662,7 @@ module Stripe
2063
1662
  end
2064
1663
  end
2065
1664
 
2066
- class AmazonPay < Stripe::RequestParams
2067
- end
1665
+ class AmazonPay < Stripe::RequestParams; end
2068
1666
 
2069
1667
  class BacsDebit < Stripe::RequestParams
2070
1668
  class MandateOptions < Stripe::RequestParams
@@ -2230,8 +1828,7 @@ module Stripe
2230
1828
  end
2231
1829
  end
2232
1830
 
2233
- class CardPresent < Stripe::RequestParams
2234
- end
1831
+ class CardPresent < Stripe::RequestParams; end
2235
1832
 
2236
1833
  class Link < Stripe::RequestParams
2237
1834
  # [Deprecated] This is a legacy parameter that no longer has any function.
@@ -2245,58 +1842,9 @@ module Stripe
2245
1842
  class Paypal < Stripe::RequestParams
2246
1843
  # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
2247
1844
  attr_accessor :billing_agreement_id
2248
- # Attribute for param field currency
2249
- attr_accessor :currency
2250
- # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
2251
- attr_accessor :subsellers
2252
1845
 
2253
- def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
1846
+ def initialize(billing_agreement_id: nil)
2254
1847
  @billing_agreement_id = billing_agreement_id
2255
- @currency = currency
2256
- @subsellers = subsellers
2257
- end
2258
- end
2259
-
2260
- class Payto < Stripe::RequestParams
2261
- class MandateOptions < Stripe::RequestParams
2262
- # Amount that will be collected. It is required when `amount_type` is `fixed`.
2263
- attr_accessor :amount
2264
- # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
2265
- attr_accessor :amount_type
2266
- # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
2267
- attr_accessor :end_date
2268
- # The periodicity at which payments will be collected.
2269
- attr_accessor :payment_schedule
2270
- # The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
2271
- attr_accessor :payments_per_period
2272
- # The purpose for which payments are made. Defaults to retail.
2273
- attr_accessor :purpose
2274
- # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
2275
- attr_accessor :start_date
2276
-
2277
- def initialize(
2278
- amount: nil,
2279
- amount_type: nil,
2280
- end_date: nil,
2281
- payment_schedule: nil,
2282
- payments_per_period: nil,
2283
- purpose: nil,
2284
- start_date: nil
2285
- )
2286
- @amount = amount
2287
- @amount_type = amount_type
2288
- @end_date = end_date
2289
- @payment_schedule = payment_schedule
2290
- @payments_per_period = payments_per_period
2291
- @purpose = purpose
2292
- @start_date = start_date
2293
- end
2294
- end
2295
- # Additional fields for Mandate creation.
2296
- attr_accessor :mandate_options
2297
-
2298
- def initialize(mandate_options: nil)
2299
- @mandate_options = mandate_options
2300
1848
  end
2301
1849
  end
2302
1850
 
@@ -2322,27 +1870,13 @@ module Stripe
2322
1870
  class Filters < Stripe::RequestParams
2323
1871
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
2324
1872
  attr_accessor :account_subcategories
2325
- # ID of the institution to use to filter for selectable accounts.
2326
- attr_accessor :institution
2327
1873
 
2328
- def initialize(account_subcategories: nil, institution: nil)
1874
+ def initialize(account_subcategories: nil)
2329
1875
  @account_subcategories = account_subcategories
2330
- @institution = institution
2331
- end
2332
- end
2333
-
2334
- class ManualEntry < Stripe::RequestParams
2335
- # Settings for configuring manual entry of account details.
2336
- attr_accessor :mode
2337
-
2338
- def initialize(mode: nil)
2339
- @mode = mode
2340
1876
  end
2341
1877
  end
2342
1878
  # Provide filters for the linked accounts that the customer can select for the payment method.
2343
1879
  attr_accessor :filters
2344
- # Customize manual entry behavior
2345
- attr_accessor :manual_entry
2346
1880
  # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
2347
1881
  attr_accessor :permissions
2348
1882
  # List of data features that you would like to retrieve upon account creation.
@@ -2350,15 +1884,8 @@ module Stripe
2350
1884
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
2351
1885
  attr_accessor :return_url
2352
1886
 
2353
- def initialize(
2354
- filters: nil,
2355
- manual_entry: nil,
2356
- permissions: nil,
2357
- prefetch: nil,
2358
- return_url: nil
2359
- )
1887
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
2360
1888
  @filters = filters
2361
- @manual_entry = manual_entry
2362
1889
  @permissions = permissions
2363
1890
  @prefetch = prefetch
2364
1891
  @return_url = return_url
@@ -2417,8 +1944,6 @@ module Stripe
2417
1944
  attr_accessor :link
2418
1945
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
2419
1946
  attr_accessor :paypal
2420
- # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
2421
- attr_accessor :payto
2422
1947
  # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
2423
1948
  attr_accessor :sepa_debit
2424
1949
  # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
@@ -2432,7 +1957,6 @@ module Stripe
2432
1957
  card_present: nil,
2433
1958
  link: nil,
2434
1959
  paypal: nil,
2435
- payto: nil,
2436
1960
  sepa_debit: nil,
2437
1961
  us_bank_account: nil
2438
1962
  )
@@ -2443,7 +1967,6 @@ module Stripe
2443
1967
  @card_present = card_present
2444
1968
  @link = link
2445
1969
  @paypal = paypal
2446
- @payto = payto
2447
1970
  @sepa_debit = sepa_debit
2448
1971
  @us_bank_account = us_bank_account
2449
1972
  end
@@ -2456,10 +1979,6 @@ module Stripe
2456
1979
  #
2457
1980
  # If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent.
2458
1981
  attr_accessor :customer
2459
- # ID of the Account this SetupIntent belongs to, if one exists.
2460
- #
2461
- # If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
2462
- attr_accessor :customer_account
2463
1982
  # An arbitrary string attached to the object. Often useful for displaying to users.
2464
1983
  attr_accessor :description
2465
1984
  # Specifies which fields in the response should be expanded.
@@ -2485,7 +2004,6 @@ module Stripe
2485
2004
  def initialize(
2486
2005
  attach_to_self: nil,
2487
2006
  customer: nil,
2488
- customer_account: nil,
2489
2007
  description: nil,
2490
2008
  expand: nil,
2491
2009
  flow_directions: nil,
@@ -2498,7 +2016,6 @@ module Stripe
2498
2016
  )
2499
2017
  @attach_to_self = attach_to_self
2500
2018
  @customer = customer
2501
- @customer_account = customer_account
2502
2019
  @description = description
2503
2020
  @expand = expand
2504
2021
  @flow_directions = flow_directions
@@ -2526,8 +2043,7 @@ module Stripe
2526
2043
  class ConfirmParams < Stripe::RequestParams
2527
2044
  class MandateData < Stripe::RequestParams
2528
2045
  class CustomerAcceptance < Stripe::RequestParams
2529
- class Offline < Stripe::RequestParams
2530
- end
2046
+ class Offline < Stripe::RequestParams; end
2531
2047
 
2532
2048
  class Online < Stripe::RequestParams
2533
2049
  # The IP address from which the Mandate was accepted by the customer.
@@ -2580,20 +2096,11 @@ module Stripe
2580
2096
  end
2581
2097
  end
2582
2098
 
2583
- class Affirm < Stripe::RequestParams
2584
- end
2585
-
2586
- class AfterpayClearpay < Stripe::RequestParams
2587
- end
2588
-
2589
- class Alipay < Stripe::RequestParams
2590
- end
2591
-
2592
- class Alma < Stripe::RequestParams
2593
- end
2594
-
2595
- class AmazonPay < Stripe::RequestParams
2596
- end
2099
+ class Affirm < Stripe::RequestParams; end
2100
+ class AfterpayClearpay < Stripe::RequestParams; end
2101
+ class Alipay < Stripe::RequestParams; end
2102
+ class Alma < Stripe::RequestParams; end
2103
+ class AmazonPay < Stripe::RequestParams; end
2597
2104
 
2598
2105
  class AuBecsDebit < Stripe::RequestParams
2599
2106
  # The account number for the bank account.
@@ -2619,11 +2126,8 @@ module Stripe
2619
2126
  end
2620
2127
  end
2621
2128
 
2622
- class Bancontact < Stripe::RequestParams
2623
- end
2624
-
2625
- class Billie < Stripe::RequestParams
2626
- end
2129
+ class Bancontact < Stripe::RequestParams; end
2130
+ class Billie < Stripe::RequestParams; end
2627
2131
 
2628
2132
  class BillingDetails < Stripe::RequestParams
2629
2133
  class Address < Stripe::RequestParams
@@ -2676,8 +2180,7 @@ module Stripe
2676
2180
  end
2677
2181
  end
2678
2182
 
2679
- class Blik < Stripe::RequestParams
2680
- end
2183
+ class Blik < Stripe::RequestParams; end
2681
2184
 
2682
2185
  class Boleto < Stripe::RequestParams
2683
2186
  # The tax ID of the customer (CPF for individual consumers or CNPJ for businesses consumers)
@@ -2688,11 +2191,8 @@ module Stripe
2688
2191
  end
2689
2192
  end
2690
2193
 
2691
- class Cashapp < Stripe::RequestParams
2692
- end
2693
-
2694
- class CustomerBalance < Stripe::RequestParams
2695
- end
2194
+ class Cashapp < Stripe::RequestParams; end
2195
+ class CustomerBalance < Stripe::RequestParams; end
2696
2196
 
2697
2197
  class Eps < Stripe::RequestParams
2698
2198
  # The customer's bank.
@@ -2715,23 +2215,8 @@ module Stripe
2715
2215
  end
2716
2216
  end
2717
2217
 
2718
- class Giropay < Stripe::RequestParams
2719
- end
2720
-
2721
- class Gopay < Stripe::RequestParams
2722
- end
2723
-
2724
- class Grabpay < Stripe::RequestParams
2725
- end
2726
-
2727
- class IdBankTransfer < Stripe::RequestParams
2728
- # Bank where the account is held.
2729
- attr_accessor :bank
2730
-
2731
- def initialize(bank: nil)
2732
- @bank = bank
2733
- end
2734
- end
2218
+ class Giropay < Stripe::RequestParams; end
2219
+ class Grabpay < Stripe::RequestParams; end
2735
2220
 
2736
2221
  class Ideal < Stripe::RequestParams
2737
2222
  # The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -2742,11 +2227,8 @@ module Stripe
2742
2227
  end
2743
2228
  end
2744
2229
 
2745
- class InteracPresent < Stripe::RequestParams
2746
- end
2747
-
2748
- class KakaoPay < Stripe::RequestParams
2749
- end
2230
+ class InteracPresent < Stripe::RequestParams; end
2231
+ class KakaoPay < Stripe::RequestParams; end
2750
2232
 
2751
2233
  class Klarna < Stripe::RequestParams
2752
2234
  class Dob < Stripe::RequestParams
@@ -2771,23 +2253,11 @@ module Stripe
2771
2253
  end
2772
2254
  end
2773
2255
 
2774
- class Konbini < Stripe::RequestParams
2775
- end
2776
-
2777
- class KrCard < Stripe::RequestParams
2778
- end
2779
-
2780
- class Link < Stripe::RequestParams
2781
- end
2782
-
2783
- class MbWay < Stripe::RequestParams
2784
- end
2785
-
2786
- class Mobilepay < Stripe::RequestParams
2787
- end
2788
-
2789
- class Multibanco < Stripe::RequestParams
2790
- end
2256
+ class Konbini < Stripe::RequestParams; end
2257
+ class KrCard < Stripe::RequestParams; end
2258
+ class Link < Stripe::RequestParams; end
2259
+ class Mobilepay < Stripe::RequestParams; end
2260
+ class Multibanco < Stripe::RequestParams; end
2791
2261
 
2792
2262
  class NaverPay < Stripe::RequestParams
2793
2263
  # Whether to use Naver Pay points or a card to fund this transaction. If not provided, this defaults to `card`.
@@ -2829,8 +2299,7 @@ module Stripe
2829
2299
  end
2830
2300
  end
2831
2301
 
2832
- class Oxxo < Stripe::RequestParams
2833
- end
2302
+ class Oxxo < Stripe::RequestParams; end
2834
2303
 
2835
2304
  class P24 < Stripe::RequestParams
2836
2305
  # The customer's bank.
@@ -2841,41 +2310,12 @@ module Stripe
2841
2310
  end
2842
2311
  end
2843
2312
 
2844
- class PayByBank < Stripe::RequestParams
2845
- end
2846
-
2847
- class Payco < Stripe::RequestParams
2848
- end
2849
-
2850
- class Paynow < Stripe::RequestParams
2851
- end
2852
-
2853
- class Paypal < Stripe::RequestParams
2854
- end
2855
-
2856
- class Payto < Stripe::RequestParams
2857
- # The account number for the bank account.
2858
- attr_accessor :account_number
2859
- # Bank-State-Branch number of the bank account.
2860
- attr_accessor :bsb_number
2861
- # The PayID alias for the bank account.
2862
- attr_accessor :pay_id
2863
-
2864
- def initialize(account_number: nil, bsb_number: nil, pay_id: nil)
2865
- @account_number = account_number
2866
- @bsb_number = bsb_number
2867
- @pay_id = pay_id
2868
- end
2869
- end
2870
-
2871
- class Pix < Stripe::RequestParams
2872
- end
2873
-
2874
- class Promptpay < Stripe::RequestParams
2875
- end
2876
-
2877
- class Qris < Stripe::RequestParams
2878
- end
2313
+ class PayByBank < Stripe::RequestParams; end
2314
+ class Payco < Stripe::RequestParams; end
2315
+ class Paynow < Stripe::RequestParams; end
2316
+ class Paypal < Stripe::RequestParams; end
2317
+ class Pix < Stripe::RequestParams; end
2318
+ class Promptpay < Stripe::RequestParams; end
2879
2319
 
2880
2320
  class RadarOptions < Stripe::RequestParams
2881
2321
  # A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
@@ -2886,37 +2326,9 @@ module Stripe
2886
2326
  end
2887
2327
  end
2888
2328
 
2889
- class Rechnung < Stripe::RequestParams
2890
- class Dob < Stripe::RequestParams
2891
- # The day of birth, between 1 and 31.
2892
- attr_accessor :day
2893
- # The month of birth, between 1 and 12.
2894
- attr_accessor :month
2895
- # The four-digit year of birth.
2896
- attr_accessor :year
2897
-
2898
- def initialize(day: nil, month: nil, year: nil)
2899
- @day = day
2900
- @month = month
2901
- @year = year
2902
- end
2903
- end
2904
- # Customer's date of birth
2905
- attr_accessor :dob
2906
-
2907
- def initialize(dob: nil)
2908
- @dob = dob
2909
- end
2910
- end
2911
-
2912
- class RevolutPay < Stripe::RequestParams
2913
- end
2914
-
2915
- class SamsungPay < Stripe::RequestParams
2916
- end
2917
-
2918
- class Satispay < Stripe::RequestParams
2919
- end
2329
+ class RevolutPay < Stripe::RequestParams; end
2330
+ class SamsungPay < Stripe::RequestParams; end
2331
+ class Satispay < Stripe::RequestParams; end
2920
2332
 
2921
2333
  class SepaDebit < Stripe::RequestParams
2922
2334
  # IBAN of the bank account.
@@ -2927,9 +2339,6 @@ module Stripe
2927
2339
  end
2928
2340
  end
2929
2341
 
2930
- class Shopeepay < Stripe::RequestParams
2931
- end
2932
-
2933
2342
  class Sofort < Stripe::RequestParams
2934
2343
  # Two-letter ISO code representing the country the bank account is located in.
2935
2344
  attr_accessor :country
@@ -2939,23 +2348,8 @@ module Stripe
2939
2348
  end
2940
2349
  end
2941
2350
 
2942
- class StripeBalance < Stripe::RequestParams
2943
- # The connected account ID whose Stripe balance to use as the source of payment
2944
- attr_accessor :account
2945
- # The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
2946
- attr_accessor :source_type
2947
-
2948
- def initialize(account: nil, source_type: nil)
2949
- @account = account
2950
- @source_type = source_type
2951
- end
2952
- end
2953
-
2954
- class Swish < Stripe::RequestParams
2955
- end
2956
-
2957
- class Twint < Stripe::RequestParams
2958
- end
2351
+ class Swish < Stripe::RequestParams; end
2352
+ class Twint < Stripe::RequestParams; end
2959
2353
 
2960
2354
  class UsBankAccount < Stripe::RequestParams
2961
2355
  # Account holder type: individual or company.
@@ -2984,11 +2378,8 @@ module Stripe
2984
2378
  end
2985
2379
  end
2986
2380
 
2987
- class WechatPay < Stripe::RequestParams
2988
- end
2989
-
2990
- class Zip < Stripe::RequestParams
2991
- end
2381
+ class WechatPay < Stripe::RequestParams; end
2382
+ class Zip < Stripe::RequestParams; end
2992
2383
  # If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
2993
2384
  attr_accessor :acss_debit
2994
2385
  # If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
@@ -3027,12 +2418,8 @@ module Stripe
3027
2418
  attr_accessor :fpx
3028
2419
  # If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
3029
2420
  attr_accessor :giropay
3030
- # If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
3031
- attr_accessor :gopay
3032
2421
  # If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
3033
2422
  attr_accessor :grabpay
3034
- # If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
3035
- attr_accessor :id_bank_transfer
3036
2423
  # If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
3037
2424
  attr_accessor :ideal
3038
2425
  # If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method.
@@ -3047,8 +2434,6 @@ module Stripe
3047
2434
  attr_accessor :kr_card
3048
2435
  # If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
3049
2436
  attr_accessor :link
3050
- # If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
3051
- attr_accessor :mb_way
3052
2437
  # 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`.
3053
2438
  attr_accessor :metadata
3054
2439
  # If this is a `mobilepay` PaymentMethod, this hash contains details about the MobilePay payment method.
@@ -3071,18 +2456,12 @@ module Stripe
3071
2456
  attr_accessor :paynow
3072
2457
  # If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
3073
2458
  attr_accessor :paypal
3074
- # If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
3075
- attr_accessor :payto
3076
2459
  # If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
3077
2460
  attr_accessor :pix
3078
2461
  # If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
3079
2462
  attr_accessor :promptpay
3080
- # If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
3081
- attr_accessor :qris
3082
2463
  # Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
3083
2464
  attr_accessor :radar_options
3084
- # If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
3085
- attr_accessor :rechnung
3086
2465
  # If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
3087
2466
  attr_accessor :revolut_pay
3088
2467
  # If this is a `samsung_pay` PaymentMethod, this hash contains details about the SamsungPay payment method.
@@ -3091,12 +2470,8 @@ module Stripe
3091
2470
  attr_accessor :satispay
3092
2471
  # If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
3093
2472
  attr_accessor :sepa_debit
3094
- # If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
3095
- attr_accessor :shopeepay
3096
2473
  # If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
3097
2474
  attr_accessor :sofort
3098
- # This hash contains details about the Stripe balance payment method.
3099
- attr_accessor :stripe_balance
3100
2475
  # If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
3101
2476
  attr_accessor :swish
3102
2477
  # If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
@@ -3130,9 +2505,7 @@ module Stripe
3130
2505
  eps: nil,
3131
2506
  fpx: nil,
3132
2507
  giropay: nil,
3133
- gopay: nil,
3134
2508
  grabpay: nil,
3135
- id_bank_transfer: nil,
3136
2509
  ideal: nil,
3137
2510
  interac_present: nil,
3138
2511
  kakao_pay: nil,
@@ -3140,7 +2513,6 @@ module Stripe
3140
2513
  konbini: nil,
3141
2514
  kr_card: nil,
3142
2515
  link: nil,
3143
- mb_way: nil,
3144
2516
  metadata: nil,
3145
2517
  mobilepay: nil,
3146
2518
  multibanco: nil,
@@ -3152,19 +2524,14 @@ module Stripe
3152
2524
  payco: nil,
3153
2525
  paynow: nil,
3154
2526
  paypal: nil,
3155
- payto: nil,
3156
2527
  pix: nil,
3157
2528
  promptpay: nil,
3158
- qris: nil,
3159
2529
  radar_options: nil,
3160
- rechnung: nil,
3161
2530
  revolut_pay: nil,
3162
2531
  samsung_pay: nil,
3163
2532
  satispay: nil,
3164
2533
  sepa_debit: nil,
3165
- shopeepay: nil,
3166
2534
  sofort: nil,
3167
- stripe_balance: nil,
3168
2535
  swish: nil,
3169
2536
  twint: nil,
3170
2537
  type: nil,
@@ -3191,9 +2558,7 @@ module Stripe
3191
2558
  @eps = eps
3192
2559
  @fpx = fpx
3193
2560
  @giropay = giropay
3194
- @gopay = gopay
3195
2561
  @grabpay = grabpay
3196
- @id_bank_transfer = id_bank_transfer
3197
2562
  @ideal = ideal
3198
2563
  @interac_present = interac_present
3199
2564
  @kakao_pay = kakao_pay
@@ -3201,7 +2566,6 @@ module Stripe
3201
2566
  @konbini = konbini
3202
2567
  @kr_card = kr_card
3203
2568
  @link = link
3204
- @mb_way = mb_way
3205
2569
  @metadata = metadata
3206
2570
  @mobilepay = mobilepay
3207
2571
  @multibanco = multibanco
@@ -3213,19 +2577,14 @@ module Stripe
3213
2577
  @payco = payco
3214
2578
  @paynow = paynow
3215
2579
  @paypal = paypal
3216
- @payto = payto
3217
2580
  @pix = pix
3218
2581
  @promptpay = promptpay
3219
- @qris = qris
3220
2582
  @radar_options = radar_options
3221
- @rechnung = rechnung
3222
2583
  @revolut_pay = revolut_pay
3223
2584
  @samsung_pay = samsung_pay
3224
2585
  @satispay = satispay
3225
2586
  @sepa_debit = sepa_debit
3226
- @shopeepay = shopeepay
3227
2587
  @sofort = sofort
3228
- @stripe_balance = stripe_balance
3229
2588
  @swish = swish
3230
2589
  @twint = twint
3231
2590
  @type = type
@@ -3279,8 +2638,7 @@ module Stripe
3279
2638
  end
3280
2639
  end
3281
2640
 
3282
- class AmazonPay < Stripe::RequestParams
3283
- end
2641
+ class AmazonPay < Stripe::RequestParams; end
3284
2642
 
3285
2643
  class BacsDebit < Stripe::RequestParams
3286
2644
  class MandateOptions < Stripe::RequestParams
@@ -3446,8 +2804,7 @@ module Stripe
3446
2804
  end
3447
2805
  end
3448
2806
 
3449
- class CardPresent < Stripe::RequestParams
3450
- end
2807
+ class CardPresent < Stripe::RequestParams; end
3451
2808
 
3452
2809
  class Link < Stripe::RequestParams
3453
2810
  # [Deprecated] This is a legacy parameter that no longer has any function.
@@ -3461,58 +2818,9 @@ module Stripe
3461
2818
  class Paypal < Stripe::RequestParams
3462
2819
  # The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
3463
2820
  attr_accessor :billing_agreement_id
3464
- # Attribute for param field currency
3465
- attr_accessor :currency
3466
- # The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
3467
- attr_accessor :subsellers
3468
2821
 
3469
- def initialize(billing_agreement_id: nil, currency: nil, subsellers: nil)
2822
+ def initialize(billing_agreement_id: nil)
3470
2823
  @billing_agreement_id = billing_agreement_id
3471
- @currency = currency
3472
- @subsellers = subsellers
3473
- end
3474
- end
3475
-
3476
- class Payto < Stripe::RequestParams
3477
- class MandateOptions < Stripe::RequestParams
3478
- # Amount that will be collected. It is required when `amount_type` is `fixed`.
3479
- attr_accessor :amount
3480
- # The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively.
3481
- attr_accessor :amount_type
3482
- # Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
3483
- attr_accessor :end_date
3484
- # The periodicity at which payments will be collected.
3485
- attr_accessor :payment_schedule
3486
- # The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
3487
- attr_accessor :payments_per_period
3488
- # The purpose for which payments are made. Defaults to retail.
3489
- attr_accessor :purpose
3490
- # Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
3491
- attr_accessor :start_date
3492
-
3493
- def initialize(
3494
- amount: nil,
3495
- amount_type: nil,
3496
- end_date: nil,
3497
- payment_schedule: nil,
3498
- payments_per_period: nil,
3499
- purpose: nil,
3500
- start_date: nil
3501
- )
3502
- @amount = amount
3503
- @amount_type = amount_type
3504
- @end_date = end_date
3505
- @payment_schedule = payment_schedule
3506
- @payments_per_period = payments_per_period
3507
- @purpose = purpose
3508
- @start_date = start_date
3509
- end
3510
- end
3511
- # Additional fields for Mandate creation.
3512
- attr_accessor :mandate_options
3513
-
3514
- def initialize(mandate_options: nil)
3515
- @mandate_options = mandate_options
3516
2824
  end
3517
2825
  end
3518
2826
 
@@ -3538,27 +2846,13 @@ module Stripe
3538
2846
  class Filters < Stripe::RequestParams
3539
2847
  # The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
3540
2848
  attr_accessor :account_subcategories
3541
- # ID of the institution to use to filter for selectable accounts.
3542
- attr_accessor :institution
3543
2849
 
3544
- def initialize(account_subcategories: nil, institution: nil)
2850
+ def initialize(account_subcategories: nil)
3545
2851
  @account_subcategories = account_subcategories
3546
- @institution = institution
3547
- end
3548
- end
3549
-
3550
- class ManualEntry < Stripe::RequestParams
3551
- # Settings for configuring manual entry of account details.
3552
- attr_accessor :mode
3553
-
3554
- def initialize(mode: nil)
3555
- @mode = mode
3556
2852
  end
3557
2853
  end
3558
2854
  # Provide filters for the linked accounts that the customer can select for the payment method.
3559
2855
  attr_accessor :filters
3560
- # Customize manual entry behavior
3561
- attr_accessor :manual_entry
3562
2856
  # The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
3563
2857
  attr_accessor :permissions
3564
2858
  # List of data features that you would like to retrieve upon account creation.
@@ -3566,15 +2860,8 @@ module Stripe
3566
2860
  # For webview integrations only. Upon completing OAuth login in the native browser, the user will be redirected to this URL to return to your app.
3567
2861
  attr_accessor :return_url
3568
2862
 
3569
- def initialize(
3570
- filters: nil,
3571
- manual_entry: nil,
3572
- permissions: nil,
3573
- prefetch: nil,
3574
- return_url: nil
3575
- )
2863
+ def initialize(filters: nil, permissions: nil, prefetch: nil, return_url: nil)
3576
2864
  @filters = filters
3577
- @manual_entry = manual_entry
3578
2865
  @permissions = permissions
3579
2866
  @prefetch = prefetch
3580
2867
  @return_url = return_url
@@ -3633,8 +2920,6 @@ module Stripe
3633
2920
  attr_accessor :link
3634
2921
  # If this is a `paypal` PaymentMethod, this sub-hash contains details about the PayPal payment method options.
3635
2922
  attr_accessor :paypal
3636
- # If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
3637
- attr_accessor :payto
3638
2923
  # If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
3639
2924
  attr_accessor :sepa_debit
3640
2925
  # If this is a `us_bank_account` SetupIntent, this sub-hash contains details about the US bank account payment method options.
@@ -3648,7 +2933,6 @@ module Stripe
3648
2933
  card_present: nil,
3649
2934
  link: nil,
3650
2935
  paypal: nil,
3651
- payto: nil,
3652
2936
  sepa_debit: nil,
3653
2937
  us_bank_account: nil
3654
2938
  )
@@ -3659,7 +2943,6 @@ module Stripe
3659
2943
  @card_present = card_present
3660
2944
  @link = link
3661
2945
  @paypal = paypal
3662
- @payto = payto
3663
2946
  @sepa_debit = sepa_debit
3664
2947
  @us_bank_account = us_bank_account
3665
2948
  end
@@ -3724,7 +3007,7 @@ module Stripe
3724
3007
 
3725
3008
  # You can cancel a SetupIntent object when it's in one of these statuses: requires_payment_method, requires_confirmation, or requires_action.
3726
3009
  #
3727
- # After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
3010
+ # After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://docs.stripe.com/docs/api/checkout/sessions/expire) instead.
3728
3011
  def cancel(intent, params = {}, opts = {})
3729
3012
  request(
3730
3013
  method: :post,
@@ -3761,7 +3044,7 @@ module Stripe
3761
3044
 
3762
3045
  # Creates a SetupIntent object.
3763
3046
  #
3764
- # After you create the SetupIntent, attach a payment method and [confirm](https://stripe.com/docs/api/setup_intents/confirm)
3047
+ # After you create the SetupIntent, attach a payment method and [confirm](https://docs.stripe.com/docs/api/setup_intents/confirm)
3765
3048
  # it to collect any required permissions to charge the payment method later.
3766
3049
  def create(params = {}, opts = {})
3767
3050
  request(
@@ -3788,7 +3071,7 @@ module Stripe
3788
3071
  #
3789
3072
  # Client-side retrieval using a publishable key is allowed when the client_secret is provided in the query string.
3790
3073
  #
3791
- # When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the [SetupIntent](https://stripe.com/docs/api#setup_intent_object) object reference for more details.
3074
+ # When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the [SetupIntent](https://docs.stripe.com/api#setup_intent_object) object reference for more details.
3792
3075
  def retrieve(intent, params = {}, opts = {})
3793
3076
  request(
3794
3077
  method: :get,