stripe 18.1.0.pre.alpha.4 → 18.1.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 (929) hide show
  1. checksums.yaml +4 -4
  2. data/lib/data/ca-certificates.crt +682 -518
  3. data/lib/stripe/api_requestor.rb +0 -34
  4. data/lib/stripe/api_version.rb +2 -1
  5. data/lib/stripe/errors.rb +0 -63
  6. data/lib/stripe/event_types.rb +0 -513
  7. data/lib/stripe/object_types.rb +0 -83
  8. data/lib/stripe/params/account_create_params.rb +48 -361
  9. data/lib/stripe/params/account_external_account_create_params.rb +2 -2
  10. data/lib/stripe/params/account_external_account_update_params.rb +2 -2
  11. data/lib/stripe/params/account_person_create_params.rb +10 -42
  12. data/lib/stripe/params/account_person_update_params.rb +10 -42
  13. data/lib/stripe/params/account_session_create_params.rb +1 -226
  14. data/lib/stripe/params/account_update_params.rb +47 -323
  15. data/lib/stripe/params/application_fee_refund_create_params.rb +1 -1
  16. data/lib/stripe/params/application_fee_refund_update_params.rb +1 -1
  17. data/lib/stripe/params/billing/alert_create_params.rb +1 -121
  18. data/lib/stripe/params/billing/alert_list_params.rb +0 -4
  19. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +3 -15
  20. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +2 -2
  21. data/lib/stripe/params/billing/credit_grant_create_params.rb +4 -31
  22. data/lib/stripe/params/billing/credit_grant_list_params.rb +1 -1
  23. data/lib/stripe/params/billing/meter_create_params.rb +0 -4
  24. data/lib/stripe/params/billing/meter_event_create_params.rb +1 -1
  25. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -8
  26. data/lib/stripe/params/billing_portal/configuration_create_params.rb +7 -3
  27. data/lib/stripe/params/billing_portal/configuration_update_params.rb +7 -3
  28. data/lib/stripe/params/billing_portal/session_create_params.rb +7 -7
  29. data/lib/stripe/params/charge_capture_params.rb +2 -1650
  30. data/lib/stripe/params/charge_create_params.rb +12 -12
  31. data/lib/stripe/params/charge_search_params.rb +1 -1
  32. data/lib/stripe/params/charge_update_params.rb +3 -1651
  33. data/lib/stripe/params/checkout/session_create_params.rb +42 -247
  34. data/lib/stripe/params/checkout/session_update_params.rb +12 -152
  35. data/lib/stripe/params/climate/order_create_params.rb +1 -1
  36. data/lib/stripe/params/climate/order_update_params.rb +1 -1
  37. data/lib/stripe/params/confirmation_token_create_params.rb +6 -83
  38. data/lib/stripe/params/coupon_create_params.rb +2 -18
  39. data/lib/stripe/params/coupon_update_params.rb +1 -1
  40. data/lib/stripe/params/credit_note_create_params.rb +1 -1
  41. data/lib/stripe/params/credit_note_list_params.rb +1 -1
  42. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -1
  43. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -1
  44. data/lib/stripe/params/credit_note_preview_params.rb +1 -1
  45. data/lib/stripe/params/credit_note_update_params.rb +1 -1
  46. data/lib/stripe/params/customer_balance_transaction_create_params.rb +2 -2
  47. data/lib/stripe/params/customer_balance_transaction_list_params.rb +11 -1
  48. data/lib/stripe/params/customer_balance_transaction_update_params.rb +1 -1
  49. data/lib/stripe/params/customer_cash_balance_update_params.rb +1 -1
  50. data/lib/stripe/params/customer_create_params.rb +5 -5
  51. data/lib/stripe/params/customer_fund_cash_balance_params.rb +2 -2
  52. data/lib/stripe/params/customer_payment_source_create_params.rb +2 -2
  53. data/lib/stripe/params/customer_payment_source_update_params.rb +2 -2
  54. data/lib/stripe/params/customer_search_params.rb +1 -1
  55. data/lib/stripe/params/customer_session_create_params.rb +1 -32
  56. data/lib/stripe/params/customer_update_params.rb +7 -7
  57. data/lib/stripe/params/dispute_update_params.rb +4 -13
  58. data/lib/stripe/params/file_create_params.rb +3 -3
  59. data/lib/stripe/params/file_link_create_params.rb +1 -1
  60. data/lib/stripe/params/file_link_update_params.rb +1 -1
  61. data/lib/stripe/params/financial_connections/account_list_params.rb +3 -3
  62. data/lib/stripe/params/financial_connections/session_create_params.rb +4 -33
  63. data/lib/stripe/params/forwarding/request_create_params.rb +1 -1
  64. data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
  65. data/lib/stripe/params/identity/verification_session_create_params.rb +6 -6
  66. data/lib/stripe/params/identity/verification_session_list_params.rb +3 -3
  67. data/lib/stripe/params/identity/verification_session_update_params.rb +5 -5
  68. data/lib/stripe/params/invoice_add_lines_params.rb +9 -41
  69. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
  70. data/lib/stripe/params/invoice_create_params.rb +29 -110
  71. data/lib/stripe/params/invoice_create_preview_params.rb +43 -975
  72. data/lib/stripe/params/invoice_finalize_invoice_params.rb +1 -1
  73. data/lib/stripe/params/invoice_item_create_params.rb +9 -41
  74. data/lib/stripe/params/invoice_item_list_params.rb +2 -2
  75. data/lib/stripe/params/invoice_item_update_params.rb +7 -39
  76. data/lib/stripe/params/invoice_line_item_update_params.rb +8 -40
  77. data/lib/stripe/params/invoice_list_params.rb +2 -6
  78. data/lib/stripe/params/invoice_remove_lines_params.rb +1 -1
  79. data/lib/stripe/params/invoice_search_params.rb +1 -1
  80. data/lib/stripe/params/invoice_update_lines_params.rb +9 -41
  81. data/lib/stripe/params/invoice_update_params.rb +26 -107
  82. data/lib/stripe/params/issuing/authorization_approve_params.rb +2 -2
  83. data/lib/stripe/params/issuing/authorization_capture_params.rb +1 -1
  84. data/lib/stripe/params/issuing/authorization_create_params.rb +5 -5
  85. data/lib/stripe/params/issuing/authorization_decline_params.rb +1 -1
  86. data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +1 -1
  87. data/lib/stripe/params/issuing/authorization_increment_params.rb +2 -2
  88. data/lib/stripe/params/issuing/authorization_reverse_params.rb +1 -1
  89. data/lib/stripe/params/issuing/authorization_update_params.rb +1 -1
  90. data/lib/stripe/params/issuing/card_create_params.rb +7 -7
  91. data/lib/stripe/params/issuing/card_update_params.rb +6 -6
  92. data/lib/stripe/params/issuing/cardholder_create_params.rb +11 -12
  93. data/lib/stripe/params/issuing/cardholder_update_params.rb +10 -10
  94. data/lib/stripe/params/issuing/dispute_create_params.rb +2 -2
  95. data/lib/stripe/params/issuing/dispute_submit_params.rb +1 -1
  96. data/lib/stripe/params/issuing/dispute_update_params.rb +2 -2
  97. data/lib/stripe/params/issuing/personalization_design_create_params.rb +1 -1
  98. data/lib/stripe/params/issuing/personalization_design_update_params.rb +1 -1
  99. data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +2 -2
  100. data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +2 -2
  101. data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
  102. data/lib/stripe/params/issuing/transaction_refund_params.rb +1 -1
  103. data/lib/stripe/params/issuing/transaction_update_params.rb +1 -1
  104. data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +1 -1
  105. data/lib/stripe/params/payment_intent_capture_params.rb +13 -1639
  106. data/lib/stripe/params/payment_intent_confirm_params.rb +150 -3144
  107. data/lib/stripe/params/payment_intent_create_params.rb +167 -3174
  108. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +11 -32
  109. data/lib/stripe/params/payment_intent_list_params.rb +1 -1
  110. data/lib/stripe/params/payment_intent_search_params.rb +1 -1
  111. data/lib/stripe/params/payment_intent_update_params.rb +205 -3230
  112. data/lib/stripe/params/payment_link_create_params.rb +19 -19
  113. data/lib/stripe/params/payment_link_update_params.rb +9 -9
  114. data/lib/stripe/params/payment_method_attach_params.rb +1 -1
  115. data/lib/stripe/params/payment_method_configuration_create_params.rb +38 -143
  116. data/lib/stripe/params/payment_method_configuration_update_params.rb +38 -143
  117. data/lib/stripe/params/payment_method_create_params.rb +4 -81
  118. data/lib/stripe/params/payment_method_update_params.rb +2 -2
  119. data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +2 -2
  120. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +3 -3
  121. data/lib/stripe/params/payment_record_report_payment_params.rb +4 -4
  122. data/lib/stripe/params/payment_record_report_refund_params.rb +3 -3
  123. data/lib/stripe/params/payout_create_params.rb +1 -1
  124. data/lib/stripe/params/payout_reverse_params.rb +1 -1
  125. data/lib/stripe/params/payout_update_params.rb +1 -1
  126. data/lib/stripe/params/plan_create_params.rb +4 -4
  127. data/lib/stripe/params/plan_update_params.rb +2 -2
  128. data/lib/stripe/params/price_create_params.rb +6 -6
  129. data/lib/stripe/params/price_search_params.rb +1 -1
  130. data/lib/stripe/params/price_update_params.rb +3 -22
  131. data/lib/stripe/params/product_create_params.rb +7 -7
  132. data/lib/stripe/params/product_feature_create_params.rb +1 -1
  133. data/lib/stripe/params/product_list_params.rb +1 -1
  134. data/lib/stripe/params/product_search_params.rb +1 -1
  135. data/lib/stripe/params/product_update_params.rb +4 -4
  136. data/lib/stripe/params/promotion_code_create_params.rb +3 -3
  137. data/lib/stripe/params/promotion_code_list_params.rb +1 -1
  138. data/lib/stripe/params/promotion_code_update_params.rb +1 -1
  139. data/lib/stripe/params/quote_create_params.rb +7 -1025
  140. data/lib/stripe/params/quote_list_params.rb +2 -6
  141. data/lib/stripe/params/quote_update_params.rb +8 -1033
  142. data/lib/stripe/params/radar/value_list_create_params.rb +1 -1
  143. data/lib/stripe/params/radar/value_list_update_params.rb +1 -1
  144. data/lib/stripe/params/refund_create_params.rb +2 -2
  145. data/lib/stripe/params/refund_update_params.rb +1 -1
  146. data/lib/stripe/params/reporting/report_run_create_params.rb +2 -2
  147. data/lib/stripe/params/setup_intent_confirm_params.rb +9 -193
  148. data/lib/stripe/params/setup_intent_create_params.rb +15 -199
  149. data/lib/stripe/params/setup_intent_update_params.rb +12 -196
  150. data/lib/stripe/params/shipping_rate_create_params.rb +2 -2
  151. data/lib/stripe/params/shipping_rate_update_params.rb +1 -1
  152. data/lib/stripe/params/source_create_params.rb +3 -3
  153. data/lib/stripe/params/source_update_params.rb +3 -3
  154. data/lib/stripe/params/subscription_create_params.rb +39 -280
  155. data/lib/stripe/params/subscription_item_create_params.rb +12 -72
  156. data/lib/stripe/params/subscription_item_delete_params.rb +2 -2
  157. data/lib/stripe/params/subscription_item_update_params.rb +12 -56
  158. data/lib/stripe/params/subscription_list_params.rb +3 -3
  159. data/lib/stripe/params/subscription_resume_params.rb +2 -2
  160. data/lib/stripe/params/subscription_schedule_create_params.rb +22 -248
  161. data/lib/stripe/params/subscription_schedule_update_params.rb +22 -248
  162. data/lib/stripe/params/subscription_search_params.rb +1 -1
  163. data/lib/stripe/params/subscription_update_params.rb +37 -262
  164. data/lib/stripe/params/tax/association_find_params.rb +1 -1
  165. data/lib/stripe/params/tax/calculation_create_params.rb +7 -7
  166. data/lib/stripe/params/tax/settings_update_params.rb +1 -1
  167. data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +1 -1
  168. data/lib/stripe/params/tax/transaction_create_reversal_params.rb +9 -9
  169. data/lib/stripe/params/tax_id_create_params.rb +2 -2
  170. data/lib/stripe/params/tax_id_list_params.rb +2 -2
  171. data/lib/stripe/params/tax_rate_create_params.rb +1 -1
  172. data/lib/stripe/params/tax_rate_update_params.rb +1 -1
  173. data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
  174. data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
  175. data/lib/stripe/params/terminal/location_create_params.rb +2 -2
  176. data/lib/stripe/params/terminal/location_update_params.rb +2 -2
  177. data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +1 -1
  178. data/lib/stripe/params/terminal/reader_create_params.rb +1 -1
  179. data/lib/stripe/params/terminal/reader_refund_payment_params.rb +1 -1
  180. data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +3 -3
  181. data/lib/stripe/params/terminal/reader_update_params.rb +1 -1
  182. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +6 -83
  183. data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +2 -2
  184. data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +1 -1
  185. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +5 -5
  186. data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +1 -1
  187. data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +2 -2
  188. data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +1 -1
  189. data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +2 -2
  190. data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +2 -2
  191. data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +1 -1
  192. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +2 -26
  193. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +2 -26
  194. data/lib/stripe/params/token_create_params.rb +22 -86
  195. data/lib/stripe/params/topup_create_params.rb +2 -2
  196. data/lib/stripe/params/topup_update_params.rb +1 -1
  197. data/lib/stripe/params/transfer_create_params.rb +3 -11
  198. data/lib/stripe/params/transfer_reversal_create_params.rb +1 -1
  199. data/lib/stripe/params/transfer_reversal_update_params.rb +1 -1
  200. data/lib/stripe/params/transfer_update_params.rb +1 -1
  201. data/lib/stripe/params/treasury/credit_reversal_create_params.rb +1 -1
  202. data/lib/stripe/params/treasury/debit_reversal_create_params.rb +1 -1
  203. data/lib/stripe/params/treasury/financial_account_create_params.rb +2 -9
  204. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
  205. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
  206. data/lib/stripe/params/treasury/financial_account_update_params.rb +2 -9
  207. data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +2 -2
  208. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +5 -5
  209. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +3 -27
  210. data/lib/stripe/params/treasury/received_credit_create_params.rb +2 -26
  211. data/lib/stripe/params/treasury/received_debit_create_params.rb +2 -26
  212. data/lib/stripe/params/v2/core/account_create_params.rb +25 -967
  213. data/lib/stripe/params/v2/core/account_link_create_params.rb +5 -5
  214. data/lib/stripe/params/v2/core/account_token_create_params.rb +10 -258
  215. data/lib/stripe/params/v2/core/account_update_params.rb +30 -951
  216. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +5 -5
  217. data/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +5 -5
  218. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +5 -5
  219. data/lib/stripe/params/v2/core/event_list_params.rb +1 -4
  220. data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -8
  221. data/lib/stripe/params/webhook_endpoint_create_params.rb +1 -1
  222. data/lib/stripe/params/webhook_endpoint_update_params.rb +1 -1
  223. data/lib/stripe/params.rb +0 -247
  224. data/lib/stripe/resources/account.rb +27 -208
  225. data/lib/stripe/resources/account_link.rb +1 -1
  226. data/lib/stripe/resources/account_session.rb +2 -110
  227. data/lib/stripe/resources/application_fee.rb +0 -2
  228. data/lib/stripe/resources/application_fee_refund.rb +2 -2
  229. data/lib/stripe/resources/apps/secret.rb +1 -1
  230. data/lib/stripe/resources/balance.rb +2 -85
  231. data/lib/stripe/resources/balance_settings.rb +1 -1
  232. data/lib/stripe/resources/balance_transaction.rb +1 -1
  233. data/lib/stripe/resources/bank_account.rb +10 -10
  234. data/lib/stripe/resources/billing/alert.rb +2 -106
  235. data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
  236. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -84
  237. data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
  238. data/lib/stripe/resources/billing/credit_grant.rb +4 -60
  239. data/lib/stripe/resources/billing/meter.rb +0 -2
  240. data/lib/stripe/resources/billing/meter_event.rb +1 -1
  241. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
  242. data/lib/stripe/resources/billing_portal/configuration.rb +5 -3
  243. data/lib/stripe/resources/billing_portal/session.rb +6 -6
  244. data/lib/stripe/resources/capability.rb +16 -16
  245. data/lib/stripe/resources/card.rb +3 -22
  246. data/lib/stripe/resources/cash_balance.rb +2 -2
  247. data/lib/stripe/resources/charge.rb +46 -266
  248. data/lib/stripe/resources/checkout/session.rb +23 -215
  249. data/lib/stripe/resources/climate/order.rb +1 -1
  250. data/lib/stripe/resources/confirmation_token.rb +11 -162
  251. data/lib/stripe/resources/coupon.rb +4 -29
  252. data/lib/stripe/resources/credit_note.rb +5 -5
  253. data/lib/stripe/resources/credit_note_line_item.rb +1 -19
  254. data/lib/stripe/resources/customer.rb +8 -8
  255. data/lib/stripe/resources/customer_balance_transaction.rb +6 -6
  256. data/lib/stripe/resources/customer_cash_balance_transaction.rb +10 -10
  257. data/lib/stripe/resources/customer_session.rb +0 -36
  258. data/lib/stripe/resources/discount.rb +3 -5
  259. data/lib/stripe/resources/dispute.rb +5 -27
  260. data/lib/stripe/resources/entitlements/active_entitlement.rb +1 -1
  261. data/lib/stripe/resources/event.rb +2 -65
  262. data/lib/stripe/resources/exchange_rate.rb +2 -2
  263. data/lib/stripe/resources/file.rb +4 -4
  264. data/lib/stripe/resources/file_link.rb +1 -1
  265. data/lib/stripe/resources/financial_connections/account.rb +3 -28
  266. data/lib/stripe/resources/financial_connections/session.rb +3 -67
  267. data/lib/stripe/resources/forwarding/request.rb +1 -1
  268. data/lib/stripe/resources/funding_instructions.rb +14 -14
  269. data/lib/stripe/resources/identity/verification_report.rb +9 -13
  270. data/lib/stripe/resources/identity/verification_session.rb +11 -11
  271. data/lib/stripe/resources/invoice.rb +49 -182
  272. data/lib/stripe/resources/invoice_item.rb +8 -114
  273. data/lib/stripe/resources/invoice_line_item.rb +7 -151
  274. data/lib/stripe/resources/invoice_payment.rb +1 -1
  275. data/lib/stripe/resources/invoice_rendering_template.rb +1 -1
  276. data/lib/stripe/resources/issuing/authorization.rb +20 -20
  277. data/lib/stripe/resources/issuing/card.rb +12 -12
  278. data/lib/stripe/resources/issuing/cardholder.rb +14 -14
  279. data/lib/stripe/resources/issuing/dispute.rb +7 -7
  280. data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
  281. data/lib/stripe/resources/issuing/token.rb +1 -1
  282. data/lib/stripe/resources/issuing/transaction.rb +12 -14
  283. data/lib/stripe/resources/line_item.rb +4 -69
  284. data/lib/stripe/resources/login_link.rb +1 -1
  285. data/lib/stripe/resources/mandate.rb +0 -43
  286. data/lib/stripe/resources/payment_attempt_record.rb +79 -201
  287. data/lib/stripe/resources/payment_intent.rb +59 -811
  288. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +3 -3
  289. data/lib/stripe/resources/payment_link.rb +7 -7
  290. data/lib/stripe/resources/payment_method.rb +13 -186
  291. data/lib/stripe/resources/payment_method_configuration.rb +4 -174
  292. data/lib/stripe/resources/payment_method_domain.rb +1 -1
  293. data/lib/stripe/resources/payment_record.rb +81 -201
  294. data/lib/stripe/resources/payout.rb +7 -7
  295. data/lib/stripe/resources/person.rb +23 -59
  296. data/lib/stripe/resources/plan.rb +5 -5
  297. data/lib/stripe/resources/price.rb +6 -26
  298. data/lib/stripe/resources/product.rb +9 -9
  299. data/lib/stripe/resources/promotion_code.rb +4 -4
  300. data/lib/stripe/resources/quote.rb +14 -818
  301. data/lib/stripe/resources/radar/early_fraud_warning.rb +1 -1
  302. data/lib/stripe/resources/radar/value_list.rb +2 -2
  303. data/lib/stripe/resources/radar/value_list_item.rb +1 -1
  304. data/lib/stripe/resources/refund.rb +3 -21
  305. data/lib/stripe/resources/reporting/report_run.rb +3 -3
  306. data/lib/stripe/resources/reporting/report_type.rb +3 -3
  307. data/lib/stripe/resources/reversal.rb +4 -4
  308. data/lib/stripe/resources/review.rb +1 -1
  309. data/lib/stripe/resources/setup_attempt.rb +17 -65
  310. data/lib/stripe/resources/setup_intent.rb +20 -147
  311. data/lib/stripe/resources/shipping_rate.rb +3 -3
  312. data/lib/stripe/resources/sigma/scheduled_query_run.rb +1 -1
  313. data/lib/stripe/resources/source.rb +8 -46
  314. data/lib/stripe/resources/source_mandate_notification.rb +3 -3
  315. data/lib/stripe/resources/subscription.rb +23 -240
  316. data/lib/stripe/resources/subscription_item.rb +8 -50
  317. data/lib/stripe/resources/subscription_schedule.rb +11 -298
  318. data/lib/stripe/resources/tax/association.rb +3 -3
  319. data/lib/stripe/resources/tax/calculation.rb +12 -12
  320. data/lib/stripe/resources/tax/calculation_line_item.rb +7 -7
  321. data/lib/stripe/resources/tax/registration.rb +3 -3
  322. data/lib/stripe/resources/tax/settings.rb +2 -2
  323. data/lib/stripe/resources/tax/transaction.rb +9 -9
  324. data/lib/stripe/resources/tax/transaction_line_item.rb +5 -5
  325. data/lib/stripe/resources/tax_id.rb +4 -4
  326. data/lib/stripe/resources/tax_rate.rb +1 -1
  327. data/lib/stripe/resources/terminal/configuration.rb +0 -16
  328. data/lib/stripe/resources/terminal/connection_token.rb +1 -1
  329. data/lib/stripe/resources/terminal/location.rb +3 -3
  330. data/lib/stripe/resources/terminal/reader.rb +10 -18
  331. data/lib/stripe/resources/token.rb +4 -4
  332. data/lib/stripe/resources/topup.rb +3 -3
  333. data/lib/stripe/resources/transfer.rb +5 -11
  334. data/lib/stripe/resources/treasury/credit_reversal.rb +3 -3
  335. data/lib/stripe/resources/treasury/debit_reversal.rb +3 -3
  336. data/lib/stripe/resources/treasury/financial_account.rb +1 -3
  337. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  338. data/lib/stripe/resources/treasury/inbound_transfer.rb +5 -5
  339. data/lib/stripe/resources/treasury/outbound_payment.rb +6 -6
  340. data/lib/stripe/resources/treasury/outbound_transfer.rb +5 -35
  341. data/lib/stripe/resources/treasury/received_credit.rb +10 -40
  342. data/lib/stripe/resources/treasury/received_debit.rb +7 -39
  343. data/lib/stripe/resources/treasury/transaction.rb +11 -11
  344. data/lib/stripe/resources/treasury/transaction_entry.rb +11 -11
  345. data/lib/stripe/resources/v2/core/account.rb +159 -1904
  346. data/lib/stripe/resources/v2/core/account_link.rb +11 -11
  347. data/lib/stripe/resources/v2/core/account_person.rb +10 -10
  348. data/lib/stripe/resources/v2/core/event.rb +1 -50
  349. data/lib/stripe/resources/webhook_endpoint.rb +1 -1
  350. data/lib/stripe/resources.rb +0 -214
  351. data/lib/stripe/services/billing_service.rb +1 -2
  352. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  353. data/lib/stripe/services/financial_connections_service.rb +1 -2
  354. data/lib/stripe/services/identity_service.rb +1 -2
  355. data/lib/stripe/services/issuing_service.rb +1 -6
  356. data/lib/stripe/services/mandate_service.rb +0 -5
  357. data/lib/stripe/services/payment_intent_service.rb +0 -37
  358. data/lib/stripe/services/payment_method_service.rb +1 -12
  359. data/lib/stripe/services/quote_service.rb +1 -49
  360. data/lib/stripe/services/radar_service.rb +1 -2
  361. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  362. data/lib/stripe/services/subscription_service.rb +0 -11
  363. data/lib/stripe/services/tax_service.rb +1 -2
  364. data/lib/stripe/services/terminal_service.rb +1 -2
  365. data/lib/stripe/services/test_helpers_service.rb +1 -2
  366. data/lib/stripe/services/v1_services.rb +1 -11
  367. data/lib/stripe/services/v2/billing_service.rb +1 -18
  368. data/lib/stripe/services/v2/core/account_link_service.rb +1 -1
  369. data/lib/stripe/services/v2/core/account_service.rb +0 -4
  370. data/lib/stripe/services/v2/core/accounts/person_service.rb +2 -2
  371. data/lib/stripe/services/v2/core_service.rb +1 -3
  372. data/lib/stripe/services/v2_services.rb +1 -5
  373. data/lib/stripe/services.rb +0 -88
  374. data/lib/stripe/stripe_configuration.rb +1 -3
  375. data/lib/stripe/stripe_object.rb +12 -4
  376. data/lib/stripe/util.rb +1 -7
  377. data/lib/stripe/version.rb +1 -1
  378. data/lib/stripe.rb +0 -53
  379. data/rbi/stripe.rbi +74214 -150917
  380. metadata +4 -553
  381. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
  382. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
  383. data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
  384. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
  385. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
  386. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
  387. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
  388. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
  389. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
  390. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
  391. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
  392. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
  393. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
  394. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
  395. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
  396. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
  397. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
  398. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
  399. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
  400. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
  401. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
  402. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
  403. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
  404. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
  405. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
  406. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
  407. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
  408. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
  409. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
  410. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
  411. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
  412. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
  413. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
  414. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
  415. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
  416. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
  417. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
  418. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -44
  419. data/lib/stripe/events/v2_core_account_created_event.rb +0 -44
  420. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +0 -63
  421. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +0 -44
  422. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -63
  423. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -44
  424. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -63
  425. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -44
  426. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -63
  427. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -44
  428. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -63
  429. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -44
  430. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -44
  431. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -44
  432. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -44
  433. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -42
  434. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -61
  435. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -61
  436. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -61
  437. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -44
  438. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
  439. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
  440. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
  441. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
  442. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
  443. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -68
  444. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -68
  445. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -66
  446. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -66
  447. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
  448. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
  449. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
  450. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -78
  451. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -91
  452. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -93
  453. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -93
  454. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -93
  455. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -64
  456. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -64
  457. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
  458. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
  459. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
  460. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
  461. data/lib/stripe/events/v2_iam_api_key_created_event.rb +0 -20
  462. data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +0 -20
  463. data/lib/stripe/events/v2_iam_api_key_expired_event.rb +0 -20
  464. data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +0 -20
  465. data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +0 -38
  466. data/lib/stripe/events/v2_iam_api_key_updated_event.rb +0 -20
  467. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  468. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  469. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  470. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  471. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  472. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  473. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  474. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  475. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  476. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  477. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  478. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  479. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  480. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  481. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  482. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  483. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  484. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  485. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  486. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  487. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  488. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  489. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  490. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  491. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  492. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  493. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  494. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  495. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  496. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  497. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  498. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  499. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  500. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
  501. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
  502. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -61
  503. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  504. data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +0 -44
  505. data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +0 -46
  506. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -46
  507. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -48
  508. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  509. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  510. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  511. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  512. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  513. data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -44
  514. data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -44
  515. data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -44
  516. data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -44
  517. data/lib/stripe/params/account_notice_list_params.rb +0 -25
  518. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  519. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  520. data/lib/stripe/params/balance_transfer_create_params.rb +0 -66
  521. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -69
  522. data/lib/stripe/params/capital/financing_offer_create_params.rb +0 -37
  523. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  524. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  525. data/lib/stripe/params/capital/financing_offer_refill_params.rb +0 -37
  526. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  527. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  528. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  529. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  530. data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +0 -55
  531. data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -205
  532. data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
  533. data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
  534. data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -209
  535. data/lib/stripe/params/external_account_create_params.rb +0 -134
  536. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  537. data/lib/stripe/params/external_account_list_params.rb +0 -25
  538. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  539. data/lib/stripe/params/external_account_update_params.rb +0 -91
  540. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  541. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  542. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  543. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  544. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  545. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  546. data/lib/stripe/params/identity/blocklist_entry_create_params.rb +0 -29
  547. data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +0 -15
  548. data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
  549. data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
  550. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  551. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  552. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  553. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  554. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  555. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  556. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  557. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  558. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  559. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  560. data/lib/stripe/params/issuing/program_create_params.rb +0 -21
  561. data/lib/stripe/params/issuing/program_list_params.rb +0 -24
  562. data/lib/stripe/params/issuing/program_retrieve_params.rb +0 -15
  563. data/lib/stripe/params/issuing/program_update_params.rb +0 -21
  564. data/lib/stripe/params/mandate_list_params.rb +0 -39
  565. data/lib/stripe/params/margin_create_params.rb +0 -25
  566. data/lib/stripe/params/margin_list_params.rb +0 -25
  567. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  568. data/lib/stripe/params/margin_update_params.rb +0 -22
  569. data/lib/stripe/params/order_cancel_params.rb +0 -13
  570. data/lib/stripe/params/order_create_params.rb +0 -2061
  571. data/lib/stripe/params/order_line_item_list_params.rb +0 -22
  572. data/lib/stripe/params/order_list_line_items_params.rb +0 -22
  573. data/lib/stripe/params/order_list_params.rb +0 -25
  574. data/lib/stripe/params/order_reopen_params.rb +0 -13
  575. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  576. data/lib/stripe/params/order_submit_params.rb +0 -16
  577. data/lib/stripe/params/order_update_params.rb +0 -2065
  578. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -73
  579. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  580. data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
  581. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  582. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  583. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  584. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  585. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  586. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  587. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  588. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  589. data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +0 -60
  590. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  591. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  592. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  593. data/lib/stripe/params/quote_mark_draft_params.rb +0 -13
  594. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  595. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  596. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  597. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  598. data/lib/stripe/params/radar/account_evaluation_create_params.rb +0 -81
  599. data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +0 -15
  600. data/lib/stripe/params/radar/account_evaluation_update_params.rb +0 -18
  601. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  602. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -609
  603. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  604. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  605. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  606. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  607. data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +0 -39
  608. data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +0 -39
  609. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  610. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  611. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  612. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  613. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  614. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  615. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -17
  616. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -257
  617. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  618. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  619. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -78
  620. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -223
  621. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  622. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  623. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -229
  624. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  625. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  626. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
  627. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
  628. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
  629. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
  630. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
  631. data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
  632. data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -355
  633. data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
  634. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
  635. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
  636. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
  637. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
  638. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
  639. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
  640. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
  641. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
  642. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
  643. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
  644. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
  645. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
  646. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
  647. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
  648. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
  649. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
  650. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
  651. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
  652. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
  653. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
  654. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
  655. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
  656. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
  657. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
  658. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
  659. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
  660. data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +0 -12
  661. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
  662. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
  663. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
  664. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
  665. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
  666. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
  667. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
  668. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
  669. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  670. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  671. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  672. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  673. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
  674. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
  675. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
  676. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
  677. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
  678. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
  679. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
  680. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
  681. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
  682. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
  683. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
  684. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
  685. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
  686. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
  687. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
  688. data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -278
  689. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
  690. data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
  691. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
  692. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
  693. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  694. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  695. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -50
  696. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  697. data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
  698. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  699. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  700. data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
  701. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -33
  702. data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
  703. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  704. data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
  705. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  706. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  707. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  708. data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +0 -68
  709. data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +0 -20
  710. data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +0 -10
  711. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  712. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  713. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  714. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  715. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
  716. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -31
  717. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  718. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  719. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -62
  720. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  721. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  722. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  723. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -114
  724. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  725. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -79
  726. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  727. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  728. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  729. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -103
  730. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  731. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  732. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -80
  733. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  734. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -93
  735. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  736. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  737. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  738. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  739. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  740. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  741. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  742. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  743. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  744. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  745. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  746. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
  747. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
  748. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
  749. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  750. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  751. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  752. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  753. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  754. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -57
  755. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -161
  756. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  757. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  758. data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +0 -10
  759. data/lib/stripe/params/v2/reporting/report_run_create_params.rb +0 -33
  760. data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +0 -10
  761. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -34
  762. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  763. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
  764. data/lib/stripe/resources/account_notice.rb +0 -94
  765. data/lib/stripe/resources/balance_transfer.rb +0 -139
  766. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  767. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -40
  768. data/lib/stripe/resources/capital/financing_offer.rb +0 -183
  769. data/lib/stripe/resources/capital/financing_summary.rb +0 -79
  770. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  771. data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -426
  772. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  773. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  774. data/lib/stripe/resources/fx_quote.rb +0 -147
  775. data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
  776. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  777. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  778. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  779. data/lib/stripe/resources/issuing/program.rb +0 -69
  780. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  781. data/lib/stripe/resources/margin.rb +0 -64
  782. data/lib/stripe/resources/order.rb +0 -987
  783. data/lib/stripe/resources/payment_method_balance.rb +0 -68
  784. data/lib/stripe/resources/privacy/redaction_job.rb +0 -187
  785. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  786. data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -101
  787. data/lib/stripe/resources/quote_line.rb +0 -527
  788. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1166
  789. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -826
  790. data/lib/stripe/resources/radar/account_evaluation.rb +0 -116
  791. data/lib/stripe/resources/tax/form.rb +0 -264
  792. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  793. data/lib/stripe/resources/transit_balance.rb +0 -45
  794. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  795. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -90
  796. data/lib/stripe/resources/v2/billing/cadence.rb +0 -655
  797. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -274
  798. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -262
  799. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
  800. data/lib/stripe/resources/v2/billing/intent.rb +0 -86
  801. data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
  802. data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
  803. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
  804. data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
  805. data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
  806. data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
  807. data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
  808. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
  809. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
  810. data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +0 -49
  811. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
  812. data/lib/stripe/resources/v2/billing/profile.rb +0 -46
  813. data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
  814. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
  815. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
  816. data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
  817. data/lib/stripe/resources/v2/billing/service_action.rb +0 -274
  818. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
  819. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -114
  820. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -81
  821. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -28
  822. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -44
  823. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -82
  824. data/lib/stripe/resources/v2/money_management/currency_conversion.rb +0 -94
  825. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -188
  826. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -132
  827. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -197
  828. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -263
  829. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -202
  830. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  831. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -242
  832. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -137
  833. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -81
  834. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -278
  835. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -208
  836. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
  837. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -180
  838. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -153
  839. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -186
  840. data/lib/stripe/resources/v2/reporting/report.rb +0 -116
  841. data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
  842. data/lib/stripe/services/account_notice_service.rb +0 -39
  843. data/lib/stripe/services/balance_transfer_service.rb +0 -17
  844. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  845. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  846. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  847. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  848. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  849. data/lib/stripe/services/capital_service.rb +0 -15
  850. data/lib/stripe/services/delegated_checkout/requested_session_service.rb +0 -63
  851. data/lib/stripe/services/delegated_checkout_service.rb +0 -13
  852. data/lib/stripe/services/external_account_service.rb +0 -68
  853. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  854. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  855. data/lib/stripe/services/fx_quote_service.rb +0 -27
  856. data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
  857. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  858. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  859. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  860. data/lib/stripe/services/issuing/program_service.rb +0 -52
  861. data/lib/stripe/services/margin_service.rb +0 -50
  862. data/lib/stripe/services/order_line_item_service.rb +0 -17
  863. data/lib/stripe/services/order_service.rb +0 -78
  864. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  865. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  866. data/lib/stripe/services/privacy_service.rb +0 -13
  867. data/lib/stripe/services/product_catalog/trial_offer_service.rb +0 -19
  868. data/lib/stripe/services/product_catalog_service.rb +0 -13
  869. data/lib/stripe/services/quote_line_service.rb +0 -17
  870. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  871. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  872. data/lib/stripe/services/radar/account_evaluation_service.rb +0 -41
  873. data/lib/stripe/services/tax/form_service.rb +0 -37
  874. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  875. data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +0 -32
  876. data/lib/stripe/services/test_helpers/capital_service.rb +0 -15
  877. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  878. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  879. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  880. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -61
  881. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  882. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
  883. data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
  884. data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
  885. data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
  886. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
  887. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
  888. data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
  889. data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
  890. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
  891. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -51
  892. data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +0 -23
  893. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
  894. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
  895. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  896. data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
  897. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
  898. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
  899. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
  900. data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
  901. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
  902. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
  903. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -101
  904. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  905. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  906. data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +0 -45
  907. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
  908. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  909. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  910. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  911. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  912. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -73
  913. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  914. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -63
  915. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  916. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  917. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  918. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
  919. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  920. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  921. data/lib/stripe/services/v2/money_management_service.rb +0 -35
  922. data/lib/stripe/services/v2/payment_service.rb +0 -15
  923. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  924. data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -38
  925. data/lib/stripe/services/v2/reporting/report_service.rb +0 -23
  926. data/lib/stripe/services/v2/reporting_service.rb +0 -16
  927. data/lib/stripe/services/v2/test_helper_service.rb +0 -16
  928. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
  929. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
@@ -124,81 +124,6 @@ module Stripe
124
124
  end
125
125
  end
126
126
 
127
- class CheckoutItem < ::Stripe::RequestParams
128
- class PricingPlanSubscriptionItem < ::Stripe::RequestParams
129
- class ComponentConfigurations < ::Stripe::RequestParams
130
- class LicenseFeeComponent < ::Stripe::RequestParams
131
- # Attribute for param field quantity
132
- attr_accessor :quantity
133
-
134
- def initialize(quantity: nil)
135
- @quantity = quantity
136
- end
137
- end
138
- # Attribute for param field type
139
- attr_accessor :type
140
- # Attribute for param field license_fee_component
141
- attr_accessor :license_fee_component
142
-
143
- def initialize(type: nil, license_fee_component: nil)
144
- @type = type
145
- @license_fee_component = license_fee_component
146
- end
147
- end
148
- # Attribute for param field pricing_plan
149
- attr_accessor :pricing_plan
150
- # Attribute for param field pricing_plan_version
151
- attr_accessor :pricing_plan_version
152
- # Attribute for param field metadata
153
- attr_accessor :metadata
154
- # Attribute for param field component_configurations
155
- attr_accessor :component_configurations
156
-
157
- def initialize(
158
- pricing_plan: nil,
159
- pricing_plan_version: nil,
160
- metadata: nil,
161
- component_configurations: nil
162
- )
163
- @pricing_plan = pricing_plan
164
- @pricing_plan_version = pricing_plan_version
165
- @metadata = metadata
166
- @component_configurations = component_configurations
167
- end
168
- end
169
-
170
- class RateCardSubscriptionItem < ::Stripe::RequestParams
171
- # Attribute for param field rate_card
172
- attr_accessor :rate_card
173
- # Attribute for param field metadata
174
- attr_accessor :metadata
175
- # Attribute for param field rate_card_version
176
- attr_accessor :rate_card_version
177
-
178
- def initialize(rate_card: nil, metadata: nil, rate_card_version: nil)
179
- @rate_card = rate_card
180
- @metadata = metadata
181
- @rate_card_version = rate_card_version
182
- end
183
- end
184
- # Attribute for param field type
185
- attr_accessor :type
186
- # Attribute for param field rate_card_subscription_item
187
- attr_accessor :rate_card_subscription_item
188
- # Attribute for param field pricing_plan_subscription_item
189
- attr_accessor :pricing_plan_subscription_item
190
-
191
- def initialize(
192
- type: nil,
193
- rate_card_subscription_item: nil,
194
- pricing_plan_subscription_item: nil
195
- )
196
- @type = type
197
- @rate_card_subscription_item = rate_card_subscription_item
198
- @pricing_plan_subscription_item = pricing_plan_subscription_item
199
- end
200
- end
201
-
202
127
  class ConsentCollection < ::Stripe::RequestParams
203
128
  class PaymentMethodReuseAgreement < ::Stripe::RequestParams
204
129
  # Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's
@@ -401,46 +326,13 @@ module Stripe
401
326
  end
402
327
 
403
328
  class Discount < ::Stripe::RequestParams
404
- class CouponData < ::Stripe::RequestParams
405
- # A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed).
406
- attr_accessor :amount_off
407
- # Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed).
408
- attr_accessor :currency
409
- # Specifies how long the discount will be in effect if used on a subscription. Defaults to `once`.
410
- attr_accessor :duration
411
- # 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`.
412
- attr_accessor :metadata
413
- # Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set.
414
- attr_accessor :name
415
- # A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if `amount_off` is not passed).
416
- attr_accessor :percent_off
417
-
418
- def initialize(
419
- amount_off: nil,
420
- currency: nil,
421
- duration: nil,
422
- metadata: nil,
423
- name: nil,
424
- percent_off: nil
425
- )
426
- @amount_off = amount_off
427
- @currency = currency
428
- @duration = duration
429
- @metadata = metadata
430
- @name = name
431
- @percent_off = percent_off
432
- end
433
- end
434
329
  # The ID of the coupon to apply to this Session.
435
330
  attr_accessor :coupon
436
- # Data used to generate a new [Coupon](https://stripe.com/docs/api/coupon) object inline. One of `coupon` or `coupon_data` is required when updating discounts.
437
- attr_accessor :coupon_data
438
331
  # The ID of a promotion code to apply to this Session.
439
332
  attr_accessor :promotion_code
440
333
 
441
- def initialize(coupon: nil, coupon_data: nil, promotion_code: nil)
334
+ def initialize(coupon: nil, promotion_code: nil)
442
335
  @coupon = coupon
443
- @coupon_data = coupon_data
444
336
  @promotion_code = promotion_code
445
337
  end
446
338
  end
@@ -492,7 +384,7 @@ module Stripe
492
384
  attr_accessor :footer
493
385
  # The connected account that issues the invoice. The invoice is presented with the branding and support information of the specified account.
494
386
  attr_accessor :issuer
495
- # 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`.
387
+ # Set of [key-value pairs](https://docs.stripe.com/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`.
496
388
  attr_accessor :metadata
497
389
  # Default options for invoice PDF rendering for this customer.
498
390
  attr_accessor :rendering_options
@@ -548,11 +440,11 @@ module Stripe
548
440
  attr_accessor :description
549
441
  # A list of up to 8 URLs of images for this product, meant to be displayable to the customer.
550
442
  attr_accessor :images
551
- # 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`.
443
+ # Set of [key-value pairs](https://docs.stripe.com/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`.
552
444
  attr_accessor :metadata
553
445
  # The product's name, meant to be displayable to the customer.
554
446
  attr_accessor :name
555
- # A [tax code](https://stripe.com/docs/tax/tax-categories) ID.
447
+ # A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
556
448
  attr_accessor :tax_code
557
449
  # A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal.
558
450
  attr_accessor :unit_label
@@ -593,7 +485,7 @@ module Stripe
593
485
  attr_accessor :product_data
594
486
  # The recurring components of a price such as `interval` and `interval_count`.
595
487
  attr_accessor :recurring
596
- # Only required if a [default tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
488
+ # Only required if a [default tax behavior](https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)) was not provided in the Stripe Tax settings. Specifies whether the price is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`. Once specified as either `inclusive` or `exclusive`, it cannot be changed.
597
489
  attr_accessor :tax_behavior
598
490
  # A non-negative integer in cents (or local equivalent) representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required.
599
491
  attr_accessor :unit_amount
@@ -620,17 +512,17 @@ module Stripe
620
512
  end
621
513
  # When set, provides configuration for this item’s quantity to be adjusted by the customer during Checkout.
622
514
  attr_accessor :adjustable_quantity
623
- # The [tax rates](https://stripe.com/docs/api/tax_rates) that will be applied to this line item depending on the customer's billing/shipping address. We currently support the following countries: US, GB, AU, and all countries in the EU.
515
+ # The [tax rates](https://docs.stripe.com/api/tax_rates) that will be applied to this line item depending on the customer's billing/shipping address. We currently support the following countries: US, GB, AU, and all countries in the EU.
624
516
  attr_accessor :dynamic_tax_rates
625
- # 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`.
517
+ # Set of [key-value pairs](https://docs.stripe.com/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`.
626
518
  attr_accessor :metadata
627
- # The ID of the [Price](https://stripe.com/docs/api/prices) or [Plan](https://stripe.com/docs/api/plans) object. One of `price` or `price_data` is required.
519
+ # The ID of the [Price](https://docs.stripe.com/api/prices) or [Plan](https://docs.stripe.com/api/plans) object. One of `price` or `price_data` is required.
628
520
  attr_accessor :price
629
- # Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price` or `price_data` is required.
521
+ # Data used to generate a new [Price](https://docs.stripe.com/api/prices) object inline. One of `price` or `price_data` is required.
630
522
  attr_accessor :price_data
631
523
  # The quantity of the line item being purchased. Quantity should not be defined when `recurring.usage_type=metered`.
632
524
  attr_accessor :quantity
633
- # The [tax rates](https://stripe.com/docs/api/tax_rates) which apply to this line item.
525
+ # The [tax rates](https://docs.stripe.com/api/tax_rates) which apply to this line item.
634
526
  attr_accessor :tax_rates
635
527
 
636
528
  def initialize(
@@ -704,7 +596,7 @@ module Stripe
704
596
  end
705
597
  # When set, provides configuration for the customer to adjust the quantity of the line item created when a customer chooses to add this optional item to their order.
706
598
  attr_accessor :adjustable_quantity
707
- # The ID of the [Price](https://stripe.com/docs/api/prices) or [Plan](https://stripe.com/docs/api/plans) object.
599
+ # The ID of the [Price](https://docs.stripe.com/api/prices) or [Plan](https://docs.stripe.com/api/plans) object.
708
600
  attr_accessor :price
709
601
  # The initial quantity of the line item created when a customer chooses to add this optional item to their order.
710
602
  attr_accessor :quantity
@@ -729,7 +621,7 @@ module Stripe
729
621
  attr_accessor :line2
730
622
  # ZIP or postal code.
731
623
  attr_accessor :postal_code
732
- # State, county, province, or region.
624
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
733
625
  attr_accessor :state
734
626
 
735
627
  def initialize(
@@ -782,13 +674,13 @@ module Stripe
782
674
  @destination = destination
783
675
  end
784
676
  end
785
- # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
677
+ # The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
786
678
  attr_accessor :application_fee_amount
787
679
  # Controls when the funds will be captured from the customer's account.
788
680
  attr_accessor :capture_method
789
681
  # An arbitrary string attached to the object. Often useful for displaying to users.
790
682
  attr_accessor :description
791
- # 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`.
683
+ # Set of [key-value pairs](https://docs.stripe.com/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`.
792
684
  attr_accessor :metadata
793
685
  # The Stripe account ID for which these funds are intended. For details,
794
686
  # see the PaymentIntents [use case for connected
@@ -796,7 +688,7 @@ module Stripe
796
688
  attr_accessor :on_behalf_of
797
689
  # Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails).
798
690
  attr_accessor :receipt_email
799
- # Indicates that you intend to [make future payments](https://stripe.com/docs/payments/payment-intents#future-usage) with the payment
691
+ # Indicates that you intend to [make future payments](https://docs.stripe.com/payments/payment-intents#future-usage) with the payment
800
692
  # method collected by this Checkout Session.
801
693
  #
802
694
  # When setting this to `on_session`, Checkout will show a notice to the
@@ -826,9 +718,9 @@ module Stripe
826
718
  # Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.
827
719
  attr_accessor :statement_descriptor_suffix
828
720
  # The parameters used to automatically create a Transfer when the payment succeeds.
829
- # For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts).
721
+ # For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
830
722
  attr_accessor :transfer_data
831
- # A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/connect/separate-charges-and-transfers) for details.
723
+ # A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers) for details.
832
724
  attr_accessor :transfer_group
833
725
 
834
726
  def initialize(
@@ -1122,8 +1014,6 @@ module Stripe
1122
1014
  # Installment options for card payments
1123
1015
  attr_accessor :installments
1124
1016
  # Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
1125
- attr_accessor :request_decremental_authorization
1126
- # Request ability to [capture beyond the standard authorization validity window](/payments/extended-authorization) for this CheckoutSession.
1127
1017
  attr_accessor :request_extended_authorization
1128
1018
  # Request ability to [increment the authorization](/payments/incremental-authorization) for this CheckoutSession.
1129
1019
  attr_accessor :request_incremental_authorization
@@ -1131,7 +1021,7 @@ module Stripe
1131
1021
  attr_accessor :request_multicapture
1132
1022
  # Request ability to [overcapture](/payments/overcapture) for this CheckoutSession.
1133
1023
  attr_accessor :request_overcapture
1134
- # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
1024
+ # We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
1135
1025
  attr_accessor :request_three_d_secure
1136
1026
  # Restrictions to apply to the card payment method. For example, you can block specific card brands.
1137
1027
  attr_accessor :restrictions
@@ -1151,7 +1041,6 @@ module Stripe
1151
1041
  def initialize(
1152
1042
  capture_method: nil,
1153
1043
  installments: nil,
1154
- request_decremental_authorization: nil,
1155
1044
  request_extended_authorization: nil,
1156
1045
  request_incremental_authorization: nil,
1157
1046
  request_multicapture: nil,
@@ -1164,7 +1053,6 @@ module Stripe
1164
1053
  )
1165
1054
  @capture_method = capture_method
1166
1055
  @installments = installments
1167
- @request_decremental_authorization = request_decremental_authorization
1168
1056
  @request_extended_authorization = request_extended_authorization
1169
1057
  @request_incremental_authorization = request_incremental_authorization
1170
1058
  @request_multicapture = request_multicapture
@@ -1576,12 +1464,10 @@ module Stripe
1576
1464
  class Paypal < ::Stripe::RequestParams
1577
1465
  # Controls when the funds will be captured from the customer's account.
1578
1466
  attr_accessor :capture_method
1579
- # [Preferred locale](https://stripe.com/docs/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
1467
+ # [Preferred locale](https://docs.stripe.com/payments/paypal/supported-locales) of the PayPal checkout page that the customer is redirected to.
1580
1468
  attr_accessor :preferred_locale
1581
1469
  # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
1582
1470
  attr_accessor :reference
1583
- # A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
1584
- attr_accessor :reference_id
1585
1471
  # The risk correlation ID for an on-session payment using a saved PayPal payment method.
1586
1472
  attr_accessor :risk_correlation_id
1587
1473
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
@@ -1594,25 +1480,19 @@ module Stripe
1594
1480
  #
1595
1481
  # If you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.
1596
1482
  attr_accessor :setup_future_usage
1597
- # 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.
1598
- attr_accessor :subsellers
1599
1483
 
1600
1484
  def initialize(
1601
1485
  capture_method: nil,
1602
1486
  preferred_locale: nil,
1603
1487
  reference: nil,
1604
- reference_id: nil,
1605
1488
  risk_correlation_id: nil,
1606
- setup_future_usage: nil,
1607
- subsellers: nil
1489
+ setup_future_usage: nil
1608
1490
  )
1609
1491
  @capture_method = capture_method
1610
1492
  @preferred_locale = preferred_locale
1611
1493
  @reference = reference
1612
- @reference_id = reference_id
1613
1494
  @risk_correlation_id = risk_correlation_id
1614
1495
  @setup_future_usage = setup_future_usage
1615
- @subsellers = subsellers
1616
1496
  end
1617
1497
  end
1618
1498
 
@@ -1669,50 +1549,10 @@ module Stripe
1669
1549
  end
1670
1550
 
1671
1551
  class Pix < ::Stripe::RequestParams
1672
- class MandateOptions < ::Stripe::RequestParams
1673
- # Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
1674
- attr_accessor :amount
1675
- # Determines if the amount includes the IOF tax. Defaults to `never`.
1676
- attr_accessor :amount_includes_iof
1677
- # Type of amount. Defaults to `maximum`.
1678
- attr_accessor :amount_type
1679
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
1680
- attr_accessor :currency
1681
- # Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
1682
- attr_accessor :end_date
1683
- # Schedule at which the future payments will be charged. Defaults to `weekly`.
1684
- attr_accessor :payment_schedule
1685
- # Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
1686
- attr_accessor :reference
1687
- # Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
1688
- attr_accessor :start_date
1689
-
1690
- def initialize(
1691
- amount: nil,
1692
- amount_includes_iof: nil,
1693
- amount_type: nil,
1694
- currency: nil,
1695
- end_date: nil,
1696
- payment_schedule: nil,
1697
- reference: nil,
1698
- start_date: nil
1699
- )
1700
- @amount = amount
1701
- @amount_includes_iof = amount_includes_iof
1702
- @amount_type = amount_type
1703
- @currency = currency
1704
- @end_date = end_date
1705
- @payment_schedule = payment_schedule
1706
- @reference = reference
1707
- @start_date = start_date
1708
- end
1709
- end
1710
1552
  # Determines if the amount includes the IOF tax. Defaults to `never`.
1711
1553
  attr_accessor :amount_includes_iof
1712
1554
  # The number of seconds (between 10 and 1209600) after which Pix payment will expire. Defaults to 86400 seconds.
1713
1555
  attr_accessor :expires_after_seconds
1714
- # Additional fields for mandate creation.
1715
- attr_accessor :mandate_options
1716
1556
  # Indicates that you intend to make future payments with this PaymentIntent's payment method.
1717
1557
  #
1718
1558
  # If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
@@ -1725,12 +1565,10 @@ module Stripe
1725
1565
  def initialize(
1726
1566
  amount_includes_iof: nil,
1727
1567
  expires_after_seconds: nil,
1728
- mandate_options: nil,
1729
1568
  setup_future_usage: nil
1730
1569
  )
1731
1570
  @amount_includes_iof = amount_includes_iof
1732
1571
  @expires_after_seconds = expires_after_seconds
1733
- @mandate_options = mandate_options
1734
1572
  @setup_future_usage = setup_future_usage
1735
1573
  end
1736
1574
  end
@@ -2086,37 +1924,6 @@ module Stripe
2086
1924
  end
2087
1925
 
2088
1926
  class Permissions < ::Stripe::RequestParams
2089
- class Update < ::Stripe::RequestParams
2090
- # Determines which entity is allowed to update the line items.
2091
- #
2092
- # Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
2093
- #
2094
- # When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
2095
- attr_accessor :line_items
2096
- # Determines which entity is allowed to update the shipping details.
2097
- #
2098
- # Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
2099
- #
2100
- # When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
2101
- attr_accessor :shipping_details
2102
-
2103
- def initialize(line_items: nil, shipping_details: nil)
2104
- @line_items = line_items
2105
- @shipping_details = shipping_details
2106
- end
2107
- end
2108
- # Permissions for updating the Checkout Session.
2109
- attr_accessor :update
2110
- # Determines which entity is allowed to update the discounts (coupons or promotion codes) that apply to this session.
2111
- #
2112
- # Default is `client_only`. Stripe Checkout client will automatically handle discount updates. If set to `server_only`, only your server is allowed to update discounts.
2113
- attr_accessor :update_discounts
2114
- # Determines which entity is allowed to update the line items.
2115
- #
2116
- # Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
2117
- #
2118
- # When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
2119
- attr_accessor :update_line_items
2120
1927
  # Determines which entity is allowed to update the shipping details.
2121
1928
  #
2122
1929
  # Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
@@ -2124,15 +1931,7 @@ module Stripe
2124
1931
  # When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
2125
1932
  attr_accessor :update_shipping_details
2126
1933
 
2127
- def initialize(
2128
- update: nil,
2129
- update_discounts: nil,
2130
- update_line_items: nil,
2131
- update_shipping_details: nil
2132
- )
2133
- @update = update
2134
- @update_discounts = update_discounts
2135
- @update_line_items = update_line_items
1934
+ def initialize(update_shipping_details: nil)
2136
1935
  @update_shipping_details = update_shipping_details
2137
1936
  end
2138
1937
  end
@@ -2170,7 +1969,7 @@ module Stripe
2170
1969
  class SetupIntentData < ::Stripe::RequestParams
2171
1970
  # An arbitrary string attached to the object. Often useful for displaying to users.
2172
1971
  attr_accessor :description
2173
- # 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`.
1972
+ # Set of [key-value pairs](https://docs.stripe.com/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`.
2174
1973
  attr_accessor :metadata
2175
1974
  # The Stripe account for which the setup is intended.
2176
1975
  attr_accessor :on_behalf_of
@@ -2260,11 +2059,11 @@ module Stripe
2260
2059
  attr_accessor :display_name
2261
2060
  # Describes a fixed amount to charge for shipping. Must be present if type is `fixed_amount`.
2262
2061
  attr_accessor :fixed_amount
2263
- # 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`.
2062
+ # Set of [key-value pairs](https://docs.stripe.com/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`.
2264
2063
  attr_accessor :metadata
2265
2064
  # Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
2266
2065
  attr_accessor :tax_behavior
2267
- # A [tax code](https://stripe.com/docs/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.
2066
+ # A [tax code](https://docs.stripe.com/tax/tax-categories) ID. The Shipping tax code is `txcd_92010001`.
2268
2067
  attr_accessor :tax_code
2269
2068
  # The type of calculation to use on the shipping rate.
2270
2069
  attr_accessor :type
@@ -2379,11 +2178,11 @@ module Stripe
2379
2178
  attr_accessor :default_tax_rates
2380
2179
  # The subscription's description, meant to be displayable to the customer.
2381
2180
  # Use this field to optionally store an explanation of the subscription
2382
- # for rendering in the [customer portal](https://stripe.com/docs/customer-management).
2181
+ # for rendering in the [customer portal](https://docs.stripe.com/customer-management).
2383
2182
  attr_accessor :description
2384
2183
  # All invoices will be billed using the specified settings.
2385
2184
  attr_accessor :invoice_settings
2386
- # 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`.
2185
+ # Set of [key-value pairs](https://docs.stripe.com/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`.
2387
2186
  attr_accessor :metadata
2388
2187
  # The account on behalf of which to charge, for each of the subscription's invoices.
2389
2188
  attr_accessor :on_behalf_of
@@ -2485,24 +2284,24 @@ module Stripe
2485
2284
  attr_accessor :custom_text
2486
2285
  # ID of an existing Customer, if one exists. In `payment` mode, the customer’s most recently saved card
2487
2286
  # payment method will be used to prefill the email, name, card details, and billing address
2488
- # on the Checkout page. In `subscription` mode, the customer’s [default payment method](https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method)
2287
+ # on the Checkout page. In `subscription` mode, the customer’s [default payment method](https://docs.stripe.com/api/customers/update#update_customer-invoice_settings-default_payment_method)
2489
2288
  # will be used if it’s a card, otherwise the most recently saved card will be used. A valid billing address, billing name and billing email are required on the payment method for Checkout to prefill the customer's card details.
2490
2289
  #
2491
- # If the Customer already has a valid [email](https://stripe.com/docs/api/customers/object#customer_object-email) set, the email will be prefilled and not editable in Checkout.
2290
+ # If the Customer already has a valid [email](https://docs.stripe.com/api/customers/object#customer_object-email) set, the email will be prefilled and not editable in Checkout.
2492
2291
  # If the Customer does not have a valid `email`, Checkout will set the email entered during the session on the Customer.
2493
2292
  #
2494
2293
  # If blank for Checkout Sessions in `subscription` mode or with `customer_creation` set as `always` in `payment` mode, Checkout will create a new Customer object based on information provided during the payment flow.
2495
2294
  #
2496
- # You can set [`payment_intent_data.setup_future_usage`](https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage) to have Checkout automatically attach the payment method to the Customer you pass in for future reuse.
2295
+ # You can set [`payment_intent_data.setup_future_usage`](https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_intent_data-setup_future_usage) to have Checkout automatically attach the payment method to the Customer you pass in for future reuse.
2497
2296
  attr_accessor :customer
2498
2297
  # ID of an existing Account, if one exists. Has the same behavior as `customer`.
2499
2298
  attr_accessor :customer_account
2500
- # Configure whether a Checkout Session creates a [Customer](https://stripe.com/docs/api/customers) during Session confirmation.
2299
+ # Configure whether a Checkout Session creates a [Customer](https://docs.stripe.com/api/customers) during Session confirmation.
2501
2300
  #
2502
2301
  # When a Customer is not created, you can still retrieve email, address, and other customer data entered in Checkout
2503
- # with [customer_details](https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-customer_details).
2302
+ # with [customer_details](https://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-customer_details).
2504
2303
  #
2505
- # Sessions that don't create Customers instead are grouped by [guest customers](https://stripe.com/docs/payments/checkout/guest-customers)
2304
+ # Sessions that don't create Customers instead are grouped by [guest customers](https://docs.stripe.com/payments/checkout/guest-customers)
2506
2305
  # in the Dashboard. Promotion codes limited to first time customers will return invalid for these Sessions.
2507
2306
  #
2508
2307
  # Can only be set in `payment` and `setup` mode.
@@ -2525,7 +2324,7 @@ module Stripe
2525
2324
  attr_accessor :expires_at
2526
2325
  # Generate a post-purchase Invoice for one-time payments.
2527
2326
  attr_accessor :invoice_creation
2528
- # A list of items the customer is purchasing. Use this parameter to pass one-time or recurring [Prices](https://stripe.com/docs/api/prices). The parameter is required for `payment` and `subscription` mode.
2327
+ # A list of items the customer is purchasing. Use this parameter to pass one-time or recurring [Prices](https://docs.stripe.com/api/prices). The parameter is required for `payment` and `subscription` mode.
2529
2328
  #
2530
2329
  # For `payment` mode, there is a maximum of 100 line items, however it is recommended to consolidate line items if there are more than a few dozen.
2531
2330
  #
@@ -2533,7 +2332,7 @@ module Stripe
2533
2332
  attr_accessor :line_items
2534
2333
  # The IETF language tag of the locale Checkout is displayed in. If blank or `auto`, the browser's locale is used.
2535
2334
  attr_accessor :locale
2536
- # 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`.
2335
+ # Set of [key-value pairs](https://docs.stripe.com/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`.
2537
2336
  attr_accessor :metadata
2538
2337
  # The mode of the Checkout Session. Pass `subscription` if the Checkout Session includes at least one recurring item.
2539
2338
  attr_accessor :mode
@@ -2541,9 +2340,9 @@ module Stripe
2541
2340
  #
2542
2341
  # You can configure Checkout to collect your customers' business names, individual names, or both. Each name field can be either required or optional.
2543
2342
  #
2544
- # If a [Customer](https://stripe.com/docs/api/customers) is created or provided, the names can be saved to the Customer object as well.
2343
+ # If a [Customer](https://docs.stripe.com/api/customers) is created or provided, the names can be saved to the Customer object as well.
2545
2344
  attr_accessor :name_collection
2546
- # A list of optional items the customer can add to their order at checkout. Use this parameter to pass one-time or recurring [Prices](https://stripe.com/docs/api/prices).
2345
+ # A list of optional items the customer can add to their order at checkout. Use this parameter to pass one-time or recurring [Prices](https://docs.stripe.com/api/prices).
2547
2346
  #
2548
2347
  # There is a maximum of 10 optional items allowed on a Checkout Session, and the existing limits on the number of line items allowed on a Checkout Session apply to the combined number of line items and optional items.
2549
2348
  #
@@ -2560,7 +2359,7 @@ module Stripe
2560
2359
  #
2561
2360
  # Can only be set in `subscription` mode. Defaults to `always`.
2562
2361
  #
2563
- # If you'd like information on how to collect a payment method outside of Checkout, read the guide on configuring [subscriptions with a free trial](https://stripe.com/docs/payments/checkout/free-trials).
2362
+ # If you'd like information on how to collect a payment method outside of Checkout, read the guide on configuring [subscriptions with a free trial](https://docs.stripe.com/payments/checkout/free-trials).
2564
2363
  attr_accessor :payment_method_collection
2565
2364
  # The ID of the payment method configuration to use with this Checkout session.
2566
2365
  attr_accessor :payment_method_configuration
@@ -2571,7 +2370,7 @@ module Stripe
2571
2370
  # A list of the types of payment methods (e.g., `card`) this Checkout Session can accept.
2572
2371
  #
2573
2372
  # You can omit this attribute to manage your payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods).
2574
- # See [Dynamic Payment Methods](https://stripe.com/docs/payments/payment-methods/integration-options#using-dynamic-payment-methods) for more details.
2373
+ # See [Dynamic Payment Methods](https://docs.stripe.com/payments/payment-methods/integration-options#using-dynamic-payment-methods) for more details.
2575
2374
  #
2576
2375
  # Read more about the supported payment methods and their requirements in our [payment
2577
2376
  # method details guide](/docs/payments/checkout/payment-methods).
@@ -2587,9 +2386,9 @@ module Stripe
2587
2386
  # Controls phone number collection settings for the session.
2588
2387
  #
2589
2388
  # We recommend that you review your privacy policy and check with your legal contacts
2590
- # before using this feature. Learn more about [collecting phone numbers with Checkout](https://stripe.com/docs/payments/checkout/phone-numbers).
2389
+ # before using this feature. Learn more about [collecting phone numbers with Checkout](https://docs.stripe.com/payments/checkout/phone-numbers).
2591
2390
  attr_accessor :phone_number_collection
2592
- # This parameter applies to `ui_mode: embedded`. Learn more about the [redirect behavior](https://stripe.com/docs/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.
2391
+ # This parameter applies to `ui_mode: embedded`. Learn more about the [redirect behavior](https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.
2593
2392
  attr_accessor :redirect_on_completion
2594
2393
  # The URL to redirect your customer back to after they authenticate or cancel their payment on the
2595
2394
  # payment method's app or site. This parameter is required if `ui_mode` is `embedded` or `custom`
@@ -2614,7 +2413,7 @@ module Stripe
2614
2413
  # is complete.
2615
2414
  # This parameter is not allowed if ui_mode is `embedded` or `custom`. If you'd like to use
2616
2415
  # information from the successful Checkout Session on your page, read the
2617
- # guide on [customizing your success page](https://stripe.com/docs/payments/checkout/custom-success-page).
2416
+ # guide on [customizing your success page](https://docs.stripe.com/payments/checkout/custom-success-page).
2618
2417
  attr_accessor :success_url
2619
2418
  # Controls tax ID collection during checkout.
2620
2419
  attr_accessor :tax_id_collection
@@ -2622,8 +2421,6 @@ module Stripe
2622
2421
  attr_accessor :ui_mode
2623
2422
  # Wallet-specific configuration.
2624
2423
  attr_accessor :wallet_options
2625
- # Attribute for param field checkout_items
2626
- attr_accessor :checkout_items
2627
2424
 
2628
2425
  def initialize(
2629
2426
  adaptive_pricing: nil,
@@ -2674,8 +2471,7 @@ module Stripe
2674
2471
  success_url: nil,
2675
2472
  tax_id_collection: nil,
2676
2473
  ui_mode: nil,
2677
- wallet_options: nil,
2678
- checkout_items: nil
2474
+ wallet_options: nil
2679
2475
  )
2680
2476
  @adaptive_pricing = adaptive_pricing
2681
2477
  @after_expiration = after_expiration
@@ -2726,7 +2522,6 @@ module Stripe
2726
2522
  @tax_id_collection = tax_id_collection
2727
2523
  @ui_mode = ui_mode
2728
2524
  @wallet_options = wallet_options
2729
- @checkout_items = checkout_items
2730
2525
  end
2731
2526
  end
2732
2527
  end