stripe 15.6.0.pre.beta.1 → 16.0.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 (1097) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +5 -34
  3. data/lib/stripe/api_resource.rb +3 -0
  4. data/lib/stripe/api_version.rb +2 -1
  5. data/lib/stripe/errors.rb +0 -60
  6. data/lib/stripe/event_types.rb +20 -108
  7. data/lib/stripe/events/unknown_event_notification.rb +19 -0
  8. data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +115 -15
  9. data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +93 -6
  10. data/lib/stripe/events/v2_core_event_destination_ping_event.rb +35 -12
  11. data/lib/stripe/object_types.rb +2 -54
  12. data/lib/stripe/params/account_capability_list_params.rb +13 -0
  13. data/lib/stripe/params/account_capability_retrieve_params.rb +13 -0
  14. data/lib/stripe/params/account_capability_update_params.rb +18 -0
  15. data/lib/stripe/params/account_create_params.rb +2083 -0
  16. data/lib/stripe/params/account_delete_params.rb +6 -0
  17. data/lib/stripe/params/account_external_account_create_params.rb +134 -0
  18. data/lib/stripe/params/account_external_account_delete_params.rb +6 -0
  19. data/lib/stripe/params/account_external_account_list_params.rb +25 -0
  20. data/lib/stripe/params/account_external_account_retrieve_params.rb +13 -0
  21. data/lib/stripe/params/account_external_account_update_params.rb +91 -0
  22. data/lib/stripe/params/account_link_create_params.rb +52 -0
  23. data/lib/stripe/params/account_list_params.rb +42 -0
  24. data/lib/stripe/params/account_login_link_create_params.rb +13 -0
  25. data/lib/stripe/params/account_person_create_params.rb +435 -0
  26. data/lib/stripe/params/account_person_delete_params.rb +6 -0
  27. data/lib/stripe/params/account_person_list_params.rb +61 -0
  28. data/lib/stripe/params/account_person_retrieve_params.rb +13 -0
  29. data/lib/stripe/params/account_person_update_params.rb +435 -0
  30. data/lib/stripe/params/account_persons_params.rb +61 -0
  31. data/lib/stripe/params/account_reject_params.rb +16 -0
  32. data/lib/stripe/params/account_retrieve_current_params.rb +13 -0
  33. data/lib/stripe/params/account_retrieve_params.rb +13 -0
  34. data/lib/stripe/params/account_session_create_params.rb +598 -0
  35. data/lib/stripe/params/account_update_params.rb +2030 -0
  36. data/lib/stripe/params/apple_pay_domain_create_params.rb +16 -0
  37. data/lib/stripe/params/apple_pay_domain_delete_params.rb +6 -0
  38. data/lib/stripe/params/apple_pay_domain_list_params.rb +31 -0
  39. data/lib/stripe/params/apple_pay_domain_retrieve_params.rb +13 -0
  40. data/lib/stripe/params/application_fee_list_params.rb +52 -0
  41. data/lib/stripe/params/application_fee_refund_create_params.rb +19 -0
  42. data/lib/stripe/params/application_fee_refund_list_params.rb +22 -0
  43. data/lib/stripe/params/application_fee_refund_retrieve_params.rb +13 -0
  44. data/lib/stripe/params/application_fee_refund_update_params.rb +16 -0
  45. data/lib/stripe/params/application_fee_retrieve_params.rb +13 -0
  46. data/lib/stripe/params/apps/secret_create_params.rb +38 -0
  47. data/lib/stripe/params/apps/secret_delete_where_params.rb +32 -0
  48. data/lib/stripe/params/apps/secret_find_params.rb +32 -0
  49. data/lib/stripe/{services/quote_line_service.rb → params/apps/secret_list_params.rb} +17 -14
  50. data/lib/stripe/params/balance_retrieve_params.rb +13 -0
  51. data/lib/stripe/params/balance_settings_retrieve_params.rb +13 -0
  52. data/lib/stripe/params/balance_settings_update_params.rb +67 -0
  53. data/lib/stripe/params/balance_transaction_list_params.rb +64 -0
  54. data/lib/stripe/params/balance_transaction_retrieve_params.rb +13 -0
  55. data/lib/stripe/params/billing/alert_activate_params.rb +15 -0
  56. data/lib/stripe/params/billing/alert_archive_params.rb +15 -0
  57. data/lib/stripe/params/billing/alert_create_params.rb +52 -0
  58. data/lib/stripe/params/billing/alert_deactivate_params.rb +15 -0
  59. data/lib/stripe/params/billing/alert_list_params.rb +37 -0
  60. data/lib/stripe/params/billing/alert_retrieve_params.rb +15 -0
  61. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +54 -0
  62. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +37 -0
  63. data/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +15 -0
  64. data/lib/stripe/params/billing/credit_grant_create_params.rb +103 -0
  65. data/lib/stripe/params/billing/credit_grant_expire_params.rb +15 -0
  66. data/lib/stripe/params/billing/credit_grant_list_params.rb +33 -0
  67. data/lib/stripe/params/billing/credit_grant_retrieve_params.rb +15 -0
  68. data/lib/stripe/params/billing/credit_grant_update_params.rb +21 -0
  69. data/lib/stripe/params/billing/credit_grant_void_grant_params.rb +15 -0
  70. data/lib/stripe/params/billing/meter_create_params.rb +70 -0
  71. data/lib/stripe/params/billing/meter_deactivate_params.rb +15 -0
  72. data/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +32 -0
  73. data/lib/stripe/params/billing/meter_event_create_params.rb +27 -0
  74. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +45 -0
  75. data/lib/stripe/params/billing/meter_list_params.rb +27 -0
  76. data/lib/stripe/params/billing/meter_reactivate_params.rb +15 -0
  77. data/lib/stripe/params/billing/meter_retrieve_params.rb +15 -0
  78. data/lib/stripe/params/billing/meter_update_params.rb +18 -0
  79. data/lib/stripe/params/billing_portal/configuration_create_params.rb +225 -0
  80. data/lib/stripe/params/billing_portal/configuration_list_params.rb +37 -0
  81. data/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +15 -0
  82. data/lib/stripe/params/billing_portal/configuration_update_params.rb +231 -0
  83. data/lib/stripe/params/billing_portal/session_create_params.rb +179 -0
  84. data/lib/stripe/params/charge_capture_params.rb +57 -0
  85. data/lib/stripe/params/charge_create_params.rb +172 -0
  86. data/lib/stripe/params/charge_list_params.rb +60 -0
  87. data/lib/stripe/params/charge_retrieve_params.rb +13 -0
  88. data/lib/stripe/params/charge_search_params.rb +22 -0
  89. data/lib/stripe/params/charge_update_params.rb +102 -0
  90. data/lib/stripe/params/checkout/session_create_params.rb +2445 -0
  91. data/lib/stripe/params/checkout/session_expire_params.rb +15 -0
  92. data/lib/stripe/{services/quote_preview_subscription_schedule_service.rb → params/checkout/session_line_item_list_params.rb} +2 -13
  93. data/lib/stripe/{services/order_line_item_service.rb → params/checkout/session_list_line_items_params.rb} +2 -13
  94. data/lib/stripe/params/checkout/session_list_params.rb +83 -0
  95. data/lib/stripe/params/checkout/session_retrieve_params.rb +15 -0
  96. data/lib/stripe/params/checkout/session_update_params.rb +179 -0
  97. data/lib/stripe/params/climate/order_cancel_params.rb +15 -0
  98. data/lib/stripe/params/climate/order_create_params.rb +49 -0
  99. data/lib/stripe/params/climate/order_list_params.rb +24 -0
  100. data/lib/stripe/params/climate/order_retrieve_params.rb +15 -0
  101. data/lib/stripe/params/climate/order_update_params.rb +29 -0
  102. data/lib/stripe/params/climate/product_list_params.rb +24 -0
  103. data/lib/stripe/params/climate/product_retrieve_params.rb +15 -0
  104. data/lib/stripe/params/climate/supplier_list_params.rb +24 -0
  105. data/lib/stripe/params/climate/supplier_retrieve_params.rb +15 -0
  106. data/lib/stripe/params/confirmation_token_create_params.rb +650 -0
  107. data/lib/stripe/params/confirmation_token_retrieve_params.rb +13 -0
  108. data/lib/stripe/params/country_spec_list_params.rb +22 -0
  109. data/lib/stripe/params/country_spec_retrieve_params.rb +13 -0
  110. data/lib/stripe/params/coupon_create_params.rb +80 -0
  111. data/lib/stripe/params/coupon_delete_params.rb +6 -0
  112. data/lib/stripe/params/coupon_list_params.rb +42 -0
  113. data/lib/stripe/params/coupon_retrieve_params.rb +13 -0
  114. data/lib/stripe/params/coupon_update_params.rb +30 -0
  115. data/lib/stripe/params/credit_note_create_params.rb +144 -0
  116. data/lib/stripe/params/credit_note_line_item_list_params.rb +22 -0
  117. data/lib/stripe/params/credit_note_list_params.rb +56 -0
  118. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +156 -0
  119. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +156 -0
  120. data/lib/stripe/params/credit_note_preview_params.rb +144 -0
  121. data/lib/stripe/params/credit_note_retrieve_params.rb +13 -0
  122. data/lib/stripe/params/credit_note_update_params.rb +19 -0
  123. data/lib/stripe/params/credit_note_void_credit_note_params.rb +13 -0
  124. data/lib/stripe/params/customer_balance_transaction_create_params.rb +25 -0
  125. data/lib/stripe/params/customer_balance_transaction_list_params.rb +22 -0
  126. data/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +13 -0
  127. data/lib/stripe/params/customer_balance_transaction_update_params.rb +19 -0
  128. data/lib/stripe/params/customer_cash_balance_retrieve_params.rb +13 -0
  129. data/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +22 -0
  130. data/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +13 -0
  131. data/lib/stripe/params/customer_cash_balance_update_params.rb +24 -0
  132. data/lib/stripe/params/customer_create_funding_instructions_params.rb +46 -0
  133. data/lib/stripe/params/customer_create_params.rb +259 -0
  134. data/lib/stripe/params/customer_delete_discount_params.rb +6 -0
  135. data/lib/stripe/params/customer_delete_params.rb +6 -0
  136. data/lib/stripe/params/customer_fund_cash_balance_params.rb +22 -0
  137. data/lib/stripe/params/customer_funding_instructions_create_params.rb +46 -0
  138. data/lib/stripe/params/customer_list_params.rb +56 -0
  139. data/lib/stripe/params/customer_list_payment_methods_params.rb +35 -0
  140. data/lib/stripe/params/customer_payment_method_list_params.rb +35 -0
  141. data/lib/stripe/params/customer_payment_method_retrieve_params.rb +13 -0
  142. data/lib/stripe/params/customer_payment_source_create_params.rb +22 -0
  143. data/lib/stripe/params/customer_payment_source_delete_params.rb +13 -0
  144. data/lib/stripe/params/customer_payment_source_list_params.rb +25 -0
  145. data/lib/stripe/params/customer_payment_source_retrieve_params.rb +13 -0
  146. data/lib/stripe/params/customer_payment_source_update_params.rb +114 -0
  147. data/lib/stripe/params/customer_payment_source_verify_params.rb +16 -0
  148. data/lib/stripe/params/customer_retrieve_params.rb +13 -0
  149. data/lib/stripe/params/customer_retrieve_payment_method_params.rb +13 -0
  150. data/lib/stripe/params/customer_search_params.rb +22 -0
  151. data/lib/stripe/params/customer_session_create_params.rb +100 -0
  152. data/lib/stripe/params/customer_tax_id_create_params.rb +19 -0
  153. data/lib/stripe/params/customer_tax_id_delete_params.rb +6 -0
  154. data/lib/stripe/params/customer_tax_id_list_params.rb +22 -0
  155. data/lib/stripe/params/customer_tax_id_retrieve_params.rb +13 -0
  156. data/lib/stripe/params/customer_update_params.rb +243 -0
  157. data/lib/stripe/params/dispute_close_params.rb +13 -0
  158. data/lib/stripe/params/dispute_list_params.rb +56 -0
  159. data/lib/stripe/params/dispute_retrieve_params.rb +13 -0
  160. data/lib/stripe/params/dispute_update_params.rb +308 -0
  161. data/lib/stripe/params/entitlements/active_entitlement_list_params.rb +33 -0
  162. data/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +15 -0
  163. data/lib/stripe/params/entitlements/feature_create_params.rb +24 -0
  164. data/lib/stripe/params/entitlements/feature_list_params.rb +37 -0
  165. data/lib/stripe/params/entitlements/feature_retrieve_params.rb +15 -0
  166. data/lib/stripe/params/entitlements/feature_update_params.rb +24 -0
  167. data/lib/stripe/params/ephemeral_key_create_params.rb +31 -0
  168. data/lib/stripe/params/ephemeral_key_delete_params.rb +13 -0
  169. data/lib/stripe/params/event_list_params.rb +60 -0
  170. data/lib/stripe/params/event_retrieve_params.rb +13 -0
  171. data/lib/stripe/params/exchange_rate_list_params.rb +22 -0
  172. data/lib/stripe/params/exchange_rate_retrieve_params.rb +13 -0
  173. data/lib/stripe/params/file_create_params.rb +36 -0
  174. data/lib/stripe/params/file_link_create_params.rb +22 -0
  175. data/lib/stripe/params/file_link_list_params.rb +56 -0
  176. data/lib/stripe/params/file_link_retrieve_params.rb +13 -0
  177. data/lib/stripe/params/file_link_update_params.rb +19 -0
  178. data/lib/stripe/params/file_list_params.rb +52 -0
  179. data/lib/stripe/params/file_retrieve_params.rb +13 -0
  180. data/lib/stripe/params/financial_connections/account_disconnect_params.rb +15 -0
  181. data/lib/stripe/params/financial_connections/account_list_owners_params.rb +33 -0
  182. data/lib/stripe/params/financial_connections/account_list_params.rb +48 -0
  183. data/lib/stripe/params/financial_connections/account_owner_list_params.rb +33 -0
  184. data/lib/stripe/params/financial_connections/account_refresh_account_params.rb +18 -0
  185. data/lib/stripe/params/financial_connections/account_refresh_params.rb +18 -0
  186. data/lib/stripe/params/financial_connections/account_retrieve_params.rb +15 -0
  187. data/lib/stripe/params/financial_connections/account_subscribe_params.rb +18 -0
  188. data/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +18 -0
  189. data/lib/stripe/params/financial_connections/session_create_params.rb +65 -0
  190. data/lib/stripe/params/financial_connections/session_retrieve_params.rb +15 -0
  191. data/lib/stripe/params/financial_connections/transaction_list_params.rb +67 -0
  192. data/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +15 -0
  193. data/lib/stripe/params/forwarding/request_create_params.rb +59 -0
  194. data/lib/stripe/params/forwarding/request_list_params.rb +44 -0
  195. data/lib/stripe/params/forwarding/request_retrieve_params.rb +15 -0
  196. data/lib/stripe/params/identity/verification_report_list_params.rb +62 -0
  197. data/lib/stripe/params/identity/verification_report_retrieve_params.rb +15 -0
  198. data/lib/stripe/params/identity/verification_session_cancel_params.rb +15 -0
  199. data/lib/stripe/params/identity/verification_session_create_params.rb +107 -0
  200. data/lib/stripe/params/identity/verification_session_list_params.rb +62 -0
  201. data/lib/stripe/params/identity/verification_session_redact_params.rb +15 -0
  202. data/lib/stripe/params/identity/verification_session_retrieve_params.rb +15 -0
  203. data/lib/stripe/params/identity/verification_session_update_params.rb +69 -0
  204. data/lib/stripe/params/invoice_add_lines_params.rb +231 -0
  205. data/lib/stripe/params/invoice_attach_payment_params.rb +16 -0
  206. data/lib/stripe/params/invoice_create_params.rb +589 -0
  207. data/lib/stripe/params/invoice_create_preview_params.rb +993 -0
  208. data/lib/stripe/params/invoice_delete_params.rb +6 -0
  209. data/lib/stripe/params/invoice_finalize_invoice_params.rb +16 -0
  210. data/lib/stripe/params/invoice_item_create_params.rb +145 -0
  211. data/lib/stripe/params/invoice_item_delete_params.rb +6 -0
  212. data/lib/stripe/params/invoice_item_list_params.rb +60 -0
  213. data/lib/stripe/params/invoice_item_retrieve_params.rb +13 -0
  214. data/lib/stripe/params/invoice_item_update_params.rb +129 -0
  215. data/lib/stripe/params/invoice_line_item_list_params.rb +22 -0
  216. data/lib/stripe/params/invoice_line_item_update_params.rb +217 -0
  217. data/lib/stripe/params/invoice_list_params.rb +86 -0
  218. data/lib/stripe/params/invoice_mark_uncollectible_params.rb +13 -0
  219. data/lib/stripe/params/invoice_pay_params.rb +41 -0
  220. data/lib/stripe/params/invoice_payment_list_params.rb +50 -0
  221. data/lib/stripe/params/invoice_payment_retrieve_params.rb +13 -0
  222. data/lib/stripe/params/invoice_remove_lines_params.rb +30 -0
  223. data/lib/stripe/params/invoice_rendering_template_archive_params.rb +13 -0
  224. data/lib/stripe/params/invoice_rendering_template_list_params.rb +25 -0
  225. data/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +16 -0
  226. data/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +13 -0
  227. data/lib/stripe/params/invoice_retrieve_params.rb +13 -0
  228. data/lib/stripe/params/invoice_search_params.rb +22 -0
  229. data/lib/stripe/params/invoice_send_invoice_params.rb +13 -0
  230. data/lib/stripe/params/invoice_update_lines_params.rb +231 -0
  231. data/lib/stripe/params/invoice_update_params.rb +557 -0
  232. data/lib/stripe/params/invoice_void_invoice_params.rb +13 -0
  233. data/lib/stripe/params/issuing/authorization_approve_params.rb +21 -0
  234. data/lib/stripe/params/issuing/authorization_capture_params.rb +265 -0
  235. data/lib/stripe/params/issuing/authorization_create_params.rb +357 -0
  236. data/lib/stripe/params/issuing/authorization_decline_params.rb +18 -0
  237. data/lib/stripe/params/issuing/authorization_expire_params.rb +15 -0
  238. data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +143 -0
  239. data/lib/stripe/params/issuing/authorization_increment_params.rb +21 -0
  240. data/lib/stripe/params/issuing/authorization_list_params.rb +62 -0
  241. data/lib/stripe/params/issuing/authorization_respond_params.rb +18 -0
  242. data/lib/stripe/params/issuing/authorization_retrieve_params.rb +15 -0
  243. data/lib/stripe/params/issuing/authorization_reverse_params.rb +18 -0
  244. data/lib/stripe/params/issuing/authorization_update_params.rb +18 -0
  245. data/lib/stripe/params/issuing/card_create_params.rb +213 -0
  246. data/lib/stripe/params/issuing/card_deliver_card_params.rb +15 -0
  247. data/lib/stripe/params/issuing/card_fail_card_params.rb +15 -0
  248. data/lib/stripe/params/issuing/card_list_params.rb +78 -0
  249. data/lib/stripe/params/issuing/card_retrieve_params.rb +15 -0
  250. data/lib/stripe/params/issuing/card_return_card_params.rb +15 -0
  251. data/lib/stripe/params/issuing/card_ship_card_params.rb +15 -0
  252. data/lib/stripe/params/issuing/card_submit_card_params.rb +15 -0
  253. data/lib/stripe/params/issuing/card_update_params.rb +181 -0
  254. data/lib/stripe/params/issuing/cardholder_create_params.rb +238 -0
  255. data/lib/stripe/params/issuing/cardholder_list_params.rb +66 -0
  256. data/lib/stripe/params/issuing/cardholder_retrieve_params.rb +15 -0
  257. data/lib/stripe/params/issuing/cardholder_update_params.rb +230 -0
  258. data/lib/stripe/params/issuing/dispute_create_params.rb +297 -0
  259. data/lib/stripe/params/issuing/dispute_list_params.rb +58 -0
  260. data/lib/stripe/params/issuing/dispute_retrieve_params.rb +15 -0
  261. data/lib/stripe/params/issuing/dispute_submit_params.rb +18 -0
  262. data/lib/stripe/params/issuing/dispute_update_params.rb +275 -0
  263. data/lib/stripe/params/issuing/personalization_design_activate_params.rb +15 -0
  264. data/lib/stripe/params/issuing/personalization_design_create_params.rb +75 -0
  265. data/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +15 -0
  266. data/lib/stripe/params/issuing/personalization_design_list_params.rb +52 -0
  267. data/lib/stripe/params/issuing/personalization_design_reject_params.rb +29 -0
  268. data/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +15 -0
  269. data/lib/stripe/params/issuing/personalization_design_update_params.rb +75 -0
  270. data/lib/stripe/params/issuing/physical_bundle_list_params.rb +37 -0
  271. data/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +15 -0
  272. data/lib/stripe/params/issuing/token_list_params.rb +58 -0
  273. data/lib/stripe/params/issuing/token_retrieve_params.rb +15 -0
  274. data/lib/stripe/params/issuing/token_update_params.rb +18 -0
  275. data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +316 -0
  276. data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +316 -0
  277. data/lib/stripe/params/issuing/transaction_list_params.rb +62 -0
  278. data/lib/stripe/params/issuing/transaction_refund_params.rb +18 -0
  279. data/lib/stripe/params/issuing/transaction_retrieve_params.rb +15 -0
  280. data/lib/stripe/params/issuing/transaction_update_params.rb +18 -0
  281. data/lib/stripe/params/mandate_retrieve_params.rb +13 -0
  282. data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +23 -0
  283. data/lib/stripe/params/payment_intent_cancel_params.rb +16 -0
  284. data/lib/stripe/params/payment_intent_capture_params.rb +54 -0
  285. data/lib/stripe/params/payment_intent_confirm_params.rb +2379 -0
  286. data/lib/stripe/params/payment_intent_create_params.rb +2480 -0
  287. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +48 -0
  288. data/lib/stripe/params/payment_intent_list_params.rb +52 -0
  289. data/lib/stripe/params/payment_intent_retrieve_params.rb +16 -0
  290. data/lib/stripe/params/payment_intent_search_params.rb +22 -0
  291. data/lib/stripe/params/payment_intent_update_params.rb +2353 -0
  292. data/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +19 -0
  293. data/lib/stripe/params/payment_link_create_params.rb +776 -0
  294. data/lib/stripe/params/payment_link_line_item_list_params.rb +22 -0
  295. data/lib/stripe/params/payment_link_list_line_items_params.rb +22 -0
  296. data/lib/stripe/params/payment_link_list_params.rb +25 -0
  297. data/lib/stripe/params/payment_link_retrieve_params.rb +13 -0
  298. data/lib/stripe/params/payment_link_update_params.rb +564 -0
  299. data/lib/stripe/params/payment_method_attach_params.rb +16 -0
  300. data/lib/stripe/params/payment_method_configuration_create_params.rb +1135 -0
  301. data/lib/stripe/params/payment_method_configuration_list_params.rb +31 -0
  302. data/lib/stripe/params/payment_method_configuration_retrieve_params.rb +13 -0
  303. data/lib/stripe/params/payment_method_configuration_update_params.rb +1135 -0
  304. data/lib/stripe/params/payment_method_create_params.rb +583 -0
  305. data/lib/stripe/params/payment_method_detach_params.rb +13 -0
  306. data/lib/stripe/params/payment_method_domain_create_params.rb +19 -0
  307. data/lib/stripe/params/payment_method_domain_list_params.rb +35 -0
  308. data/lib/stripe/params/payment_method_domain_retrieve_params.rb +13 -0
  309. data/lib/stripe/params/payment_method_domain_update_params.rb +16 -0
  310. data/lib/stripe/params/payment_method_domain_validate_params.rb +13 -0
  311. data/lib/stripe/params/payment_method_list_params.rb +35 -0
  312. data/lib/stripe/params/payment_method_retrieve_params.rb +13 -0
  313. data/lib/stripe/params/payment_method_update_params.rb +120 -0
  314. data/lib/stripe/params/payout_cancel_params.rb +13 -0
  315. data/lib/stripe/params/payout_create_params.rb +51 -0
  316. data/lib/stripe/params/payout_list_params.rb +78 -0
  317. data/lib/stripe/params/payout_retrieve_params.rb +13 -0
  318. data/lib/stripe/params/payout_reverse_params.rb +16 -0
  319. data/lib/stripe/params/payout_update_params.rb +16 -0
  320. data/lib/stripe/params/plan_create_params.rb +158 -0
  321. data/lib/stripe/params/plan_delete_params.rb +6 -0
  322. data/lib/stripe/params/plan_list_params.rb +56 -0
  323. data/lib/stripe/params/plan_retrieve_params.rb +13 -0
  324. data/lib/stripe/params/plan_update_params.rb +35 -0
  325. data/lib/stripe/params/price_create_params.rb +278 -0
  326. data/lib/stripe/params/price_list_params.rb +87 -0
  327. data/lib/stripe/params/price_retrieve_params.rb +13 -0
  328. data/lib/stripe/params/price_search_params.rb +22 -0
  329. data/lib/stripe/params/price_update_params.rb +113 -0
  330. data/lib/stripe/params/product_create_params.rb +243 -0
  331. data/lib/stripe/params/product_delete_params.rb +6 -0
  332. data/lib/stripe/params/product_feature_create_params.rb +16 -0
  333. data/lib/stripe/params/product_feature_delete_params.rb +6 -0
  334. data/lib/stripe/params/product_feature_list_params.rb +22 -0
  335. data/lib/stripe/params/product_feature_retrieve_params.rb +13 -0
  336. data/lib/stripe/params/product_list_params.rb +68 -0
  337. data/lib/stripe/params/product_retrieve_params.rb +13 -0
  338. data/lib/stripe/params/product_search_params.rb +22 -0
  339. data/lib/stripe/params/product_update_params.rb +96 -0
  340. data/lib/stripe/params/promotion_code_create_params.rb +91 -0
  341. data/lib/stripe/params/promotion_code_list_params.rb +64 -0
  342. data/lib/stripe/params/promotion_code_retrieve_params.rb +13 -0
  343. data/lib/stripe/params/promotion_code_update_params.rb +38 -0
  344. data/lib/stripe/params/quote_accept_params.rb +13 -0
  345. data/lib/stripe/params/quote_cancel_params.rb +13 -0
  346. data/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +22 -0
  347. data/lib/stripe/params/quote_create_params.rb +301 -0
  348. data/lib/stripe/params/quote_finalize_quote_params.rb +16 -0
  349. data/lib/stripe/params/quote_line_item_list_params.rb +22 -0
  350. data/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +22 -0
  351. data/lib/stripe/params/quote_list_line_items_params.rb +22 -0
  352. data/lib/stripe/params/quote_list_params.rb +39 -0
  353. data/lib/stripe/params/quote_pdf_params.rb +13 -0
  354. data/lib/stripe/params/quote_retrieve_params.rb +13 -0
  355. data/lib/stripe/params/quote_update_params.rb +263 -0
  356. data/lib/stripe/params/radar/early_fraud_warning_list_params.rb +58 -0
  357. data/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +15 -0
  358. data/lib/stripe/params/radar/value_list_create_params.rb +27 -0
  359. data/lib/stripe/params/radar/value_list_delete_params.rb +8 -0
  360. data/lib/stripe/params/radar/value_list_item_create_params.rb +21 -0
  361. data/lib/stripe/params/radar/value_list_item_delete_params.rb +8 -0
  362. data/lib/stripe/params/radar/value_list_item_list_params.rb +58 -0
  363. data/lib/stripe/params/radar/value_list_item_retrieve_params.rb +15 -0
  364. data/lib/stripe/params/radar/value_list_list_params.rb +58 -0
  365. data/lib/stripe/params/radar/value_list_retrieve_params.rb +15 -0
  366. data/lib/stripe/params/radar/value_list_update_params.rb +24 -0
  367. data/lib/stripe/params/refund_cancel_params.rb +13 -0
  368. data/lib/stripe/params/refund_create_params.rb +59 -0
  369. data/lib/stripe/params/refund_expire_params.rb +13 -0
  370. data/lib/stripe/params/refund_list_params.rb +56 -0
  371. data/lib/stripe/params/refund_retrieve_params.rb +13 -0
  372. data/lib/stripe/params/refund_update_params.rb +16 -0
  373. data/lib/stripe/params/reporting/report_run_create_params.rb +59 -0
  374. data/lib/stripe/params/reporting/report_run_list_params.rb +44 -0
  375. data/lib/stripe/params/reporting/report_run_retrieve_params.rb +15 -0
  376. data/lib/stripe/params/reporting/report_type_list_params.rb +15 -0
  377. data/lib/stripe/params/reporting/report_type_retrieve_params.rb +15 -0
  378. data/lib/stripe/params/review_approve_params.rb +13 -0
  379. data/lib/stripe/params/review_list_params.rb +42 -0
  380. data/lib/stripe/params/review_retrieve_params.rb +13 -0
  381. data/lib/stripe/params/setup_attempt_list_params.rb +55 -0
  382. data/lib/stripe/params/setup_intent_cancel_params.rb +16 -0
  383. data/lib/stripe/params/setup_intent_confirm_params.rb +1050 -0
  384. data/lib/stripe/params/setup_intent_create_params.rb +1130 -0
  385. data/lib/stripe/params/setup_intent_list_params.rb +62 -0
  386. data/lib/stripe/params/setup_intent_retrieve_params.rb +16 -0
  387. data/lib/stripe/params/setup_intent_update_params.rb +1025 -0
  388. data/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +19 -0
  389. data/lib/stripe/params/shipping_rate_create_params.rb +103 -0
  390. data/lib/stripe/params/shipping_rate_list_params.rb +56 -0
  391. data/lib/stripe/params/shipping_rate_retrieve_params.rb +13 -0
  392. data/lib/stripe/params/shipping_rate_update_params.rb +44 -0
  393. data/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +24 -0
  394. data/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +15 -0
  395. data/lib/stripe/params/source_create_params.rb +317 -0
  396. data/lib/stripe/params/source_detach_params.rb +13 -0
  397. data/lib/stripe/params/source_retrieve_params.rb +16 -0
  398. data/lib/stripe/params/source_transaction_list_params.rb +22 -0
  399. data/lib/stripe/params/source_update_params.rb +259 -0
  400. data/lib/stripe/params/source_verify_params.rb +16 -0
  401. data/lib/stripe/params/subscription_cancel_params.rb +33 -0
  402. data/lib/stripe/params/subscription_create_params.rb +704 -0
  403. data/lib/stripe/params/subscription_delete_discount_params.rb +6 -0
  404. data/lib/stripe/params/subscription_item_create_params.rb +134 -0
  405. data/lib/stripe/params/subscription_item_delete_params.rb +19 -0
  406. data/lib/stripe/params/subscription_item_list_params.rb +31 -0
  407. data/lib/stripe/params/subscription_item_retrieve_params.rb +13 -0
  408. data/lib/stripe/params/subscription_item_update_params.rb +134 -0
  409. data/lib/stripe/params/subscription_list_params.rb +129 -0
  410. data/lib/stripe/params/subscription_migrate_params.rb +35 -0
  411. data/lib/stripe/params/subscription_resume_params.rb +27 -0
  412. data/lib/stripe/params/subscription_retrieve_params.rb +13 -0
  413. data/lib/stripe/params/subscription_schedule_cancel_params.rb +19 -0
  414. data/lib/stripe/params/subscription_schedule_create_params.rb +590 -0
  415. data/lib/stripe/params/subscription_schedule_list_params.rb +122 -0
  416. data/lib/stripe/params/subscription_schedule_release_params.rb +16 -0
  417. data/lib/stripe/params/subscription_schedule_retrieve_params.rb +13 -0
  418. data/lib/stripe/params/subscription_schedule_update_params.rb +562 -0
  419. data/lib/stripe/params/subscription_search_params.rb +22 -0
  420. data/lib/stripe/params/subscription_update_params.rb +683 -0
  421. data/lib/stripe/params/tax/calculation_create_params.rb +206 -0
  422. data/lib/stripe/params/tax/calculation_line_item_list_params.rb +24 -0
  423. data/lib/stripe/{services/quote_preview_invoice_service.rb → params/tax/calculation_list_line_items_params.rb} +2 -13
  424. data/lib/stripe/params/tax/calculation_retrieve_params.rb +15 -0
  425. data/lib/stripe/params/tax/registration_create_params.rb +2018 -0
  426. data/lib/stripe/params/tax/registration_list_params.rb +27 -0
  427. data/lib/stripe/params/tax/registration_retrieve_params.rb +15 -0
  428. data/lib/stripe/params/tax/registration_update_params.rb +21 -0
  429. data/lib/stripe/params/tax/settings_retrieve_params.rb +15 -0
  430. data/lib/stripe/params/tax/settings_update_params.rb +71 -0
  431. data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +27 -0
  432. data/lib/stripe/params/tax/transaction_create_reversal_params.rb +87 -0
  433. data/lib/stripe/params/tax/transaction_line_item_list_params.rb +24 -0
  434. data/lib/stripe/{services/payment_intent_amount_details_line_item_service.rb → params/tax/transaction_list_line_items_params.rb} +2 -13
  435. data/lib/stripe/params/tax/transaction_retrieve_params.rb +15 -0
  436. data/lib/stripe/params/tax_code_list_params.rb +22 -0
  437. data/lib/stripe/params/tax_code_retrieve_params.rb +13 -0
  438. data/lib/stripe/params/tax_id_create_params.rb +36 -0
  439. data/lib/stripe/params/tax_id_delete_params.rb +6 -0
  440. data/lib/stripe/params/tax_id_list_params.rb +39 -0
  441. data/lib/stripe/params/tax_id_retrieve_params.rb +13 -0
  442. data/lib/stripe/params/tax_rate_create_params.rb +55 -0
  443. data/lib/stripe/params/tax_rate_list_params.rb +56 -0
  444. data/lib/stripe/params/tax_rate_retrieve_params.rb +13 -0
  445. data/lib/stripe/params/tax_rate_update_params.rb +47 -0
  446. data/lib/stripe/params/terminal/configuration_create_params.rb +593 -0
  447. data/lib/stripe/params/terminal/configuration_delete_params.rb +8 -0
  448. data/lib/stripe/params/terminal/configuration_list_params.rb +33 -0
  449. data/lib/stripe/params/terminal/configuration_retrieve_params.rb +15 -0
  450. data/lib/stripe/params/terminal/configuration_update_params.rb +593 -0
  451. data/lib/stripe/params/terminal/connection_token_create_params.rb +18 -0
  452. data/lib/stripe/params/terminal/location_create_params.rb +153 -0
  453. data/lib/stripe/params/terminal/location_delete_params.rb +8 -0
  454. data/lib/stripe/params/terminal/location_list_params.rb +24 -0
  455. data/lib/stripe/params/terminal/location_retrieve_params.rb +15 -0
  456. data/lib/stripe/params/terminal/location_update_params.rb +153 -0
  457. data/lib/stripe/params/terminal/reader_cancel_action_params.rb +15 -0
  458. data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +96 -0
  459. data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +51 -0
  460. data/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +29 -0
  461. data/lib/stripe/params/terminal/reader_create_params.rb +27 -0
  462. data/lib/stripe/params/terminal/reader_delete_params.rb +8 -0
  463. data/lib/stripe/params/terminal/reader_list_params.rb +45 -0
  464. data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +72 -0
  465. data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +55 -0
  466. data/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +32 -0
  467. data/lib/stripe/params/terminal/reader_refund_payment_params.rb +53 -0
  468. data/lib/stripe/params/terminal/reader_retrieve_params.rb +15 -0
  469. data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +52 -0
  470. data/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +18 -0
  471. data/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +15 -0
  472. data/lib/stripe/params/terminal/reader_update_params.rb +21 -0
  473. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +652 -0
  474. data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +24 -0
  475. data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +267 -0
  476. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +359 -0
  477. data/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +17 -0
  478. data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +145 -0
  479. data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +23 -0
  480. data/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +20 -0
  481. data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +20 -0
  482. data/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +17 -0
  483. data/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +17 -0
  484. data/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +17 -0
  485. data/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +17 -0
  486. data/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +17 -0
  487. data/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +17 -0
  488. data/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +17 -0
  489. data/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +31 -0
  490. data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +318 -0
  491. data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +318 -0
  492. data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +20 -0
  493. data/lib/stripe/params/test_helpers/refund_expire_params.rb +15 -0
  494. data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +74 -0
  495. data/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +20 -0
  496. data/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +17 -0
  497. data/lib/stripe/params/test_helpers/test_clock_advance_params.rb +18 -0
  498. data/lib/stripe/params/test_helpers/test_clock_create_params.rb +21 -0
  499. data/lib/stripe/params/test_helpers/test_clock_delete_params.rb +8 -0
  500. data/lib/stripe/params/test_helpers/test_clock_list_params.rb +24 -0
  501. data/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +15 -0
  502. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +28 -0
  503. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +17 -0
  504. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +17 -0
  505. data/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +17 -0
  506. data/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +17 -0
  507. data/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +28 -0
  508. data/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +57 -0
  509. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +17 -0
  510. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +17 -0
  511. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +28 -0
  512. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +57 -0
  513. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +68 -0
  514. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +68 -0
  515. data/lib/stripe/params/token_create_params.rb +1191 -0
  516. data/lib/stripe/params/token_retrieve_params.rb +13 -0
  517. data/lib/stripe/params/topup_cancel_params.rb +13 -0
  518. data/lib/stripe/params/topup_create_params.rb +43 -0
  519. data/lib/stripe/params/topup_list_params.rb +74 -0
  520. data/lib/stripe/params/topup_retrieve_params.rb +13 -0
  521. data/lib/stripe/params/topup_update_params.rb +19 -0
  522. data/lib/stripe/params/transfer_create_params.rb +47 -0
  523. data/lib/stripe/params/transfer_list_params.rb +56 -0
  524. data/lib/stripe/params/transfer_retrieve_params.rb +13 -0
  525. data/lib/stripe/params/transfer_reversal_create_params.rb +31 -0
  526. data/lib/stripe/params/transfer_reversal_list_params.rb +22 -0
  527. data/lib/stripe/params/transfer_reversal_retrieve_params.rb +13 -0
  528. data/lib/stripe/params/transfer_reversal_update_params.rb +16 -0
  529. data/lib/stripe/params/transfer_update_params.rb +19 -0
  530. data/lib/stripe/params/treasury/credit_reversal_create_params.rb +21 -0
  531. data/lib/stripe/params/treasury/credit_reversal_list_params.rb +41 -0
  532. data/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +15 -0
  533. data/lib/stripe/params/treasury/debit_reversal_create_params.rb +21 -0
  534. data/lib/stripe/params/treasury/debit_reversal_list_params.rb +45 -0
  535. data/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +15 -0
  536. data/lib/stripe/params/treasury/financial_account_close_params.rb +32 -0
  537. data/lib/stripe/params/treasury/financial_account_create_params.rb +201 -0
  538. data/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +15 -0
  539. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +163 -0
  540. data/lib/stripe/params/treasury/financial_account_list_params.rb +54 -0
  541. data/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +15 -0
  542. data/lib/stripe/params/treasury/financial_account_retrieve_params.rb +15 -0
  543. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +163 -0
  544. data/lib/stripe/params/treasury/financial_account_update_params.rb +216 -0
  545. data/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +15 -0
  546. data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +45 -0
  547. data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +26 -0
  548. data/lib/stripe/params/treasury/inbound_transfer_list_params.rb +37 -0
  549. data/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +15 -0
  550. data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +15 -0
  551. data/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +15 -0
  552. data/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +15 -0
  553. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +190 -0
  554. data/lib/stripe/params/treasury/outbound_payment_fail_params.rb +15 -0
  555. data/lib/stripe/params/treasury/outbound_payment_list_params.rb +62 -0
  556. data/lib/stripe/params/treasury/outbound_payment_post_params.rb +15 -0
  557. data/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +15 -0
  558. data/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +26 -0
  559. data/lib/stripe/params/treasury/outbound_payment_update_params.rb +55 -0
  560. data/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +15 -0
  561. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +81 -0
  562. data/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +15 -0
  563. data/lib/stripe/params/treasury/outbound_transfer_list_params.rb +37 -0
  564. data/lib/stripe/params/treasury/outbound_transfer_post_params.rb +15 -0
  565. data/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +15 -0
  566. data/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +26 -0
  567. data/lib/stripe/params/treasury/outbound_transfer_update_params.rb +55 -0
  568. data/lib/stripe/params/treasury/received_credit_create_params.rb +66 -0
  569. data/lib/stripe/params/treasury/received_credit_list_params.rb +49 -0
  570. data/lib/stripe/params/treasury/received_credit_retrieve_params.rb +15 -0
  571. data/lib/stripe/params/treasury/received_debit_create_params.rb +66 -0
  572. data/lib/stripe/params/treasury/received_debit_list_params.rb +37 -0
  573. data/lib/stripe/params/treasury/received_debit_retrieve_params.rb +15 -0
  574. data/lib/stripe/params/treasury/transaction_entry_list_params.rb +84 -0
  575. data/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +15 -0
  576. data/lib/stripe/params/treasury/transaction_list_params.rb +92 -0
  577. data/lib/stripe/params/treasury/transaction_retrieve_params.rb +15 -0
  578. data/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +31 -0
  579. data/lib/stripe/params/v2/billing/meter_event_create_params.rb +33 -0
  580. data/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +10 -0
  581. data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +41 -0
  582. data/lib/stripe/params/v2/core/event_destination_create_params.rb +79 -0
  583. data/lib/stripe/params/v2/core/event_destination_delete_params.rb +10 -0
  584. data/lib/stripe/params/v2/core/event_destination_disable_params.rb +10 -0
  585. data/lib/stripe/params/v2/core/event_destination_enable_params.rb +10 -0
  586. data/lib/stripe/params/v2/core/event_destination_list_params.rb +20 -0
  587. data/lib/stripe/params/v2/core/event_destination_ping_params.rb +10 -0
  588. data/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +17 -0
  589. data/lib/stripe/params/v2/core/event_destination_update_params.rb +47 -0
  590. data/lib/stripe/params/v2/core/event_list_params.rb +22 -0
  591. data/lib/stripe/params/v2/core/event_retrieve_params.rb +10 -0
  592. data/lib/stripe/params/webhook_endpoint_create_params.rb +39 -0
  593. data/lib/stripe/params/webhook_endpoint_delete_params.rb +6 -0
  594. data/lib/stripe/params/webhook_endpoint_list_params.rb +22 -0
  595. data/lib/stripe/params/webhook_endpoint_retrieve_params.rb +13 -0
  596. data/lib/stripe/params/webhook_endpoint_update_params.rb +35 -0
  597. data/lib/stripe/params.rb +588 -0
  598. data/lib/stripe/request_options.rb +14 -5
  599. data/lib/stripe/resources/account.rb +437 -4906
  600. data/lib/stripe/resources/account_link.rb +8 -47
  601. data/lib/stripe/resources/account_session.rb +338 -910
  602. data/lib/stripe/resources/apple_pay_domain.rb +8 -40
  603. data/lib/stripe/resources/application.rb +8 -0
  604. data/lib/stripe/resources/application_fee.rb +12 -44
  605. data/lib/stripe/resources/application_fee_refund.rb +8 -0
  606. data/lib/stripe/resources/apps/secret.rb +12 -112
  607. data/lib/stripe/resources/balance.rb +159 -0
  608. data/lib/stripe/resources/balance_settings.rb +40 -60
  609. data/lib/stripe/resources/balance_transaction.rb +12 -56
  610. data/lib/stripe/resources/bank_account.rb +40 -0
  611. data/lib/stripe/resources/billing/alert.rb +20 -100
  612. data/lib/stripe/resources/billing/alert_triggered.rb +8 -0
  613. data/lib/stripe/resources/billing/credit_balance_summary.rb +48 -2
  614. data/lib/stripe/resources/billing/credit_balance_transaction.rb +73 -33
  615. data/lib/stripe/resources/billing/credit_grant.rb +42 -161
  616. data/lib/stripe/resources/billing/meter.rb +40 -116
  617. data/lib/stripe/resources/billing/meter_event.rb +8 -20
  618. data/lib/stripe/resources/billing/meter_event_adjustment.rb +12 -22
  619. data/lib/stripe/resources/billing/meter_event_summary.rb +8 -0
  620. data/lib/stripe/resources/billing_portal/configuration.rb +120 -473
  621. data/lib/stripe/resources/billing_portal/session.rb +98 -176
  622. data/lib/stripe/resources/capability.rb +56 -0
  623. data/lib/stripe/resources/card.rb +17 -3
  624. data/lib/stripe/resources/cash_balance.rb +16 -2
  625. data/lib/stripe/resources/charge.rb +949 -1945
  626. data/lib/stripe/resources/checkout/session.rb +1038 -2991
  627. data/lib/stripe/resources/climate/order.rb +28 -89
  628. data/lib/stripe/resources/climate/product.rb +13 -15
  629. data/lib/stripe/resources/climate/supplier.rb +13 -15
  630. data/lib/stripe/resources/confirmation_token.rb +883 -841
  631. data/lib/stripe/resources/connect_collection_transfer.rb +8 -0
  632. data/lib/stripe/resources/country_spec.rb +29 -15
  633. data/lib/stripe/resources/coupon.rb +19 -166
  634. data/lib/stripe/resources/credit_note.rb +66 -510
  635. data/lib/stripe/resources/credit_note_line_item.rb +43 -8
  636. data/lib/stripe/resources/customer.rb +81 -677
  637. data/lib/stripe/resources/customer_balance_transaction.rb +8 -2
  638. data/lib/stripe/resources/customer_cash_balance_transaction.rb +108 -2
  639. data/lib/stripe/resources/customer_session.rb +49 -98
  640. data/lib/stripe/resources/discount.rb +24 -6
  641. data/lib/stripe/resources/dispute.rb +159 -376
  642. data/lib/stripe/resources/entitlements/active_entitlement.rb +8 -26
  643. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +8 -0
  644. data/lib/stripe/resources/entitlements/feature.rb +8 -66
  645. data/lib/stripe/resources/ephemeral_key.rb +8 -8
  646. data/lib/stripe/resources/event.rb +16 -79
  647. data/lib/stripe/resources/exchange_rate.rb +18 -17
  648. data/lib/stripe/resources/file.rb +8 -79
  649. data/lib/stripe/resources/file_link.rb +8 -84
  650. data/lib/stripe/resources/financial_connections/account.rb +65 -130
  651. data/lib/stripe/resources/financial_connections/account_owner.rb +8 -0
  652. data/lib/stripe/resources/financial_connections/account_ownership.rb +8 -0
  653. data/lib/stripe/resources/financial_connections/session.rb +20 -115
  654. data/lib/stripe/resources/financial_connections/transaction.rb +12 -57
  655. data/lib/stripe/resources/forwarding/request.rb +48 -93
  656. data/lib/stripe/resources/funding_instructions.rb +217 -24
  657. data/lib/stripe/resources/identity/verification_report.rb +165 -56
  658. data/lib/stripe/resources/identity/verification_session.rb +124 -247
  659. data/lib/stripe/resources/invoice.rb +500 -4017
  660. data/lib/stripe/resources/invoice_item.rb +69 -385
  661. data/lib/stripe/resources/invoice_line_item.rb +124 -251
  662. data/lib/stripe/resources/invoice_payment.rb +20 -47
  663. data/lib/stripe/resources/invoice_rendering_template.rb +8 -38
  664. data/lib/stripe/resources/issuing/authorization.rb +173 -836
  665. data/lib/stripe/resources/issuing/card.rb +98 -499
  666. data/lib/stripe/resources/issuing/cardholder.rb +108 -515
  667. data/lib/stripe/resources/issuing/dispute.rb +93 -620
  668. data/lib/stripe/resources/issuing/personalization_design.rb +32 -221
  669. data/lib/stripe/resources/issuing/physical_bundle.rb +13 -28
  670. data/lib/stripe/resources/issuing/token.rb +57 -60
  671. data/lib/stripe/resources/issuing/transaction.rb +147 -702
  672. data/lib/stripe/resources/line_item.rb +22 -35
  673. data/lib/stripe/resources/login_link.rb +8 -0
  674. data/lib/stripe/resources/mandate.rb +219 -94
  675. data/lib/stripe/resources/payment_intent.rb +1241 -13361
  676. data/lib/stripe/resources/payment_link.rb +333 -1357
  677. data/lib/stripe/resources/payment_method.rb +796 -966
  678. data/lib/stripe/resources/payment_method_configuration.rb +862 -2528
  679. data/lib/stripe/resources/payment_method_domain.rb +107 -63
  680. data/lib/stripe/resources/payout.rb +12 -150
  681. data/lib/stripe/resources/person.rb +184 -4
  682. data/lib/stripe/resources/plan.rb +20 -235
  683. data/lib/stripe/resources/price.rb +65 -509
  684. data/lib/stripe/resources/product.rb +23 -411
  685. data/lib/stripe/resources/product_feature.rb +8 -0
  686. data/lib/stripe/resources/promotion_code.rb +40 -182
  687. data/lib/stripe/resources/quote.rb +280 -2743
  688. data/lib/stripe/resources/radar/early_fraud_warning.rb +8 -51
  689. data/lib/stripe/resources/radar/value_list.rb +8 -92
  690. data/lib/stripe/resources/radar/value_list_item.rb +8 -68
  691. data/lib/stripe/resources/refund.rb +365 -159
  692. data/lib/stripe/resources/reporting/report_run.rb +12 -93
  693. data/lib/stripe/resources/reporting/report_type.rb +8 -8
  694. data/lib/stripe/resources/reserve_transaction.rb +8 -0
  695. data/lib/stripe/resources/reversal.rb +8 -0
  696. data/lib/stripe/resources/review.rb +20 -43
  697. data/lib/stripe/resources/setup_attempt.rb +284 -87
  698. data/lib/stripe/resources/setup_intent.rb +358 -4143
  699. data/lib/stripe/resources/shipping_rate.rb +44 -187
  700. data/lib/stripe/resources/sigma/scheduled_query_run.rb +13 -15
  701. data/lib/stripe/resources/source.rb +267 -611
  702. data/lib/stripe/resources/source_mandate_notification.rb +32 -0
  703. data/lib/stripe/resources/source_transaction.rb +54 -0
  704. data/lib/stripe/resources/subscription.rb +266 -1931
  705. data/lib/stripe/resources/subscription_item.rb +12 -379
  706. data/lib/stripe/resources/subscription_schedule.rb +230 -2273
  707. data/lib/stripe/resources/tax/calculation.rb +111 -220
  708. data/lib/stripe/resources/tax/calculation_line_item.rb +32 -0
  709. data/lib/stripe/resources/tax/registration.rb +1274 -2096
  710. data/lib/stripe/resources/tax/settings.rb +61 -64
  711. data/lib/stripe/resources/tax/transaction.rb +95 -122
  712. data/lib/stripe/resources/tax/transaction_line_item.rb +16 -0
  713. data/lib/stripe/resources/tax_code.rb +8 -17
  714. data/lib/stripe/resources/tax_deducted_at_source.rb +8 -0
  715. data/lib/stripe/resources/tax_id.rb +20 -75
  716. data/lib/stripe/resources/tax_rate.rb +12 -142
  717. data/lib/stripe/resources/terminal/configuration.rb +301 -1205
  718. data/lib/stripe/resources/terminal/connection_token.rb +8 -11
  719. data/lib/stripe/resources/terminal/location.rb +72 -126
  720. data/lib/stripe/resources/terminal/reader.rb +237 -509
  721. data/lib/stripe/resources/test_helpers/test_clock.rb +20 -43
  722. data/lib/stripe/resources/token.rb +8 -1191
  723. data/lib/stripe/resources/topup.rb +8 -132
  724. data/lib/stripe/resources/transfer.rb +8 -115
  725. data/lib/stripe/resources/treasury/credit_reversal.rb +12 -46
  726. data/lib/stripe/resources/treasury/debit_reversal.rb +20 -50
  727. data/lib/stripe/resources/treasury/financial_account.rb +55 -658
  728. data/lib/stripe/resources/treasury/financial_account_features.rb +192 -2
  729. data/lib/stripe/resources/treasury/inbound_transfer.rb +67 -115
  730. data/lib/stripe/resources/treasury/outbound_payment.rb +104 -334
  731. data/lib/stripe/resources/treasury/outbound_transfer.rb +93 -235
  732. data/lib/stripe/resources/treasury/received_credit.rb +76 -136
  733. data/lib/stripe/resources/treasury/received_debit.rb +68 -126
  734. data/lib/stripe/resources/treasury/transaction.rb +32 -82
  735. data/lib/stripe/resources/treasury/transaction_entry.rb +20 -74
  736. data/lib/stripe/resources/v2/billing/meter_event.rb +8 -0
  737. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +16 -0
  738. data/lib/stripe/resources/v2/billing/meter_event_session.rb +8 -0
  739. data/lib/stripe/resources/v2/core/event.rb +67 -0
  740. data/lib/stripe/resources/v2/core/event_destination.rb +119 -0
  741. data/lib/stripe/resources/v2/core/event_notification.rb +62 -0
  742. data/lib/stripe/resources/v2/deleted_object.rb +21 -0
  743. data/lib/stripe/resources/webhook_endpoint.rb +8 -85
  744. data/lib/stripe/resources.rb +3 -110
  745. data/lib/stripe/services/account_capability_service.rb +0 -32
  746. data/lib/stripe/services/account_external_account_service.rb +0 -249
  747. data/lib/stripe/services/account_link_service.rb +0 -48
  748. data/lib/stripe/services/account_login_link_service.rb +0 -9
  749. data/lib/stripe/services/account_person_service.rb +0 -958
  750. data/lib/stripe/services/account_service.rb +0 -4710
  751. data/lib/stripe/services/account_session_service.rb +0 -862
  752. data/lib/stripe/services/apple_pay_domain_service.rb +0 -50
  753. data/lib/stripe/services/application_fee_refund_service.rb +0 -54
  754. data/lib/stripe/services/application_fee_service.rb +0 -57
  755. data/lib/stripe/services/apps/secret_service.rb +0 -116
  756. data/lib/stripe/services/balance_service.rb +0 -9
  757. data/lib/stripe/services/balance_settings_service.rb +0 -69
  758. data/lib/stripe/services/balance_transaction_service.rb +0 -69
  759. data/lib/stripe/services/billing/alert_service.rb +0 -113
  760. data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -51
  761. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -44
  762. data/lib/stripe/services/billing/credit_grant_service.rb +0 -174
  763. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -26
  764. data/lib/stripe/services/billing/meter_event_service.rb +0 -21
  765. data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -39
  766. data/lib/stripe/services/billing/meter_service.rb +0 -130
  767. data/lib/stripe/services/billing_portal/configuration_service.rb +0 -486
  768. data/lib/stripe/services/billing_portal/session_service.rb +0 -177
  769. data/lib/stripe/services/billing_service.rb +1 -2
  770. data/lib/stripe/services/charge_service.rb +0 -1820
  771. data/lib/stripe/services/checkout/session_line_item_service.rb +0 -18
  772. data/lib/stripe/services/checkout/session_service.rb +0 -2882
  773. data/lib/stripe/services/climate/order_service.rb +0 -102
  774. data/lib/stripe/services/climate/product_service.rb +0 -27
  775. data/lib/stripe/services/climate/supplier_service.rb +0 -27
  776. data/lib/stripe/services/confirmation_token_service.rb +0 -9
  777. data/lib/stripe/services/country_spec_service.rb +0 -27
  778. data/lib/stripe/services/coupon_service.rb +0 -167
  779. data/lib/stripe/services/credit_note_line_item_service.rb +0 -18
  780. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -152
  781. data/lib/stripe/services/credit_note_service.rb +0 -369
  782. data/lib/stripe/services/customer_balance_transaction_service.rb +0 -63
  783. data/lib/stripe/services/customer_cash_balance_service.rb +0 -29
  784. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -27
  785. data/lib/stripe/services/customer_funding_instructions_service.rb +0 -42
  786. data/lib/stripe/services/customer_payment_method_service.rb +0 -40
  787. data/lib/stripe/services/customer_payment_source_service.rb +0 -179
  788. data/lib/stripe/services/customer_service.rb +0 -575
  789. data/lib/stripe/services/customer_session_service.rb +0 -99
  790. data/lib/stripe/services/customer_tax_id_service.rb +0 -44
  791. data/lib/stripe/services/dispute_service.rb +0 -374
  792. data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -36
  793. data/lib/stripe/services/entitlements/feature_service.rb +0 -76
  794. data/lib/stripe/services/ephemeral_key_service.rb +0 -36
  795. data/lib/stripe/services/event_service.rb +0 -65
  796. data/lib/stripe/services/exchange_rate_service.rb +4 -27
  797. data/lib/stripe/services/file_link_service.rb +0 -94
  798. data/lib/stripe/services/file_service.rb +0 -89
  799. data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -27
  800. data/lib/stripe/services/financial_connections/account_service.rb +1 -102
  801. data/lib/stripe/services/financial_connections/session_service.rb +0 -100
  802. data/lib/stripe/services/financial_connections/transaction_service.rb +0 -70
  803. data/lib/stripe/services/financial_connections_service.rb +1 -2
  804. data/lib/stripe/services/forwarding/request_service.rb +0 -106
  805. data/lib/stripe/services/identity/verification_report_service.rb +0 -65
  806. data/lib/stripe/services/identity/verification_session_service.rb +0 -255
  807. data/lib/stripe/services/invoice_item_service.rb +0 -405
  808. data/lib/stripe/services/invoice_line_item_service.rb +0 -253
  809. data/lib/stripe/services/invoice_payment_service.rb +0 -58
  810. data/lib/stripe/services/invoice_rendering_template_service.rb +0 -51
  811. data/lib/stripe/services/invoice_service.rb +0 -3836
  812. data/lib/stripe/services/issuing/authorization_service.rb +0 -104
  813. data/lib/stripe/services/issuing/card_service.rb +0 -463
  814. data/lib/stripe/services/issuing/cardholder_service.rb +0 -526
  815. data/lib/stripe/services/issuing/dispute_service.rb +0 -633
  816. data/lib/stripe/services/issuing/personalization_design_service.rb +0 -193
  817. data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -40
  818. data/lib/stripe/services/issuing/token_service.rb +0 -73
  819. data/lib/stripe/services/issuing/transaction_service.rb +0 -81
  820. data/lib/stripe/services/issuing_service.rb +1 -5
  821. data/lib/stripe/services/mandate_service.rb +0 -49
  822. data/lib/stripe/services/payment_intent_service.rb +0 -12747
  823. data/lib/stripe/services/payment_link_line_item_service.rb +0 -18
  824. data/lib/stripe/services/payment_link_service.rb +0 -1352
  825. data/lib/stripe/services/payment_method_configuration_service.rb +0 -2466
  826. data/lib/stripe/services/payment_method_domain_service.rb +0 -76
  827. data/lib/stripe/services/payment_method_service.rb +0 -881
  828. data/lib/stripe/services/payout_service.rb +0 -163
  829. data/lib/stripe/services/plan_service.rb +0 -248
  830. data/lib/stripe/services/price_service.rb +0 -512
  831. data/lib/stripe/services/product_feature_service.rb +0 -41
  832. data/lib/stripe/services/product_service.rb +0 -424
  833. data/lib/stripe/services/promotion_code_service.rb +1 -187
  834. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -18
  835. data/lib/stripe/services/quote_line_item_service.rb +0 -18
  836. data/lib/stripe/services/quote_service.rb +1 -2344
  837. data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -61
  838. data/lib/stripe/services/radar/value_list_item_service.rb +0 -78
  839. data/lib/stripe/services/radar/value_list_service.rb +0 -102
  840. data/lib/stripe/services/refund_service.rb +0 -137
  841. data/lib/stripe/services/reporting/report_run_service.rb +0 -106
  842. data/lib/stripe/services/reporting/report_type_service.rb +0 -18
  843. data/lib/stripe/services/review_service.rb +0 -56
  844. data/lib/stripe/services/setup_attempt_service.rb +0 -51
  845. data/lib/stripe/services/setup_intent_service.rb +0 -3957
  846. data/lib/stripe/services/shipping_rate_service.rb +0 -200
  847. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -27
  848. data/lib/stripe/services/source_service.rb +0 -601
  849. data/lib/stripe/services/source_transaction_service.rb +0 -18
  850. data/lib/stripe/services/subscription_item_service.rb +0 -383
  851. data/lib/stripe/services/subscription_schedule_service.rb +0 -2196
  852. data/lib/stripe/services/subscription_service.rb +0 -1894
  853. data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -18
  854. data/lib/stripe/services/tax/calculation_service.rb +0 -209
  855. data/lib/stripe/services/tax/registration_service.rb +0 -2063
  856. data/lib/stripe/services/tax/settings_service.rb +0 -74
  857. data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -18
  858. data/lib/stripe/services/tax/transaction_service.rb +0 -111
  859. data/lib/stripe/services/tax_code_service.rb +0 -27
  860. data/lib/stripe/services/tax_id_service.rb +0 -84
  861. data/lib/stripe/services/tax_rate_service.rb +0 -155
  862. data/lib/stripe/services/tax_service.rb +1 -3
  863. data/lib/stripe/services/terminal/configuration_service.rb +0 -1212
  864. data/lib/stripe/services/terminal/connection_token_service.rb +0 -12
  865. data/lib/stripe/services/terminal/location_service.rb +0 -143
  866. data/lib/stripe/services/terminal/reader_service.rb +0 -427
  867. data/lib/stripe/services/terminal_service.rb +1 -3
  868. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -738
  869. data/lib/stripe/services/test_helpers/customer_service.rb +0 -18
  870. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -745
  871. data/lib/stripe/services/test_helpers/issuing/card_service.rb +0 -45
  872. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -41
  873. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -632
  874. data/lib/stripe/services/test_helpers/refund_service.rb +0 -9
  875. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -87
  876. data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -56
  877. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -38
  878. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -87
  879. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -87
  880. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -84
  881. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -84
  882. data/lib/stripe/services/token_service.rb +0 -1201
  883. data/lib/stripe/services/topup_service.rb +0 -142
  884. data/lib/stripe/services/transfer_reversal_service.rb +0 -66
  885. data/lib/stripe/services/transfer_service.rb +0 -123
  886. data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -59
  887. data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -63
  888. data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -169
  889. data/lib/stripe/services/treasury/financial_account_service.rb +0 -502
  890. data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -88
  891. data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -258
  892. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -148
  893. data/lib/stripe/services/treasury/received_credit_service.rb +0 -52
  894. data/lib/stripe/services/treasury/received_debit_service.rb +0 -40
  895. data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -87
  896. data/lib/stripe/services/treasury/transaction_service.rb +0 -95
  897. data/lib/stripe/services/v1_services.rb +1 -10
  898. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -23
  899. data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -25
  900. data/lib/stripe/services/v2/billing/meter_event_session_service.rb +0 -2
  901. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -33
  902. data/lib/stripe/services/v2/core/event_destination_service.rb +0 -137
  903. data/lib/stripe/services/v2/core/event_service.rb +0 -16
  904. data/lib/stripe/services/v2/core_service.rb +1 -4
  905. data/lib/stripe/services/v2_services.rb +1 -4
  906. data/lib/stripe/services/webhook_endpoint_service.rb +0 -95
  907. data/lib/stripe/services.rb +0 -54
  908. data/lib/stripe/stripe_client.rb +8 -5
  909. data/lib/stripe/stripe_configuration.rb +2 -9
  910. data/lib/stripe/stripe_context.rb +68 -0
  911. data/lib/stripe/stripe_object.rb +34 -10
  912. data/lib/stripe/util.rb +25 -20
  913. data/lib/stripe/version.rb +1 -1
  914. data/lib/stripe.rb +3 -54
  915. data/rbi/stripe/resources/v2/core/event_notification.rbi +43 -0
  916. data/rbi/stripe/stripe_client.rbi +17 -0
  917. data/rbi/stripe.rbi +121931 -190301
  918. metadata +599 -189
  919. data/API_VERSION +0 -1
  920. data/CHANGELOG.md +0 -2780
  921. data/CODE_OF_CONDUCT.md +0 -77
  922. data/CONTRIBUTING.md +0 -25
  923. data/CONTRIBUTORS +0 -3
  924. data/Gemfile +0 -41
  925. data/History.txt +0 -1
  926. data/LICENSE +0 -21
  927. data/Makefile +0 -22
  928. data/OPENAPI_VERSION +0 -1
  929. data/README.md +0 -424
  930. data/Rakefile +0 -34
  931. data/VERSION +0 -1
  932. data/examples/README.md +0 -16
  933. data/examples/example_template.rb +0 -36
  934. data/examples/meter_event_stream.rb +0 -57
  935. data/examples/thinevent_webhook_handler.rb +0 -39
  936. data/justfile +0 -43
  937. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
  938. data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
  939. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  940. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  941. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  942. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  943. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  944. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  945. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +0 -23
  946. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -21
  947. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
  948. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
  949. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  950. data/lib/stripe/events/v2_core_account_link_returned_event.rb +0 -13
  951. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  952. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  953. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  954. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
  955. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
  956. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  957. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
  958. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  959. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  960. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  961. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  962. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  963. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  964. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  965. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  966. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  967. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  968. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  969. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  970. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  971. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
  972. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  973. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  974. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  975. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  976. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  977. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
  978. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -21
  979. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  980. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  981. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  982. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  983. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  984. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  985. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  986. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  987. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  988. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
  989. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
  990. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -21
  991. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -22
  992. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -21
  993. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -21
  994. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -21
  995. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -21
  996. data/lib/stripe/resources/account_notice.rb +0 -123
  997. data/lib/stripe/resources/billing/meter_usage.rb +0 -23
  998. data/lib/stripe/resources/billing/meter_usage_row.rb +0 -28
  999. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  1000. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  1001. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  1002. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  1003. data/lib/stripe/resources/financial_connections/institution.rb +0 -92
  1004. data/lib/stripe/resources/fx_quote.rb +0 -186
  1005. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  1006. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  1007. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  1008. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  1009. data/lib/stripe/resources/margin.rb +0 -115
  1010. data/lib/stripe/resources/order.rb +0 -2958
  1011. data/lib/stripe/resources/payment_attempt_record.rb +0 -1181
  1012. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -72
  1013. data/lib/stripe/resources/payment_record.rb +0 -1727
  1014. data/lib/stripe/resources/privacy/redaction_job.rb +0 -298
  1015. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -33
  1016. data/lib/stripe/resources/quote_line.rb +0 -274
  1017. data/lib/stripe/resources/quote_preview_invoice.rb +0 -680
  1018. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -395
  1019. data/lib/stripe/resources/tax/association.rb +0 -66
  1020. data/lib/stripe/resources/tax/form.rb +0 -211
  1021. data/lib/stripe/resources/terminal/onboarding_link.rb +0 -84
  1022. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  1023. data/lib/stripe/resources/v2/core/account.rb +0 -1938
  1024. data/lib/stripe/resources/v2/core/account_link.rb +0 -72
  1025. data/lib/stripe/resources/v2/core/person.rb +0 -276
  1026. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
  1027. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
  1028. data/lib/stripe/resources/v2/event.rb +0 -41
  1029. data/lib/stripe/resources/v2/event_destination.rb +0 -73
  1030. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
  1031. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
  1032. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
  1033. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -79
  1034. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
  1035. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
  1036. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
  1037. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
  1038. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
  1039. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
  1040. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -77
  1041. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
  1042. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -122
  1043. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -84
  1044. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -80
  1045. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -70
  1046. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -89
  1047. data/lib/stripe/services/account_notice_service.rb +0 -101
  1048. data/lib/stripe/services/billing/meter_usage_service.rb +0 -76
  1049. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  1050. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  1051. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  1052. data/lib/stripe/services/capital_service.rb +0 -15
  1053. data/lib/stripe/services/external_account_service.rb +0 -317
  1054. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -37
  1055. data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
  1056. data/lib/stripe/services/fx_quote_service.rb +0 -123
  1057. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  1058. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  1059. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  1060. data/lib/stripe/services/margin_service.rb +0 -119
  1061. data/lib/stripe/services/order_service.rb +0 -2388
  1062. data/lib/stripe/services/payment_attempt_record_service.rb +0 -52
  1063. data/lib/stripe/services/payment_record_service.rb +0 -562
  1064. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -240
  1065. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -37
  1066. data/lib/stripe/services/privacy_service.rb +0 -13
  1067. data/lib/stripe/services/tax/association_service.rb +0 -31
  1068. data/lib/stripe/services/tax/form_service.rb +0 -100
  1069. data/lib/stripe/services/terminal/onboarding_link_service.rb +0 -56
  1070. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  1071. data/lib/stripe/services/v2/core/account_link_service.rb +0 -114
  1072. data/lib/stripe/services/v2/core/account_service.rb +0 -4536
  1073. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1045
  1074. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -130
  1075. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -107
  1076. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  1077. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -74
  1078. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -119
  1079. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -82
  1080. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -125
  1081. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -95
  1082. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -199
  1083. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -235
  1084. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -172
  1085. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -90
  1086. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  1087. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -70
  1088. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -43
  1089. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -69
  1090. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -73
  1091. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  1092. data/lib/stripe/services/v2/payment_service.rb +0 -15
  1093. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -152
  1094. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  1095. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -53
  1096. data/lib/stripe/thin_event.rb +0 -37
  1097. data/stripe.gemspec +0 -47
data/CHANGELOG.md DELETED
@@ -1,2780 +0,0 @@
1
- # Changelog
2
-
3
- ## 15.6.0-beta.1 - 2025-08-27
4
- This release changes the pinned API version to `2025-08-27.preview`.
5
-
6
- * [#1629](https://github.com/stripe/stripe-ruby/pull/1629) Update generated code for beta
7
- * Add support for `list` and `retrieve` methods on resource `InvoicePayment`
8
- * Add support for `list` method on resource `Mandate`
9
- * Add support for `applied` on `V2::Core::Account::Configuration::Customer`, `V2::Core::Account::Configuration::Merchant`, `V2::Core::Account::Configuration::Recipient`, `V2::Core::Account::Configuration::Storer`, `V2::Core::Account::UpdateParams::Configuration::Customer`, `V2::Core::Account::UpdateParams::Configuration::Merchant`, `V2::Core::Account::UpdateParams::Configuration::Recipient`, and `V2::Core::Account::UpdateParams::Configuration::Storer`
10
- * Change type of `Billing::AlertTriggered.value` from `longInteger` to `decimal_string`
11
- * Add support for `display_name` on `V2::MoneyManagement::FinancialAccount::CreateParams` and `V2::MoneyManagement::FinancialAccount`
12
- * Add support for `currency_conversion` on `V2::MoneyManagement::Transaction::Flow` and `V2::MoneyManagement::TransactionEntry::TransactionDetail::Flow`
13
- * Add support for `payments` on `BalanceSettings::UpdateParams` and `BalanceSettings`
14
- * Remove support for `debit_negative_balances`, `payouts`, and `settlement_timing` on `BalanceSettings::UpdateParams` and `BalanceSettings`
15
- * Add support for `mandate` on `Charge::PaymentMethodDetail::Pix`, `PaymentAttemptRecord::PaymentMethodDetail::Pix`, and `PaymentRecord::PaymentMethodDetail::Pix`
16
- * Add support for `coupon_data` on `Checkout::Session::CreateParams::Discount`
17
- * Add support for `mandate_options` on `Checkout::Session::CreateParams::PaymentMethodOption::Pix`, `Checkout::Session::PaymentMethodOption::Pix`, `PaymentIntent::ConfirmParams::PaymentMethodOption::Pix`, `PaymentIntent::CreateParams::PaymentMethodOption::Pix`, `PaymentIntent::PaymentMethodOption::Pix`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Pix`
18
- * Change type of `Checkout::Session::CreateParams::PaymentMethodOption::Pix.setup_future_usage`, `Checkout::Session::PaymentMethodOption::Pix.setup_future_usage`, `PaymentIntent::ConfirmParams::PaymentMethodOption::Pix.setup_future_usage`, `PaymentIntent::CreateParams::PaymentMethodOption::Pix.setup_future_usage`, `PaymentIntent::PaymentMethodOption::Pix.setup_future_usage`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Pix.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')`
19
- * Add support for `amount` on `Mandate::MultiUse`, `PaymentAttemptRecord`, and `PaymentRecord`
20
- * Add support for `currency` on `Mandate::MultiUse`
21
- * Add support for `pix` on `Mandate::PaymentMethodDetail`, `SetupAttempt::PaymentMethodDetail`, `SetupIntent::ConfirmParams::PaymentMethodOption`, `SetupIntent::CreateParams::PaymentMethodOption`, `SetupIntent::PaymentMethodOption`, and `SetupIntent::UpdateParams::PaymentMethodOption`
22
- * Add support for `limit` on `PaymentAttemptRecord::ListParams`
23
- * Add support for `amount_authorized`, `amount_refunded`, and `application` on `PaymentAttemptRecord` and `PaymentRecord`
24
- * Add support for `processor_details` on `PaymentAttemptRecord`, `PaymentRecord::ReportPaymentParams`, and `PaymentRecord`
25
- * Remove support for `payment_reference` on `PaymentAttemptRecord`, `PaymentRecord::ReportPaymentParams`, and `PaymentRecord`
26
- * Add support for `installments` on `PaymentAttemptRecord::PaymentMethodDetail::Alma` and `PaymentRecord::PaymentMethodDetail::Alma`
27
- * Add support for `transaction_id` on `PaymentAttemptRecord::PaymentMethodDetail::Alma`, `PaymentAttemptRecord::PaymentMethodDetail::AmazonPay`, `PaymentAttemptRecord::PaymentMethodDetail::Billie`, `PaymentAttemptRecord::PaymentMethodDetail::KakaoPay`, `PaymentAttemptRecord::PaymentMethodDetail::KrCard`, `PaymentAttemptRecord::PaymentMethodDetail::NaverPay`, `PaymentAttemptRecord::PaymentMethodDetail::Payco`, `PaymentAttemptRecord::PaymentMethodDetail::RevolutPay`, `PaymentAttemptRecord::PaymentMethodDetail::SamsungPay`, `PaymentAttemptRecord::PaymentMethodDetail::Satispay`, `PaymentRecord::PaymentMethodDetail::Alma`, `PaymentRecord::PaymentMethodDetail::AmazonPay`, `PaymentRecord::PaymentMethodDetail::Billie`, `PaymentRecord::PaymentMethodDetail::KakaoPay`, `PaymentRecord::PaymentMethodDetail::KrCard`, `PaymentRecord::PaymentMethodDetail::NaverPay`, `PaymentRecord::PaymentMethodDetail::Payco`, `PaymentRecord::PaymentMethodDetail::RevolutPay`, `PaymentRecord::PaymentMethodDetail::SamsungPay`, and `PaymentRecord::PaymentMethodDetail::Satispay`
28
- * Add support for `location` and `reader` on `PaymentAttemptRecord::PaymentMethodDetail::Paynow` and `PaymentRecord::PaymentMethodDetail::Paynow`
29
- * Add support for `latest_active_mandate` on `PaymentMethod`
30
- * Change `Payout.payout_method` to be required
31
- * Add support for `metadata` and `period` on `QuotePreviewSubscriptionSchedule::Phase::AddInvoiceItem`
32
- * Add support for `pix_display_qr_code` on `SetupIntent::NextAction`
33
- * Add support for `reader_security` on `Terminal::Configuration::CreateParams`, `Terminal::Configuration::UpdateParams`, and `Terminal::Configuration`
34
-
35
- ## 15.5.0-beta.2 - 2025-08-08
36
- * [#1632](https://github.com/stripe/stripe-ruby/pull/1632) Bring back invoice payments APIs that were missing in the public preview SDKs
37
- * Add support for new resource `InvoicePayment`
38
- * Add support for `list` and `retrieve` methods on resource `InvoicePayment`
39
-
40
- ## 15.5.0-beta.1 - 2025-07-30
41
- This release changes the pinned API version to `2025-07-30.preview`.
42
-
43
- * [#1624](https://github.com/stripe/stripe-ruby/pull/1624) Update generated code for beta
44
- * Add support for new resources `Billing::MeterUsageRow`, `Billing::MeterUsage`, and `Terminal::OnboardingLink`
45
- * Add support for `retrieve` method on resource `Billing::MeterUsage`
46
- * Add support for `create` method on resource `Terminal::OnboardingLink`
47
- * Add support for `monthly_payout_days` and `weekly_payout_days` on `BalanceSettings::Payout::Schedule` and `BalanceSettings::UpdateParams::Payout::Schedule`
48
- * Remove support for `monthly_anchor` and `weekly_anchor` on `BalanceSettings::Payout::Schedule` and `BalanceSettings::UpdateParams::Payout::Schedule`
49
- * Add support for `delay_days_override` on `BalanceSettings::UpdateParams::SettlementTiming`
50
- * Remove support for `delay_days` on `BalanceSettings::UpdateParams::SettlementTiming`
51
- * Add support for `update_discounts` on `Checkout::Session::CreateParams::Permission`
52
- * Add support for `discounts` and `subscription_data` on `Checkout::Session::UpdateParams`
53
- * Add support for `smart_disputes` on `Dispute`
54
- * Add support for `upi` on `Invoice::CreateParams::PaymentSetting::PaymentMethodOption`, `Invoice::PaymentSetting::PaymentMethodOption`, `Invoice::UpdateParams::PaymentSetting::PaymentMethodOption`, `QuotePreviewInvoice::PaymentSetting::PaymentMethodOption`, `Subscription::CreateParams::PaymentSetting::PaymentMethodOption`, `Subscription::PaymentSetting::PaymentMethodOption`, and `Subscription::UpdateParams::PaymentSetting::PaymentMethodOption`
55
- * Add support for `transaction_id` on `PaymentAttemptRecord::PaymentMethodDetail::Cashapp` and `PaymentRecord::PaymentMethodDetail::Cashapp`
56
- * Add support for `amount_details` on `PaymentIntent::CaptureParams`, `PaymentIntent::ConfirmParams`, `PaymentIntent::CreateParams`, `PaymentIntent::IncrementAuthorizationParams`, and `PaymentIntent::UpdateParams`
57
- * Add support for `payment_details` on `PaymentIntent::IncrementAuthorizationParams`
58
- * Add support for `storer` on `V2::Core::Account::CreateParams::Identity::Attestation::TermsOfService`, `V2::Core::Account::Identity::Attestation::TermsOfService`, and `V2::Core::Account::UpdateParams::Identity::Attestation::TermsOfService`
59
- * Add support for `collection_options` on `V2::Core::AccountLink::CreateParams::UseCase::AccountOnboarding`, `V2::Core::AccountLink::CreateParams::UseCase::AccountUpdate`, `V2::Core::AccountLink::UseCase::AccountOnboarding`, and `V2::Core::AccountLink::UseCase::AccountUpdate`
60
- * Change type of `V2::Core::AccountLink::CreateParams::UseCase::AccountOnboarding.configurations`, `V2::Core::AccountLink::CreateParams::UseCase::AccountUpdate.configurations`, `V2::Core::AccountLink::UseCase::AccountOnboarding.configurations`, and `V2::Core::AccountLink::UseCase::AccountUpdate.configurations` from `literal('recipient')` to `enum('customer'|'merchant'|'recipient'|'storer')`
61
- * Add support for `bank_account_type` on `V2::MoneyManagement::PayoutMethod::BankAccount`
62
- * Add support for thin event `V2CoreAccountLinkReturnedEvent`
63
- * Add support for thin event `V2MoneyManagementPayoutMethodUpdatedEvent` with related object `V2::MoneyManagement::PayoutMethod`
64
- * Remove support for thin event `V2CoreAccountLinkCompletedEvent`
65
- * Remove support for thin event `V2OffSessionPaymentRequiresCaptureEvent` with related object `V2::Payments::OffSessionPayment`
66
-
67
- ## 15.4.0 - 2025-07-30
68
- This release changes the pinned API version to `2025-07-30.basil`.
69
-
70
- * [#1627](https://github.com/stripe/stripe-ruby/pull/1627) Update generated code
71
- * Add support for `instant_payouts_promotion` on `AccountSession::Component` and `AccountSession::CreateParams::Component`
72
- * Add support for `adjustable_quantity` on `BillingPortal::Configuration::CreateParams::Feature::SubscriptionUpdate::Product`, `BillingPortal::Configuration::Feature::SubscriptionUpdate::Product`, and `BillingPortal::Configuration::UpdateParams::Feature::SubscriptionUpdate::Product`
73
- * Add support for `transaction_id` on `Charge::PaymentMethodDetail::Cashapp`
74
- * Add support for `origin_context` on `Checkout::Session::CreateParams` and `Checkout::Session`
75
- * Add support for `template` on `Checkout::Session::CreateParams::InvoiceCreation::InvoiceDatum::RenderingOption`, `Checkout::Session::InvoiceCreation::InvoiceDatum::RenderingOption`, `PaymentLink::CreateParams::InvoiceCreation::InvoiceDatum::RenderingOption`, `PaymentLink::InvoiceCreation::InvoiceDatum::RenderingOption`, and `PaymentLink::UpdateParams::InvoiceCreation::InvoiceDatum::RenderingOption`
76
- * Add support for `setup_future_usage` on `Checkout::Session::CreateParams::PaymentMethodOption::Pix` and `Checkout::Session::PaymentMethodOption::Pix`
77
- * Change `Identity::VerificationSession::RelatedPerson.account` to be required
78
- * Change `Identity::VerificationSession::RelatedPerson.person` to be required
79
- * Add support for `duration` on `Invoice::CreatePreviewParams::ScheduleDetail::Phase`, `SubscriptionSchedule::CreateParams::Phase`, and `SubscriptionSchedule::UpdateParams::Phase`
80
- * Change type of `Invoice::CreatePreviewParams::SubscriptionDetail.cancel_at`, `Subscription::CreateParams.cancel_at`, and `Subscription::UpdateParams.cancel_at` from `DateTime` to `DateTime | enum('max_period_end'|'min_period_end')`
81
- * Add support for `price_data` on `PaymentLink::CreateParams::LineItem`
82
- * Change `PaymentLink::CreateParams::LineItem.price` to be optional
83
- * Add support for `standard` on `Tax::Registration::CountryOption::Ae`, `Tax::Registration::CountryOption::Au`, `Tax::Registration::CountryOption::Ch`, `Tax::Registration::CountryOption::Gb`, `Tax::Registration::CountryOption::Jp`, `Tax::Registration::CountryOption::No`, `Tax::Registration::CountryOption::Nz`, `Tax::Registration::CountryOption::Sg`, `Tax::Registration::CreateParams::CountryOption::Ae`, `Tax::Registration::CreateParams::CountryOption::Al`, `Tax::Registration::CreateParams::CountryOption::Ao`, `Tax::Registration::CreateParams::CountryOption::Au`, `Tax::Registration::CreateParams::CountryOption::Aw`, `Tax::Registration::CreateParams::CountryOption::B`, `Tax::Registration::CreateParams::CountryOption::Ba`, `Tax::Registration::CreateParams::CountryOption::Bb`, `Tax::Registration::CreateParams::CountryOption::Bd`, `Tax::Registration::CreateParams::CountryOption::Bf`, `Tax::Registration::CreateParams::CountryOption::Bh`, `Tax::Registration::CreateParams::CountryOption::Cd`, `Tax::Registration::CreateParams::CountryOption::Ch`, `Tax::Registration::CreateParams::CountryOption::Et`, `Tax::Registration::CreateParams::CountryOption::Gb`, `Tax::Registration::CreateParams::CountryOption::Gn`, `Tax::Registration::CreateParams::CountryOption::Is`, `Tax::Registration::CreateParams::CountryOption::Jp`, `Tax::Registration::CreateParams::CountryOption::Me`, `Tax::Registration::CreateParams::CountryOption::Mk`, `Tax::Registration::CreateParams::CountryOption::Mr`, `Tax::Registration::CreateParams::CountryOption::No`, `Tax::Registration::CreateParams::CountryOption::Nz`, `Tax::Registration::CreateParams::CountryOption::Om`, `Tax::Registration::CreateParams::CountryOption::R`, `Tax::Registration::CreateParams::CountryOption::Sg`, `Tax::Registration::CreateParams::CountryOption::Sr`, `Tax::Registration::CreateParams::CountryOption::Uy`, `Tax::Registration::CreateParams::CountryOption::Za`, and `Tax::Registration::CreateParams::CountryOption::Zw`
84
- * Add support for `aed`, `bgn`, `huf`, and `ron` on `Terminal::Configuration::CreateParams::Tipping`, `Terminal::Configuration::Tipping`, and `Terminal::Configuration::UpdateParams::Tipping`
85
-
86
- ## 15.4.0-beta.2 - 2025-07-09
87
- * [#1625](https://github.com/stripe/stripe-ruby/pull/1625) Pull in V2 FinancialAccount changes for June release
88
- * Add support for `close` and `create` methods on resource `V2::MoneyManagement::FinancialAccount`
89
- * Add support for `storer` on `V2::Core::Account::Configuration`, `V2::Core::Account::CreateParams::Configuration`, and `V2::Core::Account::UpdateParams::Configuration`
90
- * Add support for `status_details` on `V2::MoneyManagement::FinancialAccount`
91
- * Add support for `status` on `V2::MoneyManagement::FinancialAccount::ListParams`
92
- * Add support for thin events `V2CoreAccountIncludingConfigurationStorerCapabilityStatusUpdatedEvent` and `V2CoreAccountIncludingConfigurationStorerUpdatedEvent` with related object `V2::Core::Account`
93
- * Add support for error types `AlreadyExistsError` and `NonZeroBalanceError`
94
-
95
- ## 15.4.0-beta.1 - 2025-07-01
96
- This release changes the pinned API version to `2025-06-30.preview`.
97
-
98
- * [#1607](https://github.com/stripe/stripe-ruby/pull/1607) Update generated code for beta
99
- * Change type of `Checkout::Session::CreateParams::SubscriptionDatum.billing_mode`, `Invoice::CreatePreviewParams::ScheduleDetail.billing_mode`, `Invoice::CreatePreviewParams::SubscriptionDetail.billing_mode`, `Quote::CreateParams::SubscriptionDatum.billing_mode`, `Quote::SubscriptionDatum.billing_mode`, `Subscription::CreateParams.billing_mode`, and `SubscriptionSchedule::CreateParams.billing_mode` from `enum('classic'|'flexible')` to `billing_mode`
100
- * Add support for `submission_method` on `Dispute::EvidenceDetail`
101
- * Add support for `on_demand` and `subscriptions` on `Order::CreateParams::Payment::Setting::PaymentMethodOption::Klarna` and `Order::UpdateParams::Payment::Setting::PaymentMethodOption::Klarna`
102
- * Change type of `Order::CreateParams::Payment::Setting::PaymentMethodOption::Klarna.setup_future_usage`, `Order::Payment::Setting::PaymentMethodOption::Klarna.setup_future_usage`, and `Order::UpdateParams::Payment::Setting::PaymentMethodOption::Klarna.setup_future_usage` from `literal('none')` to `enum('none'|'off_session'|'on_session')`
103
- * Add support for `crypto` on `PaymentAttemptRecord::PaymentMethodDetail` and `PaymentRecord::PaymentMethodDetail`
104
- * Change type of `PaymentIntent::ConfirmParams::PaymentMethodOption::Gopay.setup_future_usage`, `PaymentIntent::CreateParams::PaymentMethodOption::Gopay.setup_future_usage`, `PaymentIntent::PaymentMethodOption::Gopay.setup_future_usage`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Gopay.setup_future_usage` from `literal('none')` to `enum('none'|'off_session')`
105
- * Change `Quote::SubscriptionDatum.billing_mode`, `QuotePreviewSubscriptionSchedule.billing_mode`, `Subscription.billing_mode`, and `SubscriptionSchedule.billing_mode` to be required
106
- * Change type of `QuotePreviewSubscriptionSchedule.billing_mode`, `Subscription.billing_mode`, and `SubscriptionSchedule.billing_mode` from `enum('classic'|'flexible')` to `SubscriptionsResourceBillingMode`
107
- * Change type of `Subscription::MigrateParams.billing_mode` from `literal('flexible')` to `billing_mode_migrate`
108
- * Remove support for `billing_mode_details` on `Subscription`
109
- * Add support for `proof_of_address` on `V2::Core::Account::CreateParams::Identity::BusinessDetail::Document`, `V2::Core::Account::Identity::BusinessDetail::Document`, and `V2::Core::Account::UpdateParams::Identity::BusinessDetail::Document`
110
- * Add support for `metadata` on `V2::MoneyManagement::FinancialAccount`
111
- * Remove support for `description` on `V2::MoneyManagement::FinancialAccount`
112
- * Remove support for `attempts` on `V2::Payments::OffSessionPayment`
113
- * Change type of `V2::Payments::OffSessionPayment::TransferDatum.amount` from `integer` to `nullable(integer)`
114
- * Add support for `from_account`, `outbound_payment`, and `outbound_transfer` on `V2::MoneyManagement::ReceivedCredit::BalanceTransfer`
115
- * Change type of `V2::MoneyManagement::ReceivedCredit::BalanceTransfer.type` from `literal('payout_v1')` to `enum('outbound_payment'|'outbound_transfer'|'payout_v1')`
116
- * Change type of `V2::MoneyManagement::ReceivedCredit::BalanceTransfer.payout_v1` from `string` to `nullable(string)`
117
- * Change `V2::Payments::OffSessionPayment::CreateParams::TransferDatum.amount` to be optional
118
-
119
- ## 15.3.0 - 2025-07-01
120
- This release changes the pinned API version to `2025-06-30.basil`.
121
-
122
- * [#1618](https://github.com/stripe/stripe-ruby/pull/1618) Update generated code
123
- * Add support for `migrate` method on resource `Subscription`
124
- * Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal::Reader`
125
- * Add support for `crypto_payments` on `Account::Capability`, `Account::CreateParams::Capability`, and `Account::UpdateParams::Capability`
126
- * Add support for `proof_of_address` on `Account::CreateParams::Document` and `Account::UpdateParams::Document`
127
- * Add support for `monthly_payout_days` and `weekly_payout_days` on `Account::CreateParams::Setting::Payout::Schedule`, `Account::Setting::Payout::Schedule`, and `Account::UpdateParams::Setting::Payout::Schedule`
128
- * Change `Account::Setting::Invoice.hosted_payment_method_save` to be required
129
- * Add support for `crypto` on `Charge::PaymentMethodDetail`, `ConfirmationToken::CreateParams::PaymentMethodDatum`, `ConfirmationToken::PaymentMethodPreview`, `PaymentIntent::ConfirmParams::PaymentMethodDatum`, `PaymentIntent::ConfirmParams::PaymentMethodOption`, `PaymentIntent::CreateParams::PaymentMethodDatum`, `PaymentIntent::CreateParams::PaymentMethodOption`, `PaymentIntent::PaymentMethodOption`, `PaymentIntent::UpdateParams::PaymentMethodDatum`, `PaymentIntent::UpdateParams::PaymentMethodOption`, `PaymentMethod::CreateParams`, `PaymentMethod`, `SetupIntent::ConfirmParams::PaymentMethodDatum`, `SetupIntent::CreateParams::PaymentMethodDatum`, and `SetupIntent::UpdateParams::PaymentMethodDatum`
130
- * Change type of `Charge::PaymentMethodDetail::Card::Installment::Plan.type`, `ConfirmationToken::CreateParams::PaymentMethodOption::Card::Installment::Plan.type`, `ConfirmationToken::PaymentMethodOption::Card::Installment::Plan.type`, `Invoice::CreateParams::PaymentSetting::PaymentMethodOption::Card::Installment::Plan.type`, `Invoice::UpdateParams::PaymentSetting::PaymentMethodOption::Card::Installment::Plan.type`, `PaymentIntent::ConfirmParams::PaymentMethodOption::Card::Installment::Plan.type`, `PaymentIntent::CreateParams::PaymentMethodOption::Card::Installment::Plan.type`, `PaymentIntent::PaymentMethodOption::Card::Installment::AvailablePlan.type`, `PaymentIntent::PaymentMethodOption::Card::Installment::Plan.type`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Card::Installment::Plan.type` from `literal('fixed_count')` to `enum('bonus'|'fixed_count'|'revolving')`
131
- * Add support for `subscriptions` on `Checkout::Session::CreateParams::PaymentMethodOption::Klarna`, `PaymentIntent::ConfirmParams::PaymentMethodOption::Klarna`, `PaymentIntent::CreateParams::PaymentMethodOption::Klarna`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Klarna`
132
- * Add support for `billing_mode` on `Checkout::Session::CreateParams::SubscriptionDatum`, `Invoice::CreatePreviewParams::ScheduleDetail`, `Invoice::CreatePreviewParams::SubscriptionDetail`, `Quote::CreateParams::SubscriptionDatum`, `Quote::SubscriptionDatum`, `Subscription::CreateParams`, `SubscriptionSchedule::CreateParams`, `SubscriptionSchedule`, and `Subscription`
133
- * Change type of `Dispute.enhanced_eligibility_types` from `literal('visa_compelling_evidence_3')` to `enum('visa_compelling_evidence_3'|'visa_compliance')`
134
- * Add support for `related_person` on `Identity::VerificationSession::CreateParams` and `Identity::VerificationSession`
135
- * Add support for `matching` on `Identity::VerificationSession::Option`
136
- * Add support for `klarna` on `Mandate::PaymentMethodDetail`, `SetupIntent::ConfirmParams::PaymentMethodOption`, `SetupIntent::CreateParams::PaymentMethodOption`, `SetupIntent::PaymentMethodOption`, and `SetupIntent::UpdateParams::PaymentMethodOption`
137
- * Add support for `on_demand` on `PaymentIntent::ConfirmParams::PaymentMethodOption::Klarna`, `PaymentIntent::CreateParams::PaymentMethodOption::Klarna`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Klarna`
138
- * Change type of `PaymentIntent::ConfirmParams::PaymentMethodOption::Klarna.setup_future_usage`, `PaymentIntent::CreateParams::PaymentMethodOption::Klarna.setup_future_usage`, `PaymentIntent::PaymentMethodOption::Klarna.setup_future_usage`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Klarna.setup_future_usage` from `literal('none')` to `enum('none'|'off_session'|'on_session')`
139
- * Add support for `ua` on `Tax::Registration::CountryOption` and `Tax::Registration::CreateParams::CountryOption`
140
- * Change type of `Terminal::Location::UpdateParams.display_name` from `string` to `emptyable(string)`
141
- * Add support for `collect_payment_method` and `confirm_payment_intent` on `Terminal::Reader::Action`
142
- * Add support for `status` on `Treasury::FinancialAccount::ListParams`
143
- * [#1615](https://github.com/stripe/stripe-ruby/pull/1615) Update README to mention that APIResource.request was removed
144
- * [#1619](https://github.com/stripe/stripe-ruby/pull/1619) Updated StripeClient snippets in README
145
- * [#1620](https://github.com/stripe/stripe-ruby/pull/1620) Fix `raw_request` example in README
146
-
147
- ## 15.3.0-beta.2 - 2025-06-26
148
- * [#1623](https://github.com/stripe/stripe-ruby/pull/1623) Pull in OffSessionPayment changes for the May release
149
-
150
- ## 15.3.0-beta.1 - 2025-05-29
151
- This release changes the pinned API version to `2025-05-28.preview`.
152
-
153
- * [#1599](https://github.com/stripe/stripe-ruby/pull/1599) Update generated code for beta
154
- ### Breaking changes
155
- * Remove support for deprecated previews
156
- * Remove support for resources `Billing::MeterErrorReport`, `GiftCards::Card`, `GiftCards::Transaction`, and `Privacy::RedactionJobRootObjects`
157
- * Remove support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `GiftCards::Card`
158
- * Remove support for `cancel`, `confirm`, `create`, `list`, `retrieve`, and `update` methods on resource `GiftCards::Transaction`
159
- * Remove support for `provisioning` on `Product::CreateParams` and `Product`
160
- * Change type of `Checkout::Session::UpdateParams::LineItem.quantity` from `emptyable(longInteger)` to `longInteger`
161
- * Change `CreditNote.post_payment_amount` to be required
162
- * Change `CreditNote.pre_payment_amount` to be required
163
- * Remove support for `credits` on `Order::CreateParams`, `Order::UpdateParams`, and `Order`
164
- * Remove support for `amount_remaining` on `Order`
165
- * Remove support for `amount_credit` on `Order::TotalDetail`
166
- * Change type of `Invoice::CreatePreviewParams::SubscriptionDetail.cancel_at`, `Subscription::CreateParams.cancel_at`, and `Subscription::UpdateParams.cancel_at` from `DateTime` to `DateTime | enum('max_period_end'|'min_period_end')`
167
- * Change type of `PaymentAttemptRecord.metadata` and `PaymentRecord.metadata` from `nullable(map(string: string))` to `map(string: string)`
168
- * Change type of `PaymentRecord::ReportPaymentAttemptCanceledParams.metadata`, `PaymentRecord::ReportPaymentAttemptFailedParams.metadata`, `PaymentRecord::ReportPaymentAttemptGuaranteedParams.metadata`, `PaymentRecord::ReportPaymentAttemptParams.metadata`, and `PaymentRecord::ReportPaymentParams.metadata` from `map(string: string)` to `emptyable(map(string: string))`
169
- * Change type of `Privacy::RedactionJob.objects` from `$Privacy.RedactionJobRootObjects` to `RedactionResourceRootObjects`
170
- * Change type of `Privacy::RedactionJobValidationError.erroring_object` from `map(string: string)` to `RedactionResourceErroringObject`
171
- * Remove support for `async_workflows` on `PaymentIntent::CaptureParams`, `PaymentIntent::ConfirmParams`, `PaymentIntent::CreateParams`, `PaymentIntent::DecrementAuthorizationParams`, `PaymentIntent::IncrementAuthorizationParams`, `PaymentIntent::UpdateParams`, and `PaymentIntent`
172
- * Remove support for `status_details` and `status` on `Tax::Association`
173
-
174
- ### Other changes
175
- * Add support for `migrate` method on resource `Subscription`
176
- * Add support for `distance`, `pickup_location_name`, `return_location_name`, and `vehicle_identification_number` on `Charge::CaptureParams::PaymentDetail::CarRental`, `Charge::UpdateParams::PaymentDetail::CarRental`, `PaymentIntent::CaptureParams::PaymentDetail::CarRental`, `PaymentIntent::ConfirmParams::PaymentDetail::CarRental`, `PaymentIntent::CreateParams::PaymentDetail::CarRental`, `PaymentIntent::PaymentDetail::CarRental`, and `PaymentIntent::UpdateParams::PaymentDetail::CarRental`
177
- * Add support for `driver_identification_number` and `driver_tax_number` on `Charge::CaptureParams::PaymentDetail::CarRental::Driver`, `Charge::UpdateParams::PaymentDetail::CarRental::Driver`, `PaymentIntent::CaptureParams::PaymentDetail::CarRental::Driver`, `PaymentIntent::ConfirmParams::PaymentDetail::CarRental::Driver`, `PaymentIntent::CreateParams::PaymentDetail::CarRental::Driver`, `PaymentIntent::PaymentDetail::CarRental::Driver`, and `PaymentIntent::UpdateParams::PaymentDetail::CarRental::Driver`
178
- * Add support for `institution` on `FinancialConnections::Account`
179
- * Add support for `countries` on `FinancialConnections::Institution`
180
- * Add support for `location` and `reader` on `PaymentAttemptRecord::PaymentMethodDetail::Affirm`, `PaymentAttemptRecord::PaymentMethodDetail::WechatPay`, `PaymentRecord::PaymentMethodDetail::Affirm`, and `PaymentRecord::PaymentMethodDetail::WechatPay`
181
- * Add support for `hooks` on `PaymentIntent::CaptureParams`, `PaymentIntent::ConfirmParams`, `PaymentIntent::CreateParams`, `PaymentIntent::DecrementAuthorizationParams`, `PaymentIntent::IncrementAuthorizationParams`, `PaymentIntent::UpdateParams`, and `PaymentIntent`
182
- * Add support for `card_present` on `PaymentIntentAmountDetailsLineItem::PaymentMethodOption`
183
- * Add support for `livemode` on `Privacy::RedactionJob`
184
- * Add support for `billing_thresholds` on `QuotePreviewSubscriptionSchedule::DefaultSetting`, `QuotePreviewSubscriptionSchedule::Phase::Item`, and `QuotePreviewSubscriptionSchedule::Phase`
185
- * Add support for `billing_mode_details` on `Subscription`
186
- * Add support for `tax_transaction_attempts` on `Tax::Association`
187
- * Add support for `confirm_config` on `Terminal::Reader::Action::ConfirmPaymentIntent` and `Terminal::Reader::ConfirmPaymentIntentParams`
188
-
189
- ## 15.2.1 - 2025-06-04
190
- * [#1617](https://github.com/stripe/stripe-ruby/pull/1617) Fix `nil` requestor in `Webhook.construct_event` to allow for event data refresh
191
- * Fix bug where `Event` constructed from `Webhook.construct_event` could not be refreshed due to a `nil` APIRequestor
192
- * Raised in https://github.com/stripe/stripe-ruby/issues/1616
193
-
194
- ## 15.2.0 - 2025-05-29
195
- This release changes the pinned API version to `2025-05-28.basil`.
196
-
197
- * [#1605](https://github.com/stripe/stripe-ruby/pull/1605) Update generated code
198
- * Add support for `attach_payment` method on resource `Invoice`
199
- * Add support for `collect_inputs` method on resource `Terminal::Reader`
200
- * Add support for `succeed_input_collection` and `timeout_input_collection` test helper methods on resource `Terminal::Reader`
201
- * Add support for `pix_payments` on `Account::Capability`, `Account::CreateParams::Capability`, and `Account::UpdateParams::Capability`
202
- * Add support for `disputes_list` and `payment_disputes` on `AccountSession::Component` and `AccountSession::CreateParams::Component`
203
- * Add support for `refund_and_dispute_prefunding` on `Balance`
204
- * Add support for `balance_type` on `BalanceTransaction`
205
- * Change `Billing::Alert::CreateParams::UsageThreshold.meter` to be required
206
- * Add support for `location` and `reader` on `Charge::PaymentMethodDetail::Affirm` and `Charge::PaymentMethodDetail::WechatPay`
207
- * Add support for `payment_method_remove` on `Checkout::Session::CreateParams::SavedPaymentMethodOption`
208
- * Add support for `setup_future_usage` on `Checkout::Session::PaymentMethodOption::NaverPay`
209
- * Change `ConfirmationToken::PaymentMethodPreview::NaverPay.buyer_id` and `PaymentMethod::NaverPay.buyer_id` to be required
210
- * Add support for `post_payment_amount` and `pre_payment_amount` on `CreditNote`
211
- * Add support for `sex`, `unparsed_place_of_birth`, and `unparsed_sex` on `Identity::VerificationReport::Document` and `Identity::VerificationSession::VerifiedOutput`
212
- * Add support for `billing_thresholds` on `Invoice::CreatePreviewParams::ScheduleDetail::Phase::Item`, `Invoice::CreatePreviewParams::ScheduleDetail::Phase`, `Invoice::CreatePreviewParams::SubscriptionDetail::Item`, `Subscription::CreateParams::Item`, `Subscription::CreateParams`, `Subscription::UpdateParams::Item`, `Subscription::UpdateParams`, `SubscriptionItem::CreateParams`, `SubscriptionItem::UpdateParams`, `SubscriptionItem`, `SubscriptionSchedule::CreateParams::DefaultSetting`, `SubscriptionSchedule::CreateParams::Phase::Item`, `SubscriptionSchedule::CreateParams::Phase`, `SubscriptionSchedule::DefaultSetting`, `SubscriptionSchedule::Phase::Item`, `SubscriptionSchedule::Phase`, `SubscriptionSchedule::UpdateParams::DefaultSetting`, `SubscriptionSchedule::UpdateParams::Phase::Item`, `SubscriptionSchedule::UpdateParams::Phase`, and `Subscription`
213
- * Add support for `satispay` on `PaymentIntent::ConfirmParams::PaymentMethodOption`, `PaymentIntent::CreateParams::PaymentMethodOption`, `PaymentIntent::PaymentMethodOption`, and `PaymentIntent::UpdateParams::PaymentMethodOption`
214
- * Add support for `capture_method` on `PaymentIntent::PaymentMethodOption::Billie`
215
- * Add support for `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on `PaymentMethodConfiguration::CreateParams`, `PaymentMethodConfiguration::UpdateParams`, and `PaymentMethodConfiguration`
216
- * Add support for `network_decline_code` on `Refund::DestinationDetail::Paypal`
217
- * Add support for `metadata` on `Tax::Calculation::CreateParams::LineItem` and `Tax::CalculationLineItem`
218
- * Add support for `return_url` on `Terminal::Reader::Action::ProcessPaymentIntent::ProcessConfig` and `Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig`
219
- * Add support for `collect_inputs` on `Terminal::Reader::Action`
220
- * [#1601](https://github.com/stripe/stripe-ruby/pull/1601) Adds CONTRIBUTING.md
221
-
222
- ## 15.2.0-beta.1 - 2025-04-30
223
- * [#1589](https://github.com/stripe/stripe-ruby/pull/1589) Update generated code for beta
224
- This release changes the pinned API version to `2025-04-30.preview`.
225
-
226
- * Add support for `billing_mode` on `Checkout::Session::CreateParams::SubscriptionDatum`, `Invoice::CreatePreviewParams::ScheduleDetail`, `Invoice::CreatePreviewParams::SubscriptionDetail`, `Quote::CreateParams::SubscriptionDatum`, `Quote::SubscriptionDatum`, `QuotePreviewSubscriptionSchedule`, `Subscription::CreateParams`, `SubscriptionSchedule::CreateParams`, `SubscriptionSchedule`, and `Subscription`
227
- * Change `Checkout::Session::AutomaticTax.provider`, `Invoice::AutomaticTax.provider`, `Quote::AutomaticTax.provider`, and `QuotePreviewInvoice::AutomaticTax.provider` to be required
228
- * Add support for `account_number` on `ConfirmationToken::PaymentMethodPreview::AcssDebit` and `PaymentMethod::AcssDebit`
229
-
230
- ## 15.1.0 - 2025-04-30
231
-
232
- This release changes the pinned API version to `2025-04-30.basil`.
233
-
234
- * [#1566](https://github.com/stripe/stripe-ruby/pull/1566) Update generated code
235
- * Add support for `minority_owned_business_designation` on `Account::BusinessProfile`, `Account::CreateParams::BusinessProfile`, and `Account::UpdateParams::BusinessProfile`
236
- * Add support for `registration_date` on `Account::Company`, `Account::CreateParams::Company`, `Account::UpdateParams::Company`, and `Token::CreateParams::Account::Company`
237
- * Add support for `us_cfpb_data` on `Account::CreateParams`, `Account::UpdateParams`, `AccountPerson::CreateParams`, `AccountPerson::UpdateParams`, `Person`, and `Token::CreateParams::Person`
238
- * Add support for `tax_id` on `Charge::BillingDetail`, `ConfirmationToken::CreateParams::PaymentMethodDatum::BillingDetail`, `ConfirmationToken::PaymentMethodPreview::BillingDetail`, `PaymentIntent::ConfirmParams::PaymentMethodDatum::BillingDetail`, `PaymentIntent::CreateParams::PaymentMethodDatum::BillingDetail`, `PaymentIntent::UpdateParams::PaymentMethodDatum::BillingDetail`, `PaymentMethod::BillingDetail`, `PaymentMethod::CreateParams::BillingDetail`, `PaymentMethod::UpdateParams::BillingDetail`, `SetupIntent::ConfirmParams::PaymentMethodDatum::BillingDetail`, `SetupIntent::CreateParams::PaymentMethodDatum::BillingDetail`, `SetupIntent::UpdateParams::PaymentMethodDatum::BillingDetail`, `TestHelpers::ConfirmationToken::CreateParams::PaymentMethodDatum::BillingDetail`, and `Treasury::OutboundPayment::CreateParams::DestinationPaymentMethodDatum::BillingDetail`
239
- * Add support for `wallet_options` on `Checkout::Session::CreateParams` and `Checkout::Session`
240
- * Add support for `provider` on `Checkout::Session::AutomaticTax`, `Invoice::AutomaticTax`, and `Quote::AutomaticTax`
241
- * Add support for `payment_method_options` on `ConfirmationToken::CreateParams` and `TestHelpers::ConfirmationToken::CreateParams`
242
- * Add support for `installments` on `ConfirmationToken::PaymentMethodOption::Card`
243
- * Add support for `context` on `Event`
244
- * Change type of `InvoiceLineItem::Parent::SubscriptionItemDetail.subscription` from `string` to `nullable(string)`
245
- * Add support for `billie` on `PaymentIntent::ConfirmParams::PaymentMethodOption`, `PaymentIntent::CreateParams::PaymentMethodOption`, `PaymentIntent::PaymentMethodOption`, and `PaymentIntent::UpdateParams::PaymentMethodOption`
246
- * Add support for `pix` on `PaymentMethodConfiguration::CreateParams`, `PaymentMethodConfiguration::UpdateParams`, and `PaymentMethodConfiguration`
247
- * Add support for `klarna` on `PaymentMethodDomain`
248
- * Add support for `pending_reason` on `Refund`
249
- * Change type of `Tax::CalculationLineItem.reference` from `nullable(string)` to `string`
250
- * Add support for `aw`, `az`, `bd`, `bf`, `bj`, `cm`, `cv`, `et`, `in`, `kg`, `la`, and `ph` on `Tax::Registration::CountryOption` and `Tax::Registration::CreateParams::CountryOption`
251
- * [#1585](https://github.com/stripe/stripe-ruby/pull/1585) Updated rubocop from 1.57.2 to 1.75.2
252
- * [#1583](https://github.com/stripe/stripe-ruby/pull/1583) Include new Ruby 3.4 in CI
253
- * [#1581](https://github.com/stripe/stripe-ruby/pull/1581) Added rubocop exclusion for generated tests
254
-
255
- ## 15.1.0-beta.2 - 2025-04-17
256
- * [#1578](https://github.com/stripe/stripe-ruby/pull/1578) Update generated code for beta
257
- * Add support for new resources `FxQuote` and `PaymentIntentAmountDetailsLineItem`
258
- * Add support for `create`, `list`, and `retrieve` methods on resource `FxQuote`
259
- * Remove support for `attach_payment_intent` method on resource `Invoice`
260
- * Add support for `registration_date` on `Account::Company`, `Account::CreateParams::Company`, `Account::UpdateParams::Company`, and `Token::CreateParams::Account::Company`
261
- * Add support for `customer_reference` and `order_reference` on `Charge::CaptureParams::PaymentDetail`, `Charge::UpdateParams::PaymentDetail`, `PaymentIntent::CaptureParams::PaymentDetail`, `PaymentIntent::ConfirmParams::PaymentDetail`, `PaymentIntent::CreateParams::PaymentDetail`, `PaymentIntent::PaymentDetail`, and `PaymentIntent::UpdateParams::PaymentDetail`
262
- * Add support for `tax_id` on `Charge::BillingDetail`, `ConfirmationToken::CreateParams::PaymentMethodDatum::BillingDetail`, `ConfirmationToken::PaymentMethodPreview::BillingDetail`, `PaymentIntent::ConfirmParams::PaymentMethodDatum::BillingDetail`, `PaymentIntent::CreateParams::PaymentMethodDatum::BillingDetail`, `PaymentIntent::UpdateParams::PaymentMethodDatum::BillingDetail`, `PaymentMethod::BillingDetail`, `PaymentMethod::CreateParams::BillingDetail`, `PaymentMethod::UpdateParams::BillingDetail`, `SetupIntent::ConfirmParams::PaymentMethodDatum::BillingDetail`, `SetupIntent::CreateParams::PaymentMethodDatum::BillingDetail`, `SetupIntent::UpdateParams::PaymentMethodDatum::BillingDetail`, and `TreasuryOutboundPayment::CreateParams::DestinationPaymentMethodDatum::BillingDetail`
263
- * Add support for `price_data` on `CheckoutSession::UpdateParams::LineItem`
264
- * Change type of `CheckoutSession::UpdateParams::LineItem.quantity` from `longInteger` to `emptyable(longInteger)`
265
- * Add support for `script` on `Coupon::CreateParams` and `Coupon`
266
- * Add support for `type` on `Coupon`
267
- * Add support for `fx_quote` on `PaymentIntent::ConfirmParams`, `PaymentIntent::CreateParams`, `PaymentIntent::UpdateParams`, `PaymentIntent`, `Transfer::CreateParams`, and `Transfer`
268
- * Add support for `discount_amount`, `line_items`, `shipping`, and `tax` on `PaymentIntent::AmountDetail`
269
- * Add support for `pix` on `PaymentMethodConfiguration::CreateParams`, `PaymentMethodConfiguration::UpdateParams`, and `PaymentMethodConfiguration`
270
- * Add support for `us_cfpb_data` on `Person` and `Token::CreateParams::Person`
271
- * Add support for `pending_reason` on `Refund`
272
- * Add support for `aw`, `az`, `bd`, `bj`, `et`, `kg`, `la`, and `ph` on `TaxRegistration::CountryOption` and `TaxRegistration::CreateParams::CountryOption`
273
- * [#1588](https://github.com/stripe/stripe-ruby/pull/1588) Removed Request signing authenticator
274
- - Removed `RequestSigningAuthenticator` class as request signing is not supported by Stripe APIs yet. This allows us to remove the dependency on base64
275
- * [#1582](https://github.com/stripe/stripe-ruby/pull/1582) Prathmesh/merge ruby beta
276
-
277
- ## 15.1.0-beta.1 - 2025-04-10
278
- * [#1569](https://github.com/stripe/stripe-ruby/pull/1569) Update generated code for beta
279
-
280
- ### Breaking changes
281
- * Change type of `V2MoneyManagementReceivedDebit.status_transitions` from `an object` to `nullable(an object)`
282
-
283
- ### Additions
284
- * Add support for new resources `Privacy::RedactionJobRootObjects`, `Privacy::RedactionJobValidationError`, and `Privacy::RedactionJob`
285
- * Add support for `cancel`, `create`, `list`, `retrieve`, `run`, `update`, and `validate` methods on resource `RedactionJob`
286
- * Add support for `list` and `retrieve` methods on resource `RedactionJobValidationError`
287
- * Add support for `minority_owned_business_designation` on `Account::BusinessProfile`, `Account::CreateParams::BusinessProfile`, and `Account::UpdateParams::BusinessProfile`
288
- * Add support for `export_tax_transactions` and `payment_disputes` on `AccountSession::CreateParams::Component`
289
- * Add support for `wallet_options` on `CheckoutSession::CreateParams` and `CheckoutSession`
290
- * Add support for `klarna` on `PaymentMethodDomain`
291
- * Change type of `TaxCalculationLineItem.reference` from `nullable(string)` to `string`
292
- * Add support for `in` on `TaxRegistration::CountryOption` and `TaxRegistration::CreateParams::CountryOption`
293
- * [#1572](https://github.com/stripe/stripe-ruby/pull/1572) Handle external_account field
294
- - Changes `external_account` field in `external_accounts.create` from a `string` to a union type.
295
-
296
- ## 15.0.0 - 2025-04-09
297
-
298
- ### Breaking change
299
- * [#1574](https://github.com/stripe/stripe-ruby/pull/1574) Rename `object_id` in V2::Core::EventService::ListParams to `object_id_`
300
- * ⚠️ Change name of parameter from `object_id` to `object_id_` on `Stripe::V2::Core::EventService::ListParams` to avoid conflict with Ruby native attribute, as found in https://github.com/stripe/stripe-ruby/issues/1567
301
- * This is a no-op unless you are using this specific parameter that was introduced in `v14.0.0`
302
-
303
- * [#1576](https://github.com/stripe/stripe-ruby/pull/1576) Explicitly pass through custom headers in retrieve
304
- * Fix custom options passing for resource-based retrieve
305
- * [#1571](https://github.com/stripe/stripe-ruby/pull/1571) Validate all instance variable keys returned from the API
306
- * Validate all keys returned from the API, including custom response fields, to make sure they can be set in an instance variable, as brought up in https://github.com/stripe/stripe-ruby/issues/1564
307
- * We do not set instance variables for invalid field names (as defined by the [Ruby spec](https://ruby-doc.org/docs/ruby-doc-bundle/Manual/man-1.4/syntax.html#ident)). We recommend for custom hash map response fields, use the `[]` accessor.
308
- ```ruby
309
- c = client.v1.customers.retrieve("cus_123")
310
- c.metadata["invalid-variable-name!"]
311
- c.metadata["valid_key_name_works_too"]
312
- ```
313
- * [#1575](https://github.com/stripe/stripe-ruby/pull/1575) Remove unused youtube playlist link
314
- * [#1573](https://github.com/stripe/stripe-ruby/pull/1573) Remove link for stale youtube video playlist
315
-
316
- ## 14.1.0-beta.1 - 2025-04-02
317
- * [#1563](https://github.com/stripe/stripe-ruby/pull/1563), [#1558](https://github.com/stripe/stripe-ruby/pull/1558), [#1547](https://github.com/stripe/stripe-ruby/pull/1547) Update generated code for beta
318
-
319
- This release changes the pinned API version to `2025-03-31.preview`
320
-
321
- ### Breaking changes
322
- * Change type of `QuotePreviewInvoice::Parent::SubscriptionDetail.subscription` from `string` to `expandable($Subscription)`
323
- * Remove support for `value` on `TerminalReader::Action::CollectInput::Input::Selection::Choice`, `TerminalReader::Action::CollectInput::Input::Selection`, and `TerminalReader::CollectInputsParams::Input::Selection::Choice`
324
-
325
- ### Additions
326
- * Add support for `payment_method_options` on `ConfirmationToken::CreateParams`
327
- * Add support for `installments` on `ConfirmationToken::PaymentMethodOption::Card`
328
- * Change `BillingCreditBalanceSummary::RetrieveParams.customer`, `BillingCreditBalanceTransaction::ListParams.customer`, `BillingCreditGrant::CreateParams.customer`, `BillingPortalSession::CreateParams.customer`, `CustomerSession::CreateParams.customer`, `InvoiceItem::CreateParams.customer`, `PaymentMethod::AttachParams.customer`, and `Subscription::CreateParams.customer` to be optional
329
- * Add support for `update_line_items` on `CheckoutSession::CreateParams::Permission` and `CheckoutSession::Permission`
330
- * Add support for `billie` on `PaymentIntent::ConfirmParams::PaymentMethodOption`, `PaymentIntent::CreateParams::PaymentMethodOption`, `PaymentIntent::PaymentMethodOption`, and `PaymentIntent::UpdateParams::PaymentMethodOption`
331
- * Add support for `id` and `text` on `TerminalReader::Action::CollectInput::Input::Selection::Choice`, `TerminalReader::Action::CollectInput::Input::Selection`, and `TerminalReader::CollectInputsParams::Input::Selection::Choice`
332
- * Add support for new resources `BalanceSettings`
333
- * Add support for `retrieve` and `update` methods on resource `BalanceSettings`
334
- * Add support for `create`, `delete`, `list`, `retrieve`, and `update` methods on a new `ExternalAccountService` class to access cards and bank accounts made available in the new path `v1/external_accounts`. Access this via `StripeClient.external_accounts`
335
-
336
- #### New APIs for Money CardManagement
337
-
338
- * Add support for new resources `V2::Core::Vault::UsBankAccount`, `V2::FinancialAddressCreditSimulation`, `V2::FinancialAddressGeneratedMicrodeposits`, `V2::MoneyManagement::Adjustment`, `V2::MoneyManagement::FinancialAccount`, `V2::MoneyManagement::FinancialAddress`, `V2::MoneyManagement::InboundTransfer`, `V2::MoneyManagement::OutboundPaymentQuote`, `V2::MoneyManagement::OutboundPayment`, `V2::MoneyManagement::OutboundSetupIntent`, `V2::MoneyManagement::OutboundTransfer`, `V2::MoneyManagement::PayoutMethod`, `V2::MoneyManagement::PayoutMethodsBankAccountSpec`, `V2::MoneyManagement::ReceivedCredit`, `V2::MoneyManagement::ReceivedDebit`, `V2::MoneyManagement::TransactionEntry`, and `V2::MoneyManagement::Transaction`
339
- * Add support for `create` method on resource `V2::MoneyManagement::OutboundPaymentQuote`
340
- * Add support for `list` and `retrieve` methods on resources `V2::MoneyManagement::Adjustment`, `V2::MoneyManagement::FinancialAccount`, `V2::MoneyManagement::ReceivedCredit`, `V2::MoneyManagement::ReceivedDebit`, `V2::MoneyManagement::TransactionEntry`, and `V2::MoneyManagement::Transaction`
341
- * Add support for `create`, `list`, and `retrieve` methods on resources `V2::MoneyManagement::FinancialAddress` and `V2::MoneyManagement::InboundTransfer`
342
- * Add support for `cancel`, `create`, `list`, and `retrieve` methods on resources `V2::MoneyManagement::OutboundPayment` and `V2::MoneyManagement::OutboundTransfer`
343
- * Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `V2::MoneyManagement::PayoutMethod`
344
- * Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resource `V2::MoneyManagement::OutboundSetupIntent`
345
- * Add support for `retrieve` method on resource `V2::MoneyManagement::PayoutMethodsBankAccountSpec`
346
- * Add support for new thin event `V2MoneyManagementFinancialAccountCreatedEvent` with related object `V2::MoneyManagement::FinancialAccount`
347
- * Add support for new thin events `V2MoneyManagementFinancialAddressActivatedEvent` and `V2MoneyManagementFinancialAddressFailedEvent` with related object `V2::MoneyManagement::FinancialAddress`
348
- * Add support for new thin events `V2MoneyManagementInboundTransferAvailableEvent`, `V2MoneyManagementInboundTransferBankDebitFailedEvent`, `V2MoneyManagementInboundTransferBankDebitProcessingEvent`, `V2MoneyManagementInboundTransferBankDebitQueuedEvent`, `V2MoneyManagementInboundTransferBankDebitReturnedEvent`, and `V2MoneyManagementInboundTransferBankDebitSucceededEvent` with related object `V2::MoneyManagement::InboundTransfer`
349
- * Add support for new thin events `V2MoneyManagementOutboundPaymentCanceledEvent`, `V2MoneyManagementOutboundPaymentCreatedEvent`, `V2MoneyManagementOutboundPaymentFailedEvent`, `V2MoneyManagementOutboundPaymentPostedEvent`, and `V2MoneyManagementOutboundPaymentReturnedEvent` with related object `V2::MoneyManagement::OutboundPayment`
350
- * Add support for new thin events `V2MoneyManagementOutboundTransferCanceledEvent`, `V2MoneyManagementOutboundTransferCreatedEvent`, `V2MoneyManagementOutboundTransferFailedEvent`, `V2MoneyManagementOutboundTransferPostedEvent`, and `V2MoneyManagementOutboundTransferReturnedEvent` with related object `V2::MoneyManagement::OutboundTransfer`
351
- * Add support for new thin events `V2MoneyManagementReceivedCreditAvailableEvent`, `V2MoneyManagementReceivedCreditFailedEvent`, `V2MoneyManagementReceivedCreditReturnedEvent`, and `V2MoneyManagementReceivedCreditSucceededEvent` with related object `V2::MoneyManagement::ReceivedCredit`
352
- * Add support for new thin events `V2MoneyManagementReceivedDebitCanceledEvent`, `V2MoneyManagementReceivedDebitFailedEvent`, `V2MoneyManagementReceivedDebitPendingEvent`, `V2MoneyManagementReceivedDebitSucceededEvent`, and `V2MoneyManagementReceivedDebitUpdatedEvent` with related object `V2::MoneyManagement::ReceivedDebit`
353
- * Add support for new error types `AlreadyCanceledError`, `BlockedByStripeError`, `ControlledByDashboardError`, `FeatureNotEnabledError`, `FinancialAccountNotOpenError`, `InsufficientFundsError`, `InvalidPayoutMethodError`, `NotCancelableError`, and `RecipientNotNotifiableError`
354
-
355
-
356
- #### New APIs for Accounts v2 in private preview
357
- See [SaaS platform payments with subscription billing using Accounts v2](https://docs.stripe.com/connect/accounts-v2/saas-platform-payments-billing)
358
-
359
- * Add support for new resources `V2::Core::AccountLink`, `V2::Core::Account`, `V2::Core::Person`, `V2::Core::Vault::GbBankAccount`, `V2::Core::Vault::UsBankAccount`
360
- * Add support for `close`, `create`, `list`, `retrieve`, and `update` methods on resource `V2::Core::Account`
361
- * Add support for `create` method on resources `V2::Core::AccountLink` and `V2::MoneyManagement::OutboundPaymentQuote`
362
- * Add support for `acknowledge_confirmation_of_payee`, `archive`, `create`, `initiate_confirmation_of_payee`, and `retrieve` methods on resource `V2::Core::Vault::GbBankAccount`
363
- * Add support for `archive`, `create`, `retrieve`, and `update` methods on resource `V2::Core::Vault::UsBankAccount`
364
- * Add support for new thin events `V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationCustomerUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientUpdatedEvent`, `V2CoreAccountIncludingIdentityUpdatedEvent`, and `V2CoreAccountIncludingRequirementsUpdatedEvent`
365
- * Add support for new thin event `V2CoreAccountLinkCompletedEvent` with related object `V2::Core::AccountLink`
366
- * Add support for new thin events `V2CoreAccountPersonCreatedEvent`, `V2CoreAccountPersonDeletedEvent`, and `V2CoreAccountPersonUpdatedEvent` with related object `V2::Core::Person`
367
-
368
- * [#1557](https://github.com/stripe/stripe-ruby/pull/1557) Update Stripe.add_beta_version
369
- * `stripe.add_beta_version` will use the highest version number used for a beta feature instead of raising an `Error` on a conflict as it had done previously.
370
-
371
- ## 14.0.0 - 2025-04-01
372
- * [#1559](https://github.com/stripe/stripe-ruby/pull/1559) Add RBI annotations for fields and params
373
- * Adds explicit field types for resources and parameters for methods, and add RBI static annotations for all resources and services
374
- ![image](https://github.com/user-attachments/assets/1b6cd994-d3ea-4f47-8487-f5c7b9ebf885)
375
- * See [the wiki](https://github.com/stripe/stripe-ruby/wiki/Static-Type-Annotations) for more details
376
-
377
- * [#1543](https://github.com/stripe/stripe-ruby/pull/1543) Support for APIs in the new API version 2025-03-31.basil
378
-
379
- This release changes the pinned API version to `2025-03-31.basil`.
380
-
381
- ### ⚠️ Breaking changes due to changes in the Stripe API
382
-
383
- Please review details for the breaking changes and alternatives in the [Stripe API changelog](https://docs.stripe.com/changelog/basil) before upgrading.
384
-
385
- * Remove support for resources `SubscriptionItemUsageRecordSummary` and `SubscriptionItemUsageRecord`
386
- * Remove support for `create` method on resource `SubscriptionItemUsageRecord`
387
- * Remove support for `list` method on resource `SubscriptionItemUsageRecordSummary`
388
- * Remove support for `upcomingLines` and `upcoming` methods on resource `Invoice`
389
-
390
- ### ⚠️ Other breaking changes in the SDK
391
- * [#1553](https://github.com/stripe/stripe-ruby/pull/1553) Remove public idempotent_replayed? method
392
- * ⚠️ Remove the `idempotent_replayed?` method on `StripeError`
393
- * The information is accessible indirectly via the raw response headers, `StripeResponse.http_headers`. For example, use `resource.last_response.http_headers['Idempotent-Replayed']`
394
-
395
- ### Additions to the Stripe API
396
-
397
- * Add support for new resource `InvoicePayment`
398
- * Add support for `list` and `retrieve` methods on resource `InvoicePayment`
399
-
400
- ## 13.6.0-beta.1 - 2025-03-18
401
- * [#1550](https://github.com/stripe/stripe-ruby/pull/1550) Merge from stripe-ruby master
402
- * [#1546](https://github.com/stripe/stripe-ruby/pull/1546) Beta SDK updates between Open API versions 1473 and 1505
403
-
404
- * Add support for `succeed_input_collection` and `timeout_input_collection` test helper methods on resource `Terminal.Reader`
405
- * [#1545](https://github.com/stripe/stripe-ruby/pull/1545) fix ruby merge conflict for beta
406
-
407
- ## 13.5.0 - 2025-02-24
408
- * [#1534](https://github.com/stripe/stripe-ruby/pull/1534) Update generated code
409
- * Fixed `Stripe::InvoiceLineItem.update` method.
410
- * [#1536](https://github.com/stripe/stripe-ruby/pull/1536) Fix InvoiceLineItem parent class
411
- * Fix bug where `Stripe::InvoiceLineItem` had the incorrect parent class, making it error when `update` was called
412
- * [#1533](https://github.com/stripe/stripe-ruby/pull/1533) add codeowners file
413
-
414
- ## 13.5.0-beta.1 - 2025-02-07
415
- * [#1527](https://github.com/stripe/stripe-ruby/pull/1527) Update generated code for beta
416
-
417
- ## 13.4.1 - 2025-01-28
418
- * [#1528](https://github.com/stripe/stripe-ruby/pull/1528) Update generated code
419
- * ⚠️ Bugfix: `invoice` and `line_item_id` can be passed to `update` method in `InvoiceLineItem`.
420
-
421
- ## 13.4.0 - 2025-01-27
422
- * [#1510](https://github.com/stripe/stripe-ruby/pull/1510) Update generated code
423
- * Add support for `close` method on resource `Treasury.FinancialAccount`
424
- * [#1521](https://github.com/stripe/stripe-ruby/pull/1521) pipe rubocop output to devnull
425
- * [#1519](https://github.com/stripe/stripe-ruby/pull/1519) Fixed typos in CONTRIBUTING.MD
426
- * [#1513](https://github.com/stripe/stripe-ruby/pull/1513) add justfile
427
- * [#1515](https://github.com/stripe/stripe-ruby/pull/1515) Added CONTRIBUTING.md file
428
-
429
- ## 13.4.0-beta.4 - 2025-01-23
430
- * [#1523](https://github.com/stripe/stripe-ruby/pull/1523) Update generated code for beta
431
- * Removed support for `stripe_account` from `Stripe::Terminal::Reader`. Use `account` instead.
432
-
433
- ## 13.4.0-beta.3 - 2025-01-17
434
- * [#1514](https://github.com/stripe/stripe-ruby/pull/1514) Update generated code for beta
435
-
436
- ## 13.4.0-beta.2 - 2025-01-09
437
- * [#1504](https://github.com/stripe/stripe-ruby/pull/1504) Update generated code for beta
438
- * Add support for `close` method on resource `Treasury.FinancialAccount`
439
-
440
- ## 13.4.0-beta.1 - 2024-12-20
441
- * Support parameter and resource fields with typed RBIs
442
- * [#1509](https://github.com/stripe/stripe-ruby/pull/1509) (beta) Publish RBIs with gem
443
- * [#1505](https://github.com/stripe/stripe-ruby/pull/1505) Add method parameter type classes to all resources and services
444
-
445
- * Add method parameter classes for all resources and service methods.
446
- * These changes are NOT breaking and are purely additive. The method parameter classes are not required, we still accept hashes as well as the new `RequestParams` classes. Any additional gated parameters are still available to pass via hash. Resource fields define publicly documented fields and other deserialized fields are still accessible.
447
-
448
- ## 13.3.1 - 2025-01-13
449
- * [#1512](https://github.com/stripe/stripe-ruby/pull/1512) Import global configuration for options not available on StripeClient options
450
- * Fixes bug where `StripeClient` was not falling back to global options for options that are not available to be set per-client
451
- * [#1516](https://github.com/stripe/stripe-ruby/pull/1516) ThinEvent reason and livemode
452
- - Add `livemode` and optional `reason` fields to ThinEvent
453
- * [#1518](https://github.com/stripe/stripe-ruby/pull/1518) Pin ubuntu version in Test action
454
- * [#1508](https://github.com/stripe/stripe-ruby/pull/1508) Added pull request template
455
-
456
- ## 13.3.0 - 2024-12-18
457
- * [#1500](https://github.com/stripe/stripe-ruby/pull/1500) This release changes the pinned API version to `2024-12-18.acacia`.
458
-
459
- * [#1507](https://github.com/stripe/stripe-ruby/pull/1507) Pass requestor to all deserialized objects including lists
460
-
461
- * Fixes bug where `StripeObject` retrieved from lists could not be used to make requests, such as `refresh`
462
-
463
- ## 13.3.0-beta.3 - 2024-12-12
464
- * [#1499](https://github.com/stripe/stripe-ruby/pull/1499) Update generated code for beta
465
- * Add support for `AllowRedisplay` on `Card` and `Source`
466
- * Add support for new values `am_tin`, `ao_tin`, `ba_tin`, `bb_tin`, `bs_tin`, `cd_nif`, `gn_nif`, `kh_tin`, `me_pib`, `mk_vat`, `mr_nif`, `np_pan`, `sn_ninea`, `sr_fin`, `tj_tin`, `ug_tin`, `zm_tin`, and `zw_tin` on enums `CheckoutSessionCollectedInformationTaxIdsType` and `OrderTaxDetailsTaxIdsType`
467
- * Add support for new value `network_fallback` on enum `IssuingAuthorizationRequestHistoryReason`
468
- * Remove support for `AmountRefunded` on `PaymentRecord`
469
- * Add support for `Account` on `TerminalReaderActionCollectPaymentMethod`, `TerminalReaderActionConfirmPaymentIntent`, `TerminalReaderActionProcessPaymentIntent`, and `TerminalReaderActionRefundPayment`
470
-
471
- ## 13.3.0-beta.2 - 2024-12-05
472
- * [#1492](https://github.com/stripe/stripe-ruby/pull/1492) Update generated code for beta
473
-
474
- * [#1490](https://github.com/stripe/stripe-ruby/pull/1490) Add explicit attributes for fields in resources, and rbis for resources
475
-
476
- ## 13.3.0-beta.1 - 2024-11-21
477
- * [#1489](https://github.com/stripe/stripe-ruby/pull/1489) Merging code from master to get the latest bug fixes.
478
-
479
- ## 13.2.0 - 2024-11-20
480
- * [#1486](https://github.com/stripe/stripe-ruby/pull/1486) This release changes the pinned API version to `2024-11-20.acacia`.
481
- * Add support for `respond` test helper method on resource `Issuing.Authorization`
482
-
483
- ## 13.2.0-beta.3 - 2024-11-14
484
- * [#1484](https://github.com/stripe/stripe-ruby/pull/1484) Update generated code for beta
485
-
486
- ## 13.2.0-beta.2 - 2024-11-07
487
- * [#1480](https://github.com/stripe/stripe-ruby/pull/1480) Update generated code for beta
488
- * Add support for new resources `Issuing.FraudLiabilityDebit`, `PaymentAttemptRecord`, and `PaymentRecord`
489
- * Add support for `list` and `retrieve` methods on resources `FraudLiabilityDebit` and `PaymentAttemptRecord`
490
- * Add support for `report_payment_attempt_canceled`, `report_payment_attempt_failed`, `report_payment_attempt_guaranteed`, `report_payment_attempt`, `report_payment`, and `retrieve` methods on resource `PaymentRecord`
491
-
492
- ## 13.2.0-beta.1 - 2024-10-29
493
- * [#1477](https://github.com/stripe/stripe-ruby/pull/1477) Update generated code for beta
494
- * Add support for `trigger_action` method on resource `PaymentIntent`
495
-
496
- ## 13.1.2 - 2024-11-15
497
- * [#1488](https://github.com/stripe/stripe-ruby/pull/1488) Fix incorrect key in param encoding
498
-
499
- ## 13.1.1 - 2024-11-06
500
- * [#1483](https://github.com/stripe/stripe-ruby/pull/1483) Fix APIResource#retrieve not sending `stripe_version`
501
-
502
- ## 13.1.0 - 2024-10-29
503
- * [#1472](https://github.com/stripe/stripe-ruby/pull/1472) This release changes the pinned API version to `2024-10-28.acacia`.
504
- * Add support for `submit_card` test helper method on resource `Issuing.Card`
505
- * Add support for new resource `V2.EventDestinations`
506
- * Add support for `create`, `retrieve`, `update`, `list`, `delete`, `disable`, `enable` and `ping` methods on resource `V2.EventDestinations`
507
- * [#1476](https://github.com/stripe/stripe-ruby/pull/1476) Fix APIResource#retrieve bug not returning instance of custom resources
508
- * Fix bug in APIResource#refresh and APIResource#retrieve where they returned an instance of `StripeObject` for custom resources. They should now return the instance of the custom resource.
509
-
510
- ## 13.1.0-beta.3 - 2024-10-18
511
- * [#1469](https://github.com/stripe/stripe-ruby/pull/1469) Update generated code for beta
512
-
513
- ## 13.1.0-beta.2 - 2024-10-08
514
- * [#1468](https://github.com/stripe/stripe-ruby/pull/1468) Update generated code for beta
515
- * Add support for `submit_card` test helper method on resource `Issuing.Card`
516
-
517
- ## 13.1.0-beta.1 - 2024-10-03
518
- * [#1465](https://github.com/stripe/stripe-ruby/pull/1465) Updates to the `Preview` class
519
- * Remove `Stripe::Preview`. Use `StripeClient#raw_request` instead (see below).
520
- * Marked `Stripe.raw_request` and `Stripe.deserialize` as deprecated. Use `StripeClient#raw_request` and `StripeClient#deserialize` instead. In StripeClient, the params and opts parameters are passed as keyword arguments:
521
- ```ruby
522
- # Before
523
- resp = Stripe.raw_request(:post, "v1/charges", , {p1: "p1"}, {stripe_account: "acct_123"})
524
- charge = Stripe.deserialize(resp.data)
525
-
526
- # After
527
- client = StripeClient.new("sk_test_123")
528
- resp = client.raw_request(:post, "/v1/charges", params: {p1: "p1"}, opts: {stripe_account: "acct_123"})
529
- charge = client.deserialize(resp.data)
530
- ```
531
-
532
- ## 13.0.2 - 2024-10-23
533
- * [#1473](https://github.com/stripe/stripe-ruby/pull/1473) Always return the result of APIResource#refresh in APIResource.retrieve
534
-
535
- * Fix bug where we would not return the mutated `self` object when calling `APIResource.retrieve`
536
-
537
- ## 13.0.1 - 2024-10-18
538
- * [#1471](https://github.com/stripe/stripe-ruby/pull/1471) update object tags for meter-related classes
539
-
540
- - fixes a bug where the `object` property of the `MeterEvent`, `MeterEventAdjustment`, and `MeterEventSession` didn't match the server.
541
- * [#1470](https://github.com/stripe/stripe-ruby/pull/1470) Cleaned up examples and added documentation
542
-
543
- ## 13.0.0 - 2024-10-01
544
- * [#1458](https://github.com/stripe/stripe-ruby/pull/1458) Support for APIs in the new API version 2024-09-30.acacia
545
-
546
- This release changes the pinned API version to `2024-09-30.acacia`. Please read the [API Changelog](https://docs.stripe.com/changelog/acacia#2024-09-30.acacia) and carefully review the API changes before upgrading.
547
-
548
- ### ⚠️ Breaking changes
549
-
550
- Please refer to our [migration guide for v13](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v13) for more information about the backwards incompatible changes.
551
-
552
- #### ❗ `StripeClient` and related changes
553
- * Move `StripeClient` and requestor logic to `APIRequestor`.
554
- * `StripeClient#request` is still available, but is deprecated and will be removed. We encourage `StripeClient#raw_request` as a replacement (see other breaking changes for more detail).
555
- * Repurpose and introduce `StripeClient` as the the entry-point to the service-based pattern, a new interface for calling the Stripe API with many benefits over the existing resource-based paradigm. Services are available under the `v1` and `v2` accessors.
556
- * No global config: you can simultaneously use multiple clients with different configuration options (such as API keys)
557
- * No extra API calls. All API endpoints can be accessed with a single method call. You don't have to call `retrieve` before doing an `update`.
558
- * No static methods. Much easier mocking.
559
-
560
- #### Other breaking changes
561
-
562
- * Adjust default values around retries for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
563
- - max retries: `0` -> `2`
564
- - max retry delay (seconds) `2` -> `5`
565
- * Remove `StripeClient#connection_manager`. This was a legacy method from years ago.
566
- * Singleton `retrieve` method now requires `params` to be passed as the first argument. Existing calls to singleton `retrieve` method with only `opts` argument will have to be updated to account for the addition of `params` argument.
567
- ```ruby
568
- params = { expand: ["available"] }
569
- opts = { stripe_account: "acct_123" }
570
-
571
- # ❌ No longer works
572
- Stripe::Balance.retrieve(opts)
573
-
574
- # ✅ Correct way to call retrieve method
575
- Stripe::Balance.retrieve(params, opts)
576
- ```
577
- * Moved the `Stripe.raw_request()` method that was recently added to `StripeClient`. This will use the configuration set on the StripeClient instead of the global configuration used before.
578
- * Remove `APIResource.request`. Instead, use `StripeClient#raw_request` now.
579
- ```ruby
580
- # Instead of
581
- Stripe::APIResource.request(:get, "/v1/endpoint", params, opts)
582
-
583
- # do
584
- client = Stripe::StripeClient.new(...)
585
- resp = client.raw_request(:get, "/v1/endpoint", params: params, opts: opts)
586
- ```
587
- * Add an additional parameter to `APIResource.execute_resource_request`. However, we discourage use of this in favor of `StripeClient#raw_request`.
588
- ```ruby
589
- APIResource.execute_resource_request(method, url, params = {}, opts = {}, usage = [])
590
- # is now, with base_address being one of [:api, :files, :connect, :meter_events]
591
- APIResource.execute_resource_request(method, url, base_address = :api, params = {}, opts = {}, usage = [])
592
- ```
593
- * Change parameters to `APIRequestor.execute_request` (previously `StripeClient.execute_request`). It now returns all request options from our internal request framework as the second value in the returned tuple, instead of only the API key used:
594
- ```ruby
595
- # Before
596
- obj, api_key = StripeClient.execute_request(method, path, api_base: nil,
597
- api_key: nil, headers: {}, params: {}, usage: [])
598
-
599
- # is now, with base_address being one of [:api, :files, :connect, :meter_events]
600
-
601
- obj, opts = APIRequestor.execute_request(method, path, base_address,
602
- params: {}, opts: {}, usage: [])
603
- puts(opts) # will output {api_key: "sk_test_123", stripe_account: "acct_123"}
604
- ```
605
-
606
-
607
- ### Additions
608
- * Add support for new Usage Billing APIs `Billing.MeterEvent`, `Billing.MeterEventAdjustments`, `Billing.MeterEventSession`, `Billing.MeterEventStream` and the new Events API `Core.Events` in the [v2 namespace ](https://docs.corp.stripe.com/api-v2-overview)
609
- * Add method `parse_thin_event()` on the `StripeClient` class to parse [thin events](https://docs.corp.stripe.com/event-destinations#events-overview).
610
-
611
- ## 12.7.0-beta.2 - 2024-09-18
612
- * [#1449](https://github.com/stripe/stripe-ruby/pull/1449) Update generated code for beta
613
- * Remove support for resource `QuotePhase`
614
- * Remove support for `list_line_items` and `retrieve` methods on resource `QuotePhase`
615
-
616
- ## 12.7.0-beta.1 - 2024-09-13
617
- * [#1446](https://github.com/stripe/stripe-ruby/pull/1446) Update generated code for beta
618
- * Add support for new resources `Issuing.DisputeSettlementDetail` and `Issuing.Settlement`
619
- * Add support for `list` and `retrieve` methods on resource `DisputeSettlementDetail`
620
- * Remove support for `list` method on resource `QuotePhase`
621
-
622
- ## 12.6.0 - 2024-09-12
623
- * [#1442](https://github.com/stripe/stripe-ruby/pull/1442) Update generated code
624
- * Add support for new resource `InvoiceRenderingTemplate`
625
- * Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `InvoiceRenderingTemplate`
626
- * [#1443](https://github.com/stripe/stripe-ruby/pull/1443) Removed v1/files override
627
-
628
- ## 12.6.0-beta.1 - 2024-09-05
629
- * [#1441](https://github.com/stripe/stripe-ruby/pull/1441) Update generated code for beta
630
- * Add support for new resources `Billing.MeterErrorReport` and `Terminal.ReaderCollectedData`
631
- * Add support for `retrieve` method on resource `ReaderCollectedData`
632
-
633
- ## 12.5.0 - 2024-08-08
634
- * [#1440](https://github.com/stripe/stripe-ruby/pull/1440) Update generated code
635
- * Add support for new resources `Billing.AlertTriggered` and `Billing.Alert`
636
- * Add support for `activate`, `archive`, `create`, `deactivate`, `list`, and `retrieve` methods on resource `Alert`
637
- * Add support for `retrieve` method on resource `Tax.Calculation`
638
-
639
- ## 12.5.0-beta.2 - 2024-08-01
640
- * [#1439](https://github.com/stripe/stripe-ruby/pull/1439) Update generated code for beta
641
- * Add support for `attach_payment` method on resource `Invoice`
642
-
643
- ## 12.5.0-beta.1 - 2024-07-25
644
- * [#1429](https://github.com/stripe/stripe-ruby/pull/1429) Update generated code for beta
645
- * Add support for new resources `Billing.AlertTriggered`, `Billing.Alert`, and `Tax.Association`
646
- * Add support for `activate`, `archive`, `create`, `deactivate`, `list`, and `retrieve` methods on resource `Alert`
647
- * Add support for `find` method on resource `Association`
648
- * [#1434](https://github.com/stripe/stripe-ruby/pull/1434) Merge changes from stripe/stripe-ruby master
649
-
650
- ## 12.4.0 - 2024-07-25
651
- * [#1437](https://github.com/stripe/stripe-ruby/pull/1437) Update generated code
652
- * Add support for `update` method on resource `Checkout.Session`
653
-
654
- ## 12.3.0 - 2024-07-18
655
- * [#1436](https://github.com/stripe/stripe-ruby/pull/1436) Fixed changelog for major release 12.0.0
656
- * [#1435](https://github.com/stripe/stripe-ruby/pull/1435) Add deprecation warning for `APIResource.request`
657
-
658
- ## 12.2.0 - 2024-07-12
659
- * [#1430](https://github.com/stripe/stripe-ruby/pull/1430) Update generated code
660
-
661
- * [#1433](https://github.com/stripe/stripe-ruby/pull/1433) Add usage to raw_request call
662
- * [#1431](https://github.com/stripe/stripe-ruby/pull/1431) Add `raw_request`
663
-
664
- - Adds the ability to make raw requests to the Stripe API, by providing an HTTP method and url. This is an alternative to using `Stripe::APIResource.request(...)` to make custom requests, which is discouraged and will be broken in a future major version.
665
-
666
- ## 12.2.0-beta.1 - 2024-07-05
667
- * [#1428](https://github.com/stripe/stripe-ruby/pull/1428) Update generated code for beta
668
- * Add support for new resource `FinancialConnections.Institution`
669
- * Add support for `list` and `retrieve` methods on resource `Institution`
670
- * [#1409](https://github.com/stripe/stripe-ruby/pull/1409) Update generated code for beta
671
-
672
- ## 12.1.0 - 2024-07-05
673
- * [#1425](https://github.com/stripe/stripe-ruby/pull/1425) Update generated code
674
- * Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
675
- * [#1420](https://github.com/stripe/stripe-ruby/pull/1420) Update static methods for delete/list on BankAccount/Card to throw NotImplementedError
676
- * The below methods have been throwing `InvalidRequestError` because the urls used to make the requests have been buggy. Updating them to throw `NotImplementedError` instead just like their counterparts for update & retrieve because they cannot be implemented without the parent id.
677
-
678
- Methods affected | Use these instead in the context of payment method | Use these in the context of external accounts
679
- ------ | ------ | ----
680
- Stripe:: BankAccount.delete | Stripe::Customer.delete_source | Stripe::Account.delete_external_account
681
- Stripe:: BankAccount.list | Stripe::Customer.list_sources | Stripe::Customer.list_external_accounts
682
- Stripe:: Card.delete | Stripe::Customer.delete_source | Stripe::Account.delete_external_account
683
- Stripe:: Card.list | Stripe::Customer.list_sources | Stripe::Customer.list_external_accounts
684
- * [#1427](https://github.com/stripe/stripe-ruby/pull/1427) Regenerate rbis
685
- * [#1426](https://github.com/stripe/stripe-ruby/pull/1426) Remove coveralls and re-added JRuby
686
-
687
- ## 12.0.0 - 2024-06-24
688
- * [#1418](https://github.com/stripe/stripe-ruby/pull/1418) Add missing static method for verify on BankAccount
689
- * [#1419](https://github.com/stripe/stripe-ruby/pull/1419)
690
-
691
- This release changes the pinned API version to 2024-06-20. Please read the [API Changelog](https://docs.stripe.com/changelog/2024-06-20) and carefully review the API changes before upgrading.
692
-
693
- ### Additions
694
-
695
- * Add support for `finalize_amount` test helper method on resource `Issuing.Authorization`
696
-
697
- ## 11.7.0 - 2024-06-13
698
- * [#1415](https://github.com/stripe/stripe-ruby/pull/1415) Deprecate StripeClient#request
699
- * Add deprecation warning for `StripeClient#request`. This helper method will be removed in a future major version. To access response objects, use the `last_response` property on the returned resource instead. Refer to [Accessing a response object](https://github.com/stripe/stripe-ruby?tab=readme-ov-file#accessing-a-response-object) in the README for usage details.
700
-
701
- ## 11.7.0-beta.1 - 2024-05-30
702
- * [#1400](https://github.com/stripe/stripe-ruby/pull/1400) Update generated code for beta
703
- * Keeping up with the changes from version 11.6.0
704
-
705
- ## 11.6.0 - 2024-05-30
706
- * [#1404](https://github.com/stripe/stripe-ruby/pull/1404) Add method to list invoice line items
707
- * Add methods `list_lines()` on the class `Invoice` to list the invoice line items
708
-
709
- ## 11.5.0 - 2024-05-23
710
- * This release has no changes.
711
-
712
- ## 11.5.0-beta.1 - 2024-05-09
713
- * [#1395](https://github.com/stripe/stripe-ruby/pull/1395) Update generated code for beta
714
- * No new beta features. Merging changes from the main branch.
715
-
716
- ## 11.4.0 - 2024-05-09
717
- * [#1397](https://github.com/stripe/stripe-ruby/pull/1397) Update generated code
718
- * Add support for `update` test helper method on resources `Treasury.OutboundPayment` and `Treasury.OutboundTransfer`
719
- * [#1399](https://github.com/stripe/stripe-ruby/pull/1399) Pass params to transfer reversal
720
- * Allow `Stripe::Transfer.retrieve_reversal()` to accept a params hash as the third argument, followed by opts. No changes to existing calls are necessary, but in a future major version this method will be updated to only accept params as the first argument. Fixes [#1393](https://github.com/stripe/stripe-ruby/issues/1393)
721
- * [#1389](https://github.com/stripe/stripe-ruby/pull/1389) Removed jaro_winkler as a dependency
722
- * [#1396](https://github.com/stripe/stripe-ruby/pull/1396) Start tracking `StripeClient#request` usage
723
-
724
- ## 11.4.0-beta.1 - 2024-05-02
725
- * [#1386](https://github.com/stripe/stripe-ruby/pull/1386) Update generated code for beta
726
-
727
- ## 11.3.0 - 2024-05-02
728
- * [#1387](https://github.com/stripe/stripe-ruby/pull/1387) Update generated code
729
-
730
- * [#1392](https://github.com/stripe/stripe-ruby/pull/1392) Deprecate Ruby methods based on OpenAPI spec
731
- - Mark as deprecated the `approve` and `decline` methods in `lib/stripe/resources/issuing/authorization.rb`. Instead, [respond directly to the webhook request to approve an authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations#authorization-handling).
732
- * [#1391](https://github.com/stripe/stripe-ruby/pull/1391) Add Ruby 3.3 to CI test matrix
733
-
734
- ## 11.3.0-beta.1 - 2024-04-18
735
- * [#1383](https://github.com/stripe/stripe-ruby/pull/1383) Update generated code for beta
736
-
737
- ## 11.2.0 - 2024-04-18
738
- * [#1385](https://github.com/stripe/stripe-ruby/pull/1385) Update generated code
739
- * Add support for `create_preview` method on resource `Invoice`
740
-
741
- ## 11.1.0 - 2024-04-16
742
- * [#1379](https://github.com/stripe/stripe-ruby/pull/1379) Update generated code
743
- * Add support for new resource `Entitlements.ActiveEntitlementSummary`
744
-
745
- ## 11.1.0-beta.1 - 2024-04-11
746
- * [#1376](https://github.com/stripe/stripe-ruby/pull/1376) Update generated code for beta
747
- * Add support for `retrieve` method on resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
748
-
749
- ## 11.0.0 - 2024-04-10
750
- * [#1374](https://github.com/stripe/stripe-ruby/pull/1374)
751
-
752
- * This release changes the pinned API version to `2024-04-10`. Please read the [API Changelog](https://docs.stripe.com/changelog/2024-04-10) and carefully review the API changes before upgrading.
753
-
754
- ### ⚠️ Breaking changes
755
-
756
- * When no `x-stripe-should-retry` header is set in the response, the library now retries all requests with `status >= 500`, not just non-POST methods.
757
-
758
- ## 10.15.0 - 2024-04-09
759
-
760
- - [#1377](https://github.com/stripe/stripe-ruby/pull/1377) Add last_response to StripeObject
761
- - Users can now retrieve raw response from the returned resource, using the `last_response` property. See [README](https://github.com/stripe/stripe-ruby/blob/master/README.md) for an example.
762
- - [#1372](https://github.com/stripe/stripe-ruby/pull/1372) Update generated code
763
- - Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
764
- - Add support for `list` and `retrieve` methods on resource `ActiveEntitlement`
765
- - Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Feature`
766
- - [#1366](https://github.com/stripe/stripe-ruby/pull/1366) Move executables to `exe` folder
767
-
768
- ## 10.15.0-beta.1 - 2024-04-04
769
-
770
- - [#1373](https://github.com/stripe/stripe-ruby/pull/1373) Update generated code for beta
771
- - Add support for `update` method on resource `Entitlements.Feature`
772
- - [#1370](https://github.com/stripe/stripe-ruby/pull/1370) Update generated code for beta
773
-
774
- ## 10.14.0 - 2024-03-28
775
-
776
- - [#1369](https://github.com/stripe/stripe-ruby/pull/1369) Update generated code
777
- - Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
778
- - Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
779
- - Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
780
-
781
- ## 10.14.0-beta.1 - 2024-03-21
782
-
783
- - [#1363](https://github.com/stripe/stripe-ruby/pull/1363) Update generated code for beta
784
- - Add support for new resources `Entitlements.ActiveEntitlementSummary` and `Entitlements.ActiveEntitlement`
785
- - Add support for `list` method on resource `ActiveEntitlement`
786
-
787
- ## 10.13.0 - 2024-03-21
788
-
789
- - [#1367](https://github.com/stripe/stripe-ruby/pull/1367) Update generated code
790
- - Add support for new resources `ConfirmationToken` and `Forwarding.Request`
791
- - Add support for `retrieve` method on resource `ConfirmationToken`
792
- - Add support for `create`, `list`, and `retrieve` methods on resource `Request`
793
- - [#1362](https://github.com/stripe/stripe-ruby/pull/1362) Exclude sorbet directory and tapioca script when packing gem
794
-
795
- ## 10.13.0-beta.1 - 2024-03-14
796
-
797
- - [#1360](https://github.com/stripe/stripe-ruby/pull/1360) Update generated code for beta
798
- - Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
799
- - Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
800
- - Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
801
- - Add support for `create` test helper method on resource `ConfirmationToken`
802
- - Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
803
-
804
- ## 10.12.0 - 2024-03-14
805
-
806
- - [#1359](https://github.com/stripe/stripe-ruby/pull/1359) Update generated code
807
- - Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
808
- - Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PersonalizationDesign`
809
- - Add support for `list` and `retrieve` methods on resource `PhysicalBundle`
810
- - [#1354](https://github.com/stripe/stripe-ruby/pull/1354) Refactor after SDK based generation pattern
811
- - [#1347](https://github.com/stripe/stripe-ruby/pull/1347) Reorder methods with lexographical sort
812
- - [#1355](https://github.com/stripe/stripe-ruby/pull/1355) Disable Metrics/ClassLength
813
- - [#1351](https://github.com/stripe/stripe-ruby/pull/1351) Update CHANGELOG.md
814
-
815
- ## 10.12.0-beta.1 - 2024-02-29
816
-
817
- - [#1352](https://github.com/stripe/stripe-ruby/pull/1352) Update generated code for beta
818
- Release specs are identical.
819
- - [#1350](https://github.com/stripe/stripe-ruby/pull/1350) Update generated code for beta
820
-
821
- - [#1341](https://github.com/stripe/stripe-ruby/pull/1341) Update generated code for beta
822
- - Remove support for resource `Entitlements.Event`
823
- - [#1343](https://github.com/stripe/stripe-ruby/pull/1343) Add a helper to add a beta version
824
-
825
- ## 10.11.0 - 2024-02-29
826
-
827
- - [#1348](https://github.com/stripe/stripe-ruby/pull/1348) Use sorbet gem instead of sorbet-static
828
- - [#1342](https://github.com/stripe/stripe-ruby/pull/1342) Update generated code
829
- - Add `list_refunds` and `retrieve_refund` methods on resource `Charge`.
830
- - [#1345](https://github.com/stripe/stripe-ruby/pull/1345) Update README to use add_beta_version
831
-
832
- ## 10.11.0-beta.1 - 2024-02-22
833
-
834
- - [#1335](https://github.com/stripe/stripe-ruby/pull/1335) Update generated code for beta
835
-
836
- ## 10.10.0 - 2024-02-22
837
-
838
- - [#1336](https://github.com/stripe/stripe-ruby/pull/1336) Update generated code
839
- - Add `InvoiceLineItem.update` method.
840
- - [#1334](https://github.com/stripe/stripe-ruby/pull/1334) Add TaxIds API
841
- - Add support for `all`, `create`, and `retrieve` methods on resource `TaxId`
842
- - The `delete` method now sends a DELETE request to `/v1/tax_ids/{id}` instead of `/v1/customers/{customer}/tax_ids/{id}`. The endpoints are functionally the same when operating on a Customer Tax ID.
843
- - The `resource_url` method on `TaxId` now returns the top-level `/v1/tax_ids/{id}` path instead of the `/v1/customers/{customer}/tax_ids/{id}` path.
844
-
845
- ## 10.10.0-beta.1 - 2024-02-16
846
-
847
- - [#1332](https://github.com/stripe/stripe-ruby/pull/1332) Update generated code for beta
848
- - Add support for `decrement_authorization` method on resource `PaymentIntent`
849
- - [#1328](https://github.com/stripe/stripe-ruby/pull/1328) Update generated code for beta
850
-
851
- ## 10.9.0 - 2024-02-15
852
-
853
- - [#1329](https://github.com/stripe/stripe-ruby/pull/1329) Update generated code
854
- - Fixed bug where `TaxId` resource `delete` method sent request to wrong URL (https://github.com/stripe/stripe-ruby/issues/1333)
855
- - [#1324](https://github.com/stripe/stripe-ruby/pull/1324) Start running Sorbet in CI
856
- - [#1327](https://github.com/stripe/stripe-ruby/pull/1327) Add methods for dynamically referenced constants
857
-
858
- ## 10.9.0-beta.1 - 2024-02-08
859
-
860
- - [#1321](https://github.com/stripe/stripe-ruby/pull/1321) Update generated code for beta
861
- - Release specs are identical.
862
-
863
- ## 10.8.0 - 2024-02-08
864
-
865
- - [#1322](https://github.com/stripe/stripe-ruby/pull/1322) Update generated code
866
- - [#1323](https://github.com/stripe/stripe-ruby/pull/1323) Extract other CRUDL api operations from mixins
867
- - Extract more CRUDL operations, namely `create`, `delete`, `update`, and `list` into the resources. These methods will no longer rely on the APIOperation mixins.
868
- - [#1314](https://github.com/stripe/stripe-ruby/pull/1314) Update mocha gem to 1.16
869
-
870
- ## 10.8.0-beta.1 - 2024-02-01
871
-
872
- - [#1318](https://github.com/stripe/stripe-ruby/pull/1318) Update generated code for beta
873
- - Add support for new resources `Entitlements.Event` and `Entitlements.Feature`
874
- - Add support for `create` method on resource `Event`
875
- - Add support for `create` and `list` methods on resource `Feature`
876
-
877
- ## 10.7.1 - 2024-02-05
878
-
879
- - [#1320](https://github.com/stripe/stripe-ruby/pull/1320) Remove spurious \_search deprecation messages (https://github.com/stripe/stripe-ruby/issues/1319)
880
-
881
- ## 10.7.0 - 2024-02-01
882
-
883
- - [#1317](https://github.com/stripe/stripe-ruby/pull/1317) Remove list method in child resources
884
- - Removes list method mixin from child resources, as these methods always return `InvalidRequestError` and never succeed
885
- - [#1311](https://github.com/stripe/stripe-ruby/pull/1311) Use the deprecation gem in search and clean up usage of the gem
886
-
887
- ## 10.7.0-beta.3 - 2024-01-25
888
-
889
- - [#1313](https://github.com/stripe/stripe-ruby/pull/1313) Update generated code for beta
890
- - Add support for `create_preview` method on resource `Invoice`
891
- - [#1307](https://github.com/stripe/stripe-ruby/pull/1307) Beta: report raw request usage
892
-
893
- ## 10.7.0-beta.2 - 2024-01-19
894
-
895
- - [#1307](https://github.com/stripe/stripe-ruby/pull/1307) Beta: report raw request usage
896
-
897
- ## 10.7.0-beta.1 - 2024-01-12
898
-
899
- - [#1309](https://github.com/stripe/stripe-ruby/pull/1309) Update generated code for beta
900
- - [#1305](https://github.com/stripe/stripe-ruby/pull/1305) Update generated code for beta
901
-
902
- ## 10.6.0 - 2024-01-12
903
-
904
- - [#1310](https://github.com/stripe/stripe-ruby/pull/1310) Update generated code
905
- - Add support for new resource `CustomerSession`
906
- - Add support for `create` method on resource `CustomerSession`
907
-
908
- ## 10.6.0-beta.1 - 2024-01-04
909
-
910
- - [#1302](https://github.com/stripe/stripe-ruby/pull/1302) Update generated code for beta
911
- - Updated stable APIs to the latest version
912
-
913
- ## 10.5.0 - 2024-01-04
914
-
915
- - [#1306](https://github.com/stripe/stripe-ruby/pull/1306) Update generated code
916
- - Add support for `retrieve` method on resource `Tax.Registration`
917
-
918
- ## 10.5.0-beta.1 - 2023-12-22
919
-
920
- - [#1302](https://github.com/stripe/stripe-ruby/pull/1302) Update generated code for beta
921
-
922
- ## 10.4.0 - 2023-12-22
923
-
924
- - [#1303](https://github.com/stripe/stripe-ruby/pull/1303) Update generated code
925
- - Add support for new resource `FinancialConnections.Transaction`
926
- - Add support for `list` and `retrieve` methods on resource `Transaction`
927
- - Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
928
- - [#1304](https://github.com/stripe/stripe-ruby/pull/1304) Add support for updatable singleton resources
929
-
930
- ## 10.4.0-beta.1 - 2023-12-14
931
-
932
- Updated stable APIs to the latest version
933
-
934
- ## 10.3.0 - 2023-12-14
935
-
936
- - [#1294](https://github.com/stripe/stripe-ruby/pull/1294) Support sending parameters inside singleton retrieve
937
-
938
- ## 10.3.0-beta.1 - 2023-11-30
939
-
940
- - [#1298](https://github.com/stripe/stripe-ruby/pull/1298) Update generated code for beta
941
- - [#1296](https://github.com/stripe/stripe-ruby/pull/1296) Merge master into beta
942
-
943
- ## 10.2.0 - 2023-11-30
944
-
945
- - [#1292](https://github.com/stripe/stripe-ruby/pull/1292) Update generated code
946
- - Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
947
- - Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resource `Order`
948
- - Add support for `list` and `retrieve` methods on resources `Product` and `Supplier`
949
- - [#1295](https://github.com/stripe/stripe-ruby/pull/1295) Upgrade rubocop
950
- - [#1291](https://github.com/stripe/stripe-ruby/pull/1291) Update generated code
951
-
952
- - [#1290](https://github.com/stripe/stripe-ruby/pull/1290) Update generated code
953
-
954
- - [#1288](https://github.com/stripe/stripe-ruby/pull/1288) Update generated code
955
-
956
- ## 10.2.0-beta.1 - 2023-11-02
957
-
958
- - [#1287](https://github.com/stripe/stripe-ruby/pull/1287) Update generated code for beta
959
- - Add support for `attach_payment_intent` method on resource `Invoice`
960
- - [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
961
-
962
- ## 10.1.0 - 2023-11-02
963
-
964
- - [#1286](https://github.com/stripe/stripe-ruby/pull/1286) Update generated code
965
- - Add support for new resource `Tax.Registration`
966
- - Add support for `create`, `list`, and `update` methods on resource `Registration`
967
-
968
- ## 10.1.0-beta.2 - 2023-10-26
969
-
970
- - [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
971
- - Add support for new resource `Margin`
972
- - Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Margin`
973
-
974
- ## 10.1.0-beta.1 - 2023-10-17
975
-
976
- - [#1284](https://github.com/stripe/stripe-ruby/pull/1284) Update generated code for beta
977
- - Update pinned API version to `2023-10-16`
978
- - [#1282](https://github.com/stripe/stripe-ruby/pull/1282) Update generated code for beta
979
-
980
- ## 10.0.0 - 2023-10-16
981
- * This release changes the pinned API version to `2023-10-16`. Please read the [API Changelog](https://docs.stripe.com/changelog/2023-10-16) and carefully review the API changes before upgrading `stripe-ruby`.
982
- * [#1283](https://github.com/stripe/stripe-ruby/pull/1283) Update generated code
983
- - Updated pinned API version
984
- - [#1281](https://github.com/stripe/stripe-ruby/pull/1281) Update generated code
985
- - Documentation only changes
986
-
987
- ## 9.5.0-beta.2 - 2023-10-12
988
-
989
- - [#1280](https://github.com/stripe/stripe-ruby/pull/1280) Update generated code for beta
990
- - Add support for new resources `AccountNotice` and `Issuing.CreditUnderwritingRecord`
991
- - Add support for `list`, `retrieve`, and `update` methods on resource `AccountNotice`
992
- - Add support for `correct`, `create_from_application`, `create_from_proactive_review`, `list`, `report_decision`, and `retrieve` methods on resource `CreditUnderwritingRecord`
993
-
994
- ## 9.5.0-beta.1 - 2023-10-05
995
-
996
- - [#1278](https://github.com/stripe/stripe-ruby/pull/1278) Update generated code for beta
997
- - Add support for `mark_draft` and `mark_stale` methods on resource `Quote`
998
- - Remove support for `draft_quote` and `mark_stale_quote` methods on resource `Quote`
999
- - Rename `preview_invoice_lines` to `list_preview_invoice_lines` on resource `Quote`
1000
-
1001
- ## 9.4.0 - 2023-10-05
1002
-
1003
- - [#1277](https://github.com/stripe/stripe-ruby/pull/1277) Update generated code
1004
- - Add support for new resources `Issuing.Token`
1005
- - Add support for `list`, `retrieve`, and `update` methods on resource `Token`
1006
-
1007
- ## 9.4.0-beta.3 - 2023-09-28
1008
-
1009
- - [#1276](https://github.com/stripe/stripe-ruby/pull/1276) Update generated code for beta
1010
- - Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
1011
-
1012
- ## 9.4.0-beta.2 - 2023-09-21
1013
-
1014
- - [#1273](https://github.com/stripe/stripe-ruby/pull/1273) Update generated code for beta
1015
-
1016
- ## 9.4.0-beta.1 - 2023-09-14
1017
-
1018
- - Updated stable APIs to the latest version
1019
-
1020
- ## 9.3.0 - 2023-09-14
1021
-
1022
- - [#1272](https://github.com/stripe/stripe-ruby/pull/1272) Update generated code
1023
- - Add support for new resource `PaymentMethodConfiguration`
1024
- - Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
1025
- - [#1271](https://github.com/stripe/stripe-ruby/pull/1271) Update generated code
1026
- - Add support for `capture`, `create`, `expire`, `increment`, and `reverse` test helper methods on resource `Issuing.Authorization`
1027
- - Add support for `create_force_capture`, `create_unlinked_refund`, and `refund` test helper methods on resource `Issuing.Transaction`
1028
-
1029
- ## 9.3.0-beta.1 - 2023-09-07
1030
-
1031
- - [#1269](https://github.com/stripe/stripe-ruby/pull/1269) Update generated code for beta
1032
- - Release specs are identical.
1033
- - [#1268](https://github.com/stripe/stripe-ruby/pull/1268) Update generated code for beta
1034
- - Remove support for `submit_card` test helper method on resource `Issuing.Card`
1035
- - [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
1036
- - Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
1037
- - [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
1038
- - Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
1039
- - [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
1040
-
1041
- - [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
1042
-
1043
- - [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
1044
- - Add support for `submit_card` test helper method on resource `Issuing.Card`
1045
- - [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
1046
-
1047
- ## 9.2.0 - 2023-09-07
1048
-
1049
- - [#1267](https://github.com/stripe/stripe-ruby/pull/1267) Update generated code
1050
- - Add support for new resource `PaymentMethodDomain`
1051
- - Add support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `PaymentMethodDomain`
1052
-
1053
- ## 9.2.0-beta.1 - 2023-08-31
1054
-
1055
- - [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
1056
- - Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
1057
-
1058
- ## 9.1.0 - 2023-08-31
1059
-
1060
- - [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
1061
- - Add support for new resource `AccountSession`
1062
- - Add support for `create` method on resource `AccountSession`
1063
- - [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
1064
-
1065
- ## 9.0.0 - 2023-08-16
1066
-
1067
- **⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️**
1068
-
1069
- - [#1253](https://github.com/stripe/stripe-ruby/pull/1253) [#1260](https://github.com/stripe/stripe-ruby/pull/1260) Pin latest API version as the default
1070
-
1071
- In this release, Stripe API Version `2023-08-16` (the latest at time of release) will be sent by default on all requests. This is a significant change with wide ramifications. The API version affects the properties you see on responses, the parameters you are allowed to send on requests, and so on. The previous default was to use your [Stripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version).
1072
-
1073
- To successfully upgrade to stripe-ruby v9, you must either
1074
-
1075
- 1. **(Recommended) Upgrade your integration to be compatible with API Version `2023-08-16`.**
1076
-
1077
- Please read the API Changelog carefully for each API Version from `2023-08-16` back to your [Stripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version). Determine if you are using any of the APIs that have changed in a breaking way, and adjust your integration accordingly. Carefully test your changes with Stripe [Test Mode](https://stripe.com/docs/keys#test-live-modes) before deploying them to production.
1078
-
1079
- You can read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more detailed instructions.
1080
-
1081
- 2. **(Alternative option) Specify a version other than `2023-08-16` when initializing `stripe-ruby`.**
1082
-
1083
- If you were previously initializing stripe-ruby without an explicit API Version, you can postpone modifying your integration by specifying a version equal to your [Stripe account's default API version](https://stripe.com/docs/development/dashboard/request-logs#view-your-default-api-version). For example:
1084
-
1085
- ```diff
1086
- require 'stripe'
1087
- Stripe.api_key = "sk_test_..."
1088
- + Stripe.api_version = '2020-08-27'
1089
- ```
1090
-
1091
- If you were already initializing stripe-ruby with an explicit API Version, upgrading to v9 will not affect your integration.
1092
-
1093
- Read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more details.
1094
-
1095
- Going forward, each major release of this library will be _pinned_ by default to the latest Stripe API Version at the time of release.
1096
-
1097
- That is, instead of upgrading stripe-ruby and separately upgrading your Stripe API Version through the Stripe Dashboard. whenever you upgrade major versions of stripe-ruby, you should also upgrade your integration to be compatible with the latest Stripe API version.
1098
-
1099
- ## 9.0.0-beta.1 - 2023-08-24
1100
-
1101
- - [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
1102
- - Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
1103
- - [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
1104
-
1105
- ## 8.8.0-beta.1 - 2023-08-10
1106
-
1107
- - [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
1108
- - Updated stable APIs to the latest version
1109
-
1110
- ## 8.7.0 - 2023-08-10
1111
-
1112
- - [#1256](https://github.com/stripe/stripe-ruby/pull/1256) Update generated code
1113
- Add resources `Tax::CalculationLineItem`, `Tax::TransactionLineItem`, and `Treasury::FinancialAccountFeatures`. These resources have no methods on them, but do represent the return type of methods elsewhere.
1114
-
1115
- ## 8.7.0-beta.3 - 2023-08-03
1116
-
1117
- - [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
1118
- - Add support for `submit_card` test helper method on resource `Issuing.Card`
1119
- - [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
1120
-
1121
- ## 8.7.0-beta.2 - 2023-07-28
1122
-
1123
- - [#1251](https://github.com/stripe/stripe-ruby/pull/1251) Update generated code for beta
1124
- - Add support for new resource `Tax.Form`
1125
- - Add support for `list`, `pdf`, and `retrieve` methods on resource `Form`
1126
- - [#1249](https://github.com/stripe/stripe-ruby/pull/1249) Update generated code for beta
1127
- - [#1246](https://github.com/stripe/stripe-ruby/pull/1246) Update generated code for beta
1128
-
1129
- ## 8.7.0-beta.1 - 2023-07-13
1130
-
1131
- - [#1245](https://github.com/stripe/stripe-ruby/pull/1245) Update generated code for beta
1132
- Release specs are identical.
1133
- - [#1243](https://github.com/stripe/stripe-ruby/pull/1243) Update generated code for beta
1134
- - Add support for new resource `PaymentMethodConfiguration`
1135
- - Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
1136
- - [#1239](https://github.com/stripe/stripe-ruby/pull/1239) Update generated code for beta
1137
-
1138
- ## 8.6.0 - 2023-07-13
1139
-
1140
- - [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
1141
- - Add support for new resource `Tax.Settings`
1142
- - Add support for `retrieve` and `update` methods on resource `Settings`
1143
- - [#1241](https://github.com/stripe/stripe-ruby/pull/1241) Update generated code
1144
-
1145
- - [#1209](https://github.com/stripe/stripe-ruby/pull/1209) Update shoulda-context version
1146
- - [#1235](https://github.com/stripe/stripe-ruby/pull/1235) Allow "error" string as log level
1147
- - [#1238](https://github.com/stripe/stripe-ruby/pull/1238) Update log level error message to include `error`
1148
- - [#1231](https://github.com/stripe/stripe-ruby/pull/1231) fix: variable typo in README for instrumentation
1149
- - [#1234](https://github.com/stripe/stripe-ruby/pull/1234) Update generated code
1150
-
1151
- - [#1230](https://github.com/stripe/stripe-ruby/pull/1230) Update generated code
1152
- - Release specs are identical.
1153
- - [#1226](https://github.com/stripe/stripe-ruby/pull/1226) Update generated code
1154
-
1155
- - [#1223](https://github.com/stripe/stripe-ruby/pull/1223) Update generated code
1156
-
1157
- - [#1225](https://github.com/stripe/stripe-ruby/pull/1225) Downgrade jaro_winkler
1158
- - [#1219](https://github.com/stripe/stripe-ruby/pull/1219) Update generated code
1159
-
1160
- Documentation updates.
1161
-
1162
- - [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
1163
-
1164
- - [#1208](https://github.com/stripe/stripe-ruby/pull/1208) Update generated code
1165
-
1166
- - [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
1167
-
1168
- ## 8.6.0-beta.6 - 2023-06-22
1169
-
1170
- - [#1237](https://github.com/stripe/stripe-ruby/pull/1237) Update generated code for beta
1171
- - Add support for new resource `CustomerSession`
1172
- - Add support for `create` method on resource `CustomerSession`
1173
- - [#1233](https://github.com/stripe/stripe-ruby/pull/1233) Update generated code for beta
1174
- - [#1229](https://github.com/stripe/stripe-ruby/pull/1229) Update generated code for beta
1175
-
1176
- ## 8.6.0-beta.5 - 2023-06-01
1177
-
1178
- - [#1227](https://github.com/stripe/stripe-ruby/pull/1227) Update generated code for beta
1179
- - [#1228](https://github.com/stripe/stripe-ruby/pull/1228) Document raw_request
1180
- - [#1222](https://github.com/stripe/stripe-ruby/pull/1222) Update generated code for beta
1181
- - [#1224](https://github.com/stripe/stripe-ruby/pull/1224) Handle developer message in preview error responses
1182
-
1183
- ## 8.6.0-beta.4 - 2023-05-19
1184
-
1185
- - [#1220](https://github.com/stripe/stripe-ruby/pull/1220) Update generated code for beta
1186
- - Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
1187
- - [#1217](https://github.com/stripe/stripe-ruby/pull/1217) Add raw_request
1188
- - [#1216](https://github.com/stripe/stripe-ruby/pull/1216) Update generated code for beta
1189
- - [#1214](https://github.com/stripe/stripe-ruby/pull/1214) Update generated code for beta
1190
-
1191
- ## 8.6.0-beta.3 - 2023-04-17
1192
-
1193
- - [#1211](https://github.com/stripe/stripe-ruby/pull/1211) Update generated code for beta
1194
- - [#1210](https://github.com/stripe/stripe-ruby/pull/1210), [#1212](https://github.com/stripe/stripe-ruby/pull/1212), [#1213](https://github.com/stripe/stripe-ruby/pull/1213) Add support for request signing
1195
-
1196
- ## 8.6.0-beta.2 - 2023-04-13
1197
-
1198
- - [#1206](https://github.com/stripe/stripe-ruby/pull/1206) Update generated code for beta
1199
- - Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
1200
- - [#1205](https://github.com/stripe/stripe-ruby/pull/1205) Update generated code for beta
1201
-
1202
- ## 8.6.0-beta.1 - 2023-03-30
1203
-
1204
- - [#1202](https://github.com/stripe/stripe-ruby/pull/1202) Update generated code for beta
1205
-
1206
- ## 8.5.0 - 2023-03-30
1207
-
1208
- - [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
1209
- - Remove support for `create` method on resource `Tax.Transaction`
1210
- - This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `create_from_calculation` method.
1211
- - [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
1212
-
1213
- ## 8.5.0-beta.1 - 2023-03-23
1214
-
1215
- - [#1194](https://github.com/stripe/stripe-ruby/pull/1194) Update generated code for beta (new)
1216
- - Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
1217
- - Add support for `collect_inputs` method on resource `Terminal.Reader`
1218
-
1219
- ## 8.4.0 - 2023-03-23
1220
-
1221
- - [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
1222
- - Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
1223
- - Add support for `create` and `list_line_items` methods on resource `Calculation`
1224
- - Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
1225
- - [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
1226
-
1227
- ## 8.4.0-beta.4 - 2023-03-16
1228
-
1229
- - [#1189](https://github.com/stripe/stripe-ruby/pull/1189) Update generated code for beta (new)
1230
- - Add support for `create_from_calculation` method on resource `Tax.Transaction`
1231
- - [#1188](https://github.com/stripe/stripe-ruby/pull/1188) Update generated code for beta (new)
1232
- - Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary`
1233
- - Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer`
1234
- - Remove support for `retrieve` method on resource `FinancingSummary`
1235
- - [#1187](https://github.com/stripe/stripe-ruby/pull/1187) Merge upstream master
1236
-
1237
- ## 8.4.0-beta.3 - 2023-03-09
1238
-
1239
- - [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
1240
- - Updated stable APIs to the latest version
1241
- - Remove support for `list_transactions` method on resource `Tax.Transaction`
1242
-
1243
- ## 8.4.0-beta.2 - 2023-03-03
1244
-
1245
- - [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
1246
- - Updated stable APIs to the latest version
1247
- - Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
1248
- - Add support for `list` and `retrieve` methods on resource `CardBundle`
1249
- - Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
1250
-
1251
- ## 8.4.0-beta.1 - 2023-02-23
1252
-
1253
- - [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
1254
- - Updated stable APIs to the latest version
1255
-
1256
- ## 8.3.0 - 2023-02-16
1257
-
1258
- - [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
1259
- - Add support for `refund_payment` method on resource `Terminal.Reader`
1260
-
1261
- ## 8.3.0-beta.1 - 2023-02-02
1262
-
1263
- - [#1174](https://github.com/stripe/stripe-ruby/pull/1174) API Updates for beta branch
1264
- - Updated stable APIs to the latest version
1265
- - Add support for new resource `FinancialConnections.Transaction`
1266
- - Add support for `list` method on resource `Transaction`
1267
-
1268
- ## 8.2.0 - 2023-02-02
1269
-
1270
- - [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
1271
- - Add support for `resume` method on resource `Subscription`
1272
- - [#1171](https://github.com/stripe/stripe-ruby/pull/1171) Remove unused `partial` param from `initialize_from`
1273
-
1274
- ## 8.2.0-beta.3 - 2023-01-26
1275
-
1276
- - [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
1277
- - Updated stable APIs to the latest version
1278
- - Add support for `list_transactions` method on resource `Tax.Transaction`
1279
-
1280
- ## 8.2.0-beta.2 - 2023-01-19
1281
-
1282
- - [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
1283
- - Updated stable APIs to the latest version
1284
- - Add support for `Tax.Settings` resource.
1285
-
1286
- ## 8.2.0-beta.1 - 2023-01-12
1287
-
1288
- - [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
1289
- - Updated stable APIs to the latest version
1290
- - Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
1291
- - Add support for `Tax::Register` resource
1292
-
1293
- ## 8.1.0 - 2023-01-12
1294
-
1295
- - [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
1296
-
1297
- ## 8.1.0-beta.4 - 2023-01-05
1298
-
1299
- - [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
1300
- - Updated stable APIs to the latest version
1301
- - Add support for `mark_stale_quote` method on resource `Quote`
1302
-
1303
- ## 8.1.0-beta.3 - 2022-12-22
1304
-
1305
- - [#1158](https://github.com/stripe/stripe-ruby/pull/1158) API Updates for beta branch
1306
- - Updated stable APIs to the latest version
1307
- - Move `TaxCalculation` and `TaxTransaction` to `Tax::Calculation` and `Tax::Transaction`.
1308
-
1309
- ## 8.1.0-beta.2 - 2022-12-15
1310
-
1311
- - [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
1312
- - Updated stable APIs to the latest version
1313
- - Add support for new resources `TaxCalculation`, and `TaxTransaction`
1314
- - Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
1315
- - Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
1316
- - [#1155](https://github.com/stripe/stripe-ruby/pull/1155) API Updates for beta branch
1317
- - Updated stable APIs to the latest version
1318
- - Add support for new resource `QuoteLine`.
1319
-
1320
- ## 8.1.0-beta.1 - 2022-12-08
1321
-
1322
- - [#1153](https://github.com/stripe/stripe-ruby/pull/1153) API Updates for beta branch
1323
- - Updated stable APIs to the latest version
1324
- - [#1146](https://github.com/stripe/stripe-ruby/pull/1146) API Updates for beta branch
1325
- - Updated stable APIs to the latest version
1326
-
1327
- ## 8.0.0 - 2022-11-16
1328
-
1329
- - [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
1330
-
1331
- Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://docs.stripe.com/changelog/2022-11-15.
1332
-
1333
- "⚠️" symbol highlights breaking changes.
1334
-
1335
- ## 7.2.0-beta.5 - 2022-11-02
1336
-
1337
- - [#1139](https://github.com/stripe/stripe-ruby/pull/1139) API Updates for beta branch
1338
- - Updated beta APIs to the latest stable version
1339
- - [#1135](https://github.com/stripe/stripe-ruby/pull/1135) API Updates for beta branch
1340
- - Updated stable APIs to the latest version
1341
-
1342
- ## 7.2.0-beta.4 - 2022-10-07
1343
-
1344
- - [#999](https://github.com/stripe/stripe-ruby/pull/999) DESCRIBE CHANGES HERE (try to use the same style, tense, etc. as the other entries)
1345
-
1346
- ## 7.2.0-beta.3 - 2022-09-26
1347
-
1348
- - [#1129](https://github.com/stripe/stripe-ruby/pull/1129) API Updates for beta branch
1349
- - Updated stable APIs to the latest version
1350
- - Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
1351
-
1352
- ## 7.2.0-beta.2 - 2022-08-26
1353
-
1354
- - [#1127](https://github.com/stripe/stripe-ruby/pull/1127) API Updates for beta branch
1355
- - Updated stable APIs to the latest version
1356
- - Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
1357
-
1358
- ## 7.2.0-beta.1 - 2022-08-23
1359
-
1360
- - [#1122](https://github.com/stripe/stripe-ruby/pull/1122) API Updates for beta branch
1361
- - Updated stable APIs to the latest version
1362
- - `Stripe-Version` beta headers are not pinned by-default and need to be manually specified, please refer to [beta SDKs README section](https://github.com/stripe/stripe-ruby/blob/master/README.md#beta-sdks)
1363
-
1364
- ## 7.1.0 - 2022-08-19
1365
-
1366
- - [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
1367
- - Add support for new resource `CustomerCashBalanceTransaction`
1368
- - [#1118](https://github.com/stripe/stripe-ruby/pull/1118) Update AllowedChars in rubocop config
1369
- - [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
1370
- - [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
1371
-
1372
- ## 7.1.0-beta.2 - 2022-08-11
1373
-
1374
- - [#1113](https://github.com/stripe/stripe-ruby/pull/1113) API Updates for beta branch
1375
- - Updated stable APIs to the latest version
1376
- - Add `refund_payment` method to Terminal resource
1377
-
1378
- ## 7.1.0-beta.1 - 2022-08-03
1379
-
1380
- - [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
1381
- - Updated stable APIs to the latest version
1382
- - Added the `Order` resource support
1383
-
1384
- ## 7.0.0 - 2022-08-02
1385
-
1386
- Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v7. For changes to the Stripe products, read more at https://docs.stripe.com/changelog/2022-08-01.
1387
-
1388
- "⚠️" symbol highlights breaking changes.
1389
-
1390
- - [#1106](https://github.com/stripe/stripe-ruby/pull/1106) API Updates
1391
- - [#1092](https://github.com/stripe/stripe-ruby/pull/1092) API Updates
1392
- - [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
1393
- - [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
1394
-
1395
- ## 6.6.0-beta.1 - 2022-07-22
1396
-
1397
- - [#1100](https://github.com/stripe/stripe-ruby/pull/1100) API Updates for beta branch
1398
- - Updated stable APIs to the latest version
1399
- - Add `QuotePhase` resource
1400
- - [#1097](https://github.com/stripe/stripe-ruby/pull/1097) API Updates for beta branch
1401
- - Updated stable APIs to the latest version
1402
- - Add `SubscriptionSchedule.amend` method.
1403
- - [#1093](https://github.com/stripe/stripe-ruby/pull/1093) API Updates for beta branch
1404
- - Include `server_side_confirmation_beta=v1` beta
1405
- - Add `secretKeyConfirmation` to `PaymentIntent`
1406
- - [#1085](https://github.com/stripe/stripe-ruby/pull/1085) API Updates for beta branch
1407
- - Updated stable APIs to the latest version
1408
- - [#1075](https://github.com/stripe/stripe-ruby/pull/1075) Use the generated API version
1409
-
1410
- ## 6.5.0 - 2022-06-29
1411
-
1412
- - [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
1413
- - Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
1414
- - [#1076](https://github.com/stripe/stripe-ruby/pull/1076) fix: Update logging to coerce ASCII-8BIT into UTF-8.
1415
-
1416
- ## 6.4.0 - 2022-06-17
1417
-
1418
- - [#1073](https://github.com/stripe/stripe-ruby/pull/1073) API Updates
1419
- - Add support for `fund_cash_balance` test helper method on resource `Customer`
1420
- - [#1074](https://github.com/stripe/stripe-ruby/pull/1074) Support updating pre-release versions
1421
- - [#1072](https://github.com/stripe/stripe-ruby/pull/1072) Trigger workflows on beta branches
1422
- - [#1071](https://github.com/stripe/stripe-ruby/pull/1071) Use request_stripe_object for all requests
1423
- - [#1070](https://github.com/stripe/stripe-ruby/pull/1070) API Updates
1424
-
1425
- Switch from using meta-programing to generating explicit methods for custom methods.
1426
-
1427
- - [#1069](https://github.com/stripe/stripe-ruby/pull/1069) chore: Stop special implementation of Account.persons method.
1428
-
1429
- ## 6.3.0 - 2022-06-08
1430
-
1431
- - [#1063](https://github.com/stripe/stripe-ruby/pull/1063) fix: Update cash balance methods to no longer require nested ID.
1432
-
1433
- ## 6.2.0 - 2022-05-23
1434
-
1435
- - [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
1436
- - Add support for new resource `Apps.Secret`
1437
-
1438
- ## 6.1.0 - 2022-05-19
1439
-
1440
- - [#1057](https://github.com/stripe/stripe-ruby/pull/1057) API Updates
1441
- - Add support for new resources `Treasury.CreditReversal`, `Treasury.DebitReversal`, `Treasury.FinancialAccountFeatures`, `Treasury.FinancialAccount`, `Treasury.FlowDetails`, `Treasury.InboundTransfer`, `Treasury.OutboundPayment`, `Treasury.OutboundTransfer`, `Treasury.ReceivedCredit`, `Treasury.ReceivedDebit`, `Treasury.TransactionEntry`, and `Treasury.Transaction`
1442
- - Add support for `retrieve_payment_method` method on resource `Customer`
1443
- - Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
1444
-
1445
- ## 6.0.0 - 2022-05-09
1446
-
1447
- - [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
1448
- Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-Guide-for-v6) contains more information.
1449
-
1450
- (⚠️ = breaking changes):
1451
-
1452
- - ⚠️ Replace the legacy `Order` API with the new `Order` API.
1453
- - New methods: `cancel`, `list_line_items`, `reopen`, and `submit`
1454
- - Removed methods: `pay` and `return_order`
1455
- - Removed resources: `OrderItem` and `OrderReturn`
1456
- - ⚠️ Rename `FinancialConnections::Account.refresh` to `FinancialConnections::Account.refresh_account
1457
-
1458
- ## 5.55.0 - 2022-05-05
1459
-
1460
- - [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
1461
- - Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
1462
-
1463
- ## 5.54.0 - 2022-05-03
1464
-
1465
- - [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
1466
- - Add support for new resource `CashBalance`
1467
-
1468
- ## 5.53.0 - 2022-04-21
1469
-
1470
- - [#1050](https://github.com/stripe/stripe-ruby/pull/1050) API Updates
1471
- - Add support for `expire` test helper method on resource `Refund`
1472
-
1473
- ## 5.52.0 - 2022-04-18
1474
-
1475
- - [#1046](https://github.com/stripe/stripe-ruby/pull/1046) [#1047](https://github.com/stripe/stripe-ruby/pull/1047) API Updates
1476
- - Add support for new resources `FundingInstructions` and `Terminal.Configuration`
1477
-
1478
- ## 5.51.0 - 2022-04-15
1479
-
1480
- - [#1046](https://github.com/stripe/stripe-ruby/pull/1046) This release was incomplete and was yanked from RubyGems immediately after it was published.
1481
-
1482
- ## 5.50.0 - 2022-04-13
1483
-
1484
- - [#1045](https://github.com/stripe/stripe-ruby/pull/1045) API Updates
1485
- - Add support for `increment_authorization` method on resource `PaymentIntent`
1486
-
1487
- ## 5.49.0 - 2022-04-08
1488
-
1489
- - [#1043](https://github.com/stripe/stripe-ruby/pull/1043) API Updates
1490
- - Add support for `apply_customer_balance` method on resource `PaymentIntent`
1491
-
1492
- ## 5.48.0 - 2022-03-30
1493
-
1494
- - [#1041](https://github.com/stripe/stripe-ruby/pull/1041) API Updates
1495
- - Add support for `cancel_action`, `process_payment_intent`, `process_setup_intent`, and `set_reader_display` methods on resource `Terminal.Reader`
1496
-
1497
- ## 5.47.0 - 2022-03-29
1498
-
1499
- - [#1040](https://github.com/stripe/stripe-ruby/pull/1040) API Updates
1500
-
1501
- - Add support for Search API
1502
- - Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
1503
-
1504
- - [#1034](https://github.com/stripe/stripe-ruby/pull/1034) Add supporting classes for test helper generation
1505
-
1506
- ## 5.46.0 - 2022-03-23
1507
-
1508
- - [#1039](https://github.com/stripe/stripe-ruby/pull/1039) API Updates
1509
- - Add support for `cancel` method on resource `Refund`
1510
- - [#992](https://github.com/stripe/stripe-ruby/pull/992) Add support for Search API
1511
-
1512
- ## 5.45.0 - 2022-03-01
1513
-
1514
- - [#1035](https://github.com/stripe/stripe-ruby/pull/1035) API Updates
1515
- - Add support for new resource `TestHelpers.TestClock`
1516
-
1517
- ## 5.44.0 - 2022-02-16
1518
-
1519
- - [#1032](https://github.com/stripe/stripe-ruby/pull/1032) API Updates
1520
- - Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`
1521
-
1522
- ## 5.43.0 - 2022-01-20
1523
-
1524
- - [#1031](https://github.com/stripe/stripe-ruby/pull/1031) API Updates
1525
- - Add support for new resource `PaymentLink`
1526
-
1527
- ## 5.42.0 - 2021-12-13
1528
-
1529
- - [#1022](https://github.com/stripe/stripe-ruby/pull/1022) Add connection manager logging and include object IDs in logging.
1530
-
1531
- ## 5.41.0 - 2021-11-16
1532
-
1533
- - [#1017](https://github.com/stripe/stripe-ruby/pull/1017) API Updates
1534
- - Add support for new resource `ShippingRate`
1535
-
1536
- ## 5.40.0 - 2021-11-11
1537
-
1538
- - [#1015](https://github.com/stripe/stripe-ruby/pull/1015) API Updates
1539
- - Add support for `expire` method on resource `Checkout.Session`
1540
- - [#1013](https://github.com/stripe/stripe-ruby/pull/1013) Add tests for child resources.
1541
- - [#1012](https://github.com/stripe/stripe-ruby/pull/1012) Add tests for namespaced resources.
1542
- - [#1011](https://github.com/stripe/stripe-ruby/pull/1011) codegen: 3 more files
1543
-
1544
- ## 5.39.0 - 2021-10-11
1545
-
1546
- - [#1010](https://github.com/stripe/stripe-ruby/pull/1010) API Updates
1547
- - Add support for `list_payment_methods` method on resource `Customer`
1548
-
1549
- ## 5.38.0 - 2021-08-10
1550
-
1551
- - [#993](https://github.com/stripe/stripe-ruby/pull/993) Add `request_id` to RequestEndEvent
1552
- - [#991](https://github.com/stripe/stripe-ruby/pull/991) Codegen more files
1553
- - [#989](https://github.com/stripe/stripe-ruby/pull/989) Remove unused API error types from docs.
1554
-
1555
- ## 5.37.0 - 2021-07-14
1556
-
1557
- - [#988](https://github.com/stripe/stripe-ruby/pull/988) API Updates
1558
- - Add support for `list_computed_upfront_line_items` method on resource `Quote`
1559
-
1560
- ## 5.36.0 - 2021-07-09
1561
-
1562
- - [#987](https://github.com/stripe/stripe-ruby/pull/987) Add support for `Quote` API
1563
-
1564
- ## 5.35.0 - 2021-06-30
1565
-
1566
- - [#985](https://github.com/stripe/stripe-ruby/pull/985) Update normalize_opts to use dup instead of clone.
1567
- - [#982](https://github.com/stripe/stripe-ruby/pull/982) Deprecate travis
1568
- - [#983](https://github.com/stripe/stripe-ruby/pull/983) Add support for making a request and receiving the response as a stream.
1569
-
1570
- ## 5.34.0 - 2021-06-04
1571
-
1572
- - [#981](https://github.com/stripe/stripe-ruby/pull/981) API Updates
1573
- - Add support for `TaxCode` API.
1574
-
1575
- ## 5.33.0 - 2021-05-19
1576
-
1577
- - [#979](https://github.com/stripe/stripe-ruby/pull/979) Add support for the Identify VerificationSession and VerificationReport APIs
1578
-
1579
- ## 5.32.1 - 2021-04-05
1580
-
1581
- - Correct use of regexp `match` in gemspec for old versions of Ruby
1582
-
1583
- ## 5.32.0 - 2021-04-05
1584
-
1585
- - [#973](https://github.com/stripe/stripe-ruby/pull/973) Reduce packed gem size
1586
-
1587
- ## 5.31.0 - 2021-04-02
1588
-
1589
- - [#968](https://github.com/stripe/stripe-ruby/pull/968) Allow StripeClient to be configured per instance
1590
- - [#971](https://github.com/stripe/stripe-ruby/pull/971) On config change, only clear connection managers for changed config
1591
- - [#972](https://github.com/stripe/stripe-ruby/pull/972) Rename `Stripe.configuration` to `Stripe.config`
1592
- - [#970](https://github.com/stripe/stripe-ruby/pull/970) Reserve some critical field names when adding `StripeObject` accessors
1593
- - [#967](https://github.com/stripe/stripe-ruby/pull/967) CI: github actions
1594
-
1595
- ## 5.30.0 - 2021-02-22
1596
-
1597
- - [#965](https://github.com/stripe/stripe-ruby/pull/965) Add support for the Billing Portal Configuration API
1598
-
1599
- ## 5.29.1 - 2021-02-09
1600
-
1601
- - [#964](https://github.com/stripe/stripe-ruby/pull/964) Fix return value of `Customer#delete_discount`
1602
-
1603
- ## 5.29.0 - 2021-01-05
1604
-
1605
- - [#952](https://github.com/stripe/stripe-ruby/pull/952) Allow client_id configuration on instance config
1606
-
1607
- ## 5.28.0 - 2020-10-14
1608
-
1609
- - [#950](https://github.com/stripe/stripe-ruby/pull/950) Add configuration option for `write_timeout` for connections on Ruby 2.6+
1610
-
1611
- ## 5.27.0 - 2020-10-14
1612
-
1613
- - [#951](https://github.com/stripe/stripe-ruby/pull/951) Add support for the Payout Reverse API
1614
-
1615
- ## 5.26.0 - 2020-09-29
1616
-
1617
- - [#949](https://github.com/stripe/stripe-ruby/pull/949) Add support for the `SetupAttempt` resource and List API
1618
-
1619
- ## 5.25.0 - 2020-09-02
1620
-
1621
- - [#944](https://github.com/stripe/stripe-ruby/pull/944) Add support for the Issuing Dispute Submit API
1622
-
1623
- ## 5.24.0 - 2020-08-26
1624
-
1625
- - [#939](https://github.com/stripe/stripe-ruby/pull/939) Extract configurations into separate object
1626
- - [#940](https://github.com/stripe/stripe-ruby/pull/940) Fix typo in documentation of `stripe_object.rb`
1627
-
1628
- ## 5.23.1 - 2020-08-05
1629
-
1630
- - [#936](https://github.com/stripe/stripe-ruby/pull/936) Rename API resource's `request` method
1631
-
1632
- ## 5.23.0 - 2020-08-05
1633
-
1634
- - [#937](https://github.com/stripe/stripe-ruby/pull/937) Add support for the `PromotionCode` resource and APIs
1635
-
1636
- ## 5.22.0 - 2020-05-11
1637
-
1638
- - [#918](https://github.com/stripe/stripe-ruby/pull/918) Add support for the `LineItem` resource and APIs
1639
-
1640
- ## 5.21.0 - 2020-04-29
1641
-
1642
- - [#917](https://github.com/stripe/stripe-ruby/pull/917) Add support for the `Price` resource and APIs
1643
-
1644
- ## 5.20.0 - 2020-04-27
1645
-
1646
- - [#916](https://github.com/stripe/stripe-ruby/pull/916) Add new `.generate_header` method for webhooks
1647
-
1648
- ## 5.19.0 - 2020-04-24
1649
-
1650
- - [#915](https://github.com/stripe/stripe-ruby/pull/915) Expose `Stripe::Webhook.compute_signature` publicly
1651
-
1652
- ## 5.18.0 - 2020-04-22
1653
-
1654
- - [#911](https://github.com/stripe/stripe-ruby/pull/911) Add support for `BillingPortal` namespace and `Session` resource and APIs
1655
-
1656
- ## 5.17.0 - 2020-02-26
1657
-
1658
- - [#907](https://github.com/stripe/stripe-ruby/pull/907) Add `StripeError#idempotent_replayed?`
1659
-
1660
- ## 5.16.0 - 2020-02-26
1661
-
1662
- - [#906](https://github.com/stripe/stripe-ruby/pull/906) Add support for listing Checkout sessions
1663
- - [#903](https://github.com/stripe/stripe-ruby/pull/903) Upgrade to Rubocop 0.80
1664
-
1665
- ## 5.15.0 - 2020-02-10
1666
-
1667
- - [#902](https://github.com/stripe/stripe-ruby/pull/902) Add `request_begin` instrumentation callback
1668
-
1669
- ## 5.14.0 - 2020-01-14
1670
-
1671
- - [#896](https://github.com/stripe/stripe-ruby/pull/896) Add support for `CreditNoteLineItem`
1672
- - [#894](https://github.com/stripe/stripe-ruby/pull/894) Clean up test output by capturing `$stderr` when we expect warnings
1673
- - [#892](https://github.com/stripe/stripe-ruby/pull/892) Explicitly pass a parameter as hash to be more ruby 2.7 friendly
1674
- - [#893](https://github.com/stripe/stripe-ruby/pull/893) Upgrade Rubocop to 0.79
1675
-
1676
- ## 5.13.0 - 2020-01-08
1677
-
1678
- - [#891](https://github.com/stripe/stripe-ruby/pull/891) Fix most Ruby 2.7 warnings
1679
-
1680
- ## 5.12.1 - 2020-01-06
1681
-
1682
- - [#890](https://github.com/stripe/stripe-ruby/pull/890) Override API key with `client_secret` in `OAuth.token`
1683
-
1684
- ## 5.12.0 - 2020-01-02
1685
-
1686
- - [#889](https://github.com/stripe/stripe-ruby/pull/889) Add support for retrieve source transaction API method
1687
-
1688
- ## 5.11.0 - 2019-11-26
1689
-
1690
- - [#885](https://github.com/stripe/stripe-ruby/pull/885) Add support for `CreditNote` preview
1691
-
1692
- ## 5.10.0 - 2019-11-08
1693
-
1694
- - [#882](https://github.com/stripe/stripe-ruby/pull/882) Add list_usage_record_summaries and list_source_transactions
1695
-
1696
- ## 5.9.0 - 2019-11-07
1697
-
1698
- - [#870](https://github.com/stripe/stripe-ruby/pull/870) Add request instrumentation callback (see `README.md` for usage example)
1699
-
1700
- ## 5.8.0 - 2019-11-05
1701
-
1702
- - [#879](https://github.com/stripe/stripe-ruby/pull/879) Add support for `Mandate`
1703
- - [#876](https://github.com/stripe/stripe-ruby/pull/876) Add additional per-request configuration documentation
1704
- - [#874](https://github.com/stripe/stripe-ruby/pull/874) Raise an error when requests params are invalid
1705
- - [#873](https://github.com/stripe/stripe-ruby/pull/873) Contributor Covenant
1706
-
1707
- ## 5.7.1 - 2019-10-15
1708
-
1709
- - [#869](https://github.com/stripe/stripe-ruby/pull/869) Fixes the misnamed `connection_base=` setter to be named `connect_base=`
1710
-
1711
- ## 5.7.0 - 2019-10-10
1712
-
1713
- - [#865](https://github.com/stripe/stripe-ruby/pull/865) Support backwards pagination with list's `#auto_paging_each`
1714
-
1715
- ## 5.6.0 - 2019-10-04
1716
-
1717
- - [#861](https://github.com/stripe/stripe-ruby/pull/861) Nicer error when specifying non-nil non-string opt value
1718
-
1719
- ## 5.5.0 - 2019-10-03
1720
-
1721
- - [#859](https://github.com/stripe/stripe-ruby/pull/859) User-friendly messages and retries for `EOFError`, `Errno::ECONNRESET`, `Errno::ETIMEDOUT`, and `Errno::EHOSTUNREACH` network errors
1722
-
1723
- ## 5.4.1 - 2019-10-01
1724
-
1725
- - [#858](https://github.com/stripe/stripe-ruby/pull/858) Drop Timecop dependency
1726
-
1727
- ## 5.4.0 - 2019-10-01
1728
-
1729
- - [#857](https://github.com/stripe/stripe-ruby/pull/857) Move to monotonic time for duration calculations
1730
-
1731
- ## 5.3.0 - 2019-10-01
1732
-
1733
- - [#853](https://github.com/stripe/stripe-ruby/pull/853) Support `Stripe-Should-Retry` header
1734
-
1735
- ## 5.2.0 - 2019-09-19
1736
-
1737
- - [#851](https://github.com/stripe/stripe-ruby/pull/851) Introduce system for garbage collecting connection managers
1738
-
1739
- ## 5.1.1 - 2019-09-04
1740
-
1741
- - [#845](https://github.com/stripe/stripe-ruby/pull/845) Transfer the request_id from the http_headers to error.
1742
-
1743
- ## 5.1.0 - 2019-08-27
1744
-
1745
- - [#841](https://github.com/stripe/stripe-ruby/pull/841) Retry requests on a 429 that's a lock timeout
1746
-
1747
- ## 5.0.1 - 2019-08-20
1748
-
1749
- - [#836](https://github.com/stripe/stripe-ruby/pull/836) Increase connection keep alive timeout to 30 seconds
1750
-
1751
- ## 5.0.0 - 2019-08-20
1752
-
1753
- Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v5) contains a detailed list of backwards-incompatible changes with upgrade instructions.
1754
-
1755
- Pull requests included in this release (cf. [#815](https://github.com/stripe/stripe-ruby/pull/815)) (⚠️ = breaking changes):
1756
-
1757
- - ⚠️ [#813](https://github.com/stripe/stripe-ruby/pull/813): Convert library to use built-in `Net::HTTP`
1758
- - ⚠️ [#816](https://github.com/stripe/stripe-ruby/pull/816): Make `code` argument in `CardError` named instead of positional.
1759
- - ⚠️ [#817](https://github.com/stripe/stripe-ruby/pull/817): Drop support for very old Ruby versions.
1760
- - [#818](https://github.com/stripe/stripe-ruby/pull/818): Bump Rubocop to latest version
1761
- - [#819](https://github.com/stripe/stripe-ruby/pull/819): Ruby minimum version increase followup
1762
- - ⚠️ [#820](https://github.com/stripe/stripe-ruby/pull/820): Remove old deprecated methods
1763
- - ⚠️ [#823](https://github.com/stripe/stripe-ruby/pull/823): Remove all alias for list methods
1764
- - ⚠️ [#826](https://github.com/stripe/stripe-ruby/pull/826): Remove `UsageRecord.create` method
1765
- - ⚠️ [#827](https://github.com/stripe/stripe-ruby/pull/827): Remove `IssuerFraudRecord`
1766
- - [#811](https://github.com/stripe/stripe-ruby/pull/811): Add `ErrorObject` to `StripeError` exceptions
1767
- - [#828](https://github.com/stripe/stripe-ruby/pull/828): Tweak retry logic to be a little more like stripe-node
1768
- - [#829](https://github.com/stripe/stripe-ruby/pull/829): Reset connections when connection-changing configuration changes (optional)
1769
- - [#830](https://github.com/stripe/stripe-ruby/pull/830): Fix inverted sign for 500 retries
1770
- - ⚠️[#831](https://github.com/stripe/stripe-ruby/pull/831): Remove a few more very old deprecated methods
1771
- - [#832](https://github.com/stripe/stripe-ruby/pull/832): Minor cleanup in `StripeClient`
1772
- - [#833](https://github.com/stripe/stripe-ruby/pull/833): Do better bookkeeping when tracking state in `Thread.current`
1773
- - [#834](https://github.com/stripe/stripe-ruby/pull/834): Add `Invoice.list_upcoming_line_items` method
1774
-
1775
- ## 4.24.0 - 2019-08-12
1776
-
1777
- - [#825](https://github.com/stripe/stripe-ruby/pull/825) Add `SubscriptionItem.create_usage_record` method
1778
- - This release also removed the `SubscriptionSchedule.revisions` method. This should have been included in the previous release (4.23.0)
1779
-
1780
- ## 4.23.0 - 2019-08-09
1781
-
1782
- - [#824](https://github.com/stripe/stripe-ruby/pull/824) Remove SubscriptionScheduleRevision
1783
- - This is technically a breaking change. We've chosen to release it as a minor vesion bump because the associated API is unused.
1784
-
1785
- ## 4.22.1 - 2019-08-09
1786
-
1787
- - [#808](https://github.com/stripe/stripe-ruby/pull/808) Unify request/response handling
1788
-
1789
- ## 4.22.0 - 2019-07-30
1790
-
1791
- - [#821](https://github.com/stripe/stripe-ruby/pull/821) Listing `BalanceTransaction` objects now uses `/v1/balance_transactions` instead of `/v1/balance/history`
1792
-
1793
- ## 4.21.3 - 2019-07-15
1794
-
1795
- - [#810](https://github.com/stripe/stripe-ruby/pull/810) Better error message when passing non-string to custom method
1796
-
1797
- ## 4.21.2 - 2019-07-05
1798
-
1799
- - [#806](https://github.com/stripe/stripe-ruby/pull/806) Revert back to `initialize_from` from `Util.convert_to_stripe_object`
1800
-
1801
- ## 4.21.1 - 2019-07-04
1802
-
1803
- - [#807](https://github.com/stripe/stripe-ruby/pull/807) Add gem metadata
1804
-
1805
- ## 4.21.0 - 2019-06-28
1806
-
1807
- - [#803](https://github.com/stripe/stripe-ruby/pull/803) Add support for the `SetupIntent` resource and APIs
1808
-
1809
- ## 4.20.1 - 2019-06-28
1810
-
1811
- - [#805](https://github.com/stripe/stripe-ruby/pull/805) Fix formatting in `ConnectionFailed` error message
1812
-
1813
- ## 4.20.0 - 2019-06-24
1814
-
1815
- - [#800](https://github.com/stripe/stripe-ruby/pull/800) Enable request latency telemetry by default
1816
-
1817
- ## 4.19.0 - 2019-06-17
1818
-
1819
- - [#770](https://github.com/stripe/stripe-ruby/pull/770) Add support for `CustomerBalanceTransaction` resource and APIs
1820
-
1821
- ## 4.18.1 - 2019-05-27
1822
-
1823
- - [#789](https://github.com/stripe/stripe-ruby/pull/789) Allow `Order#pay` to be called without arguments
1824
-
1825
- ## 4.18.0 - 2019-05-23
1826
-
1827
- - [#783](https://github.com/stripe/stripe-ruby/pull/783) Add support for `radar.early_fraud_warning` resource
1828
-
1829
- ## 4.17.0 - 2019-05-14
1830
-
1831
- - [#779](https://github.com/stripe/stripe-ruby/pull/779) Add support for the Capability resource and APIs
1832
-
1833
- ## 4.16.0 - 2019-04-24
1834
-
1835
- - [#760](https://github.com/stripe/stripe-ruby/pull/760) Add support for the `TaxRate` resource and APIs
1836
-
1837
- ## 4.15.0 - 2019-04-22
1838
-
1839
- - [#762](https://github.com/stripe/stripe-ruby/pull/762) Add support for the `TaxId` resource and APIs
1840
-
1841
- ## 4.14.0 - 2019-04-18
1842
-
1843
- - [#758](https://github.com/stripe/stripe-ruby/pull/758) Add support for the `CreditNote` resource and APIs
1844
-
1845
- ## 4.13.0 - 2019-04-16
1846
-
1847
- - [#766](https://github.com/stripe/stripe-ruby/pull/766) Relax constraints on objects that we'll accept as a file (now they just need to respond to `#read`)
1848
-
1849
- ## 4.12.0 - 2019-04-02
1850
-
1851
- - [#752](https://github.com/stripe/stripe-ruby/pull/752) Add `.delete` class method on deletable API resources
1852
- - [#754](https://github.com/stripe/stripe-ruby/pull/754) Add class methods for all custom API requests (e.g. `Charge.capture`)
1853
-
1854
- ## 4.11.0 - 2019-03-26
1855
-
1856
- - [#753](https://github.com/stripe/stripe-ruby/pull/753) Add a global proxy configuration parameter
1857
-
1858
- ## 4.10.0 - 2019-03-18
1859
-
1860
- - [#745](https://github.com/stripe/stripe-ruby/pull/745) Add support for the `PaymentMethod` resource and APIs
1861
- - [#747](https://github.com/stripe/stripe-ruby/pull/747) Add support for retrieving a Checkout `Session`
1862
- - [#748](https://github.com/stripe/stripe-ruby/pull/748) Add support for deleting a Terminal `Location` and `Reader`
1863
-
1864
- ## 4.9.1 - 2019-03-18
1865
-
1866
- - [#750](https://github.com/stripe/stripe-ruby/pull/750) Catch error and warn if unable to remove a method
1867
-
1868
- ## 4.9.0 - 2019-02-12
1869
-
1870
- - [#739](https://github.com/stripe/stripe-ruby/pull/739) Add support for `SubscriptionSchedule` and `SubscriptionScheduleRevision`
1871
-
1872
- ## 4.8.1 - 2019-02-11
1873
-
1874
- - [#743](https://github.com/stripe/stripe-ruby/pull/743) Fix bug in file uploading introduced in #741
1875
-
1876
- ## 4.8.0 - 2019-02-03
1877
-
1878
- - [#741](https://github.com/stripe/stripe-ruby/pull/741) Use `FaradayStripeEncoder` to encode all parameter styles
1879
-
1880
- ## 4.7.1 - 2019-02-01
1881
-
1882
- - [#740](https://github.com/stripe/stripe-ruby/pull/740) Fix query encoding for integer-indexed maps
1883
-
1884
- ## 4.7.0 - 2019-01-23
1885
-
1886
- - [#735](https://github.com/stripe/stripe-ruby/pull/735) Rename `CheckoutSession` to `Session` and move it under the `Checkout` namespace. This is a breaking change, but we've reached out to affected merchants and all new merchants would use the new approach.
1887
-
1888
- ## 4.6.0 - 2019-01-21
1889
-
1890
- - [#736](https://github.com/stripe/stripe-ruby/pull/736) Properly serialize `individual` on `Account` objects
1891
-
1892
- ## 4.5.0 - 2019-01-02
1893
-
1894
- - [#719](https://github.com/stripe/stripe-ruby/pull/719) Generate OAuth authorize URLs for Express accounts as well as standard
1895
-
1896
- ## 4.4.1 - 2018-12-31
1897
-
1898
- - [#718](https://github.com/stripe/stripe-ruby/pull/718) Fix an error message typo
1899
-
1900
- ## 4.4.0 - 2018-12-21
1901
-
1902
- - [#716](https://github.com/stripe/stripe-ruby/pull/716) Add support for the `CheckoutSession` resource
1903
-
1904
- ## 4.3.0 - 2018-12-10
1905
-
1906
- - [#711](https://github.com/stripe/stripe-ruby/pull/711) Add support for account links
1907
-
1908
- ## 4.2.0 - 2018-11-28
1909
-
1910
- - [#705](https://github.com/stripe/stripe-ruby/pull/705) Add support for the `Review` APIs
1911
-
1912
- ## 4.1.0 - 2018-11-27
1913
-
1914
- - [#695](https://github.com/stripe/stripe-ruby/pull/695) Add support for `ValueList` and `ValueListItem` for Radar
1915
-
1916
- ## 4.0.3 - 2018-11-19
1917
-
1918
- - [#703](https://github.com/stripe/stripe-ruby/pull/703) Don't use `Net::HTTP::Persistent` on Windows where it's not well supported
1919
-
1920
- ## 4.0.2 - 2018-11-16
1921
-
1922
- - [#701](https://github.com/stripe/stripe-ruby/pull/701) Require minimum Faraday 0.13 for proper support of persistent connections
1923
-
1924
- ## 4.0.1 - 2018-11-15
1925
-
1926
- - [#699](https://github.com/stripe/stripe-ruby/pull/699) Only send telemetry if `Request-Id` was present in the response
1927
-
1928
- ## 4.0.0 - 2018-11-15
1929
-
1930
- - [#698](https://github.com/stripe/stripe-ruby/pull/698) Use persistent connections by default through `Net::HTTP::Persistent`
1931
- - [#698](https://github.com/stripe/stripe-ruby/pull/698) Drop support for Ruby 2.0 (which we consider a breaking change here)
1932
-
1933
- ## 3.31.1 - 2018-11-12
1934
-
1935
- - [#697](https://github.com/stripe/stripe-ruby/pull/697) Send telemetry in milliseconds specifically
1936
-
1937
- ## 3.31.0 - 2018-11-12
1938
-
1939
- - [#696](https://github.com/stripe/stripe-ruby/pull/696) Add configurable telemetry to gather information on client-side request latency
1940
-
1941
- ## 3.30.0 - 2018-11-08
1942
-
1943
- - [#693](https://github.com/stripe/stripe-ruby/pull/693) Add new API endpoints for the `Invoice` resource.
1944
-
1945
- ## 3.29.0 - 2018-10-30
1946
-
1947
- - [#692](https://github.com/stripe/stripe-ruby/pull/692) Add support for the `Person` resource
1948
- - [#694](https://github.com/stripe/stripe-ruby/pull/694) Add support for the `WebhookEndpoint` resource
1949
-
1950
- ## 3.28.0 - 2018-09-24
1951
-
1952
- - [#690](https://github.com/stripe/stripe-ruby/pull/690) Add support for Stripe Terminal
1953
-
1954
- ## 3.27.0 - 2018-09-24
1955
-
1956
- - [#689](https://github.com/stripe/stripe-ruby/pull/689) Rename `FileUpload` to `File`
1957
-
1958
- ## 3.26.1 - 2018-09-14
1959
-
1960
- - [#688](https://github.com/stripe/stripe-ruby/pull/688) Fix hash equality on `StripeObject`
1961
-
1962
- ## 3.26.0 - 2018-09-05
1963
-
1964
- - [#681](https://github.com/stripe/stripe-ruby/pull/681) Add support for reporting resources
1965
-
1966
- ## 3.25.0 - 2018-08-28
1967
-
1968
- - [#678](https://github.com/stripe/stripe-ruby/pull/678) Allow payment intent `#cancel`, `#capture`, and `#confirm` to take their own parameters
1969
-
1970
- ## 3.24.0 - 2018-08-27
1971
-
1972
- - [#675](https://github.com/stripe/stripe-ruby/pull/675) Remove support for `BitcoinReceiver` write-actions
1973
-
1974
- ## 3.23.0 - 2018-08-23
1975
-
1976
- - [#676](https://github.com/stripe/stripe-ruby/pull/676) Add support for usage record summaries
1977
-
1978
- ## 3.22.0 - 2018-08-15
1979
-
1980
- - [#674](https://github.com/stripe/stripe-ruby/pull/674) Use integer-indexed encoding for all arrays
1981
-
1982
- ## 3.21.0 - 2018-08-03
1983
-
1984
- - [#671](https://github.com/stripe/stripe-ruby/pull/671) Add cancel support for topups
1985
-
1986
- ## 3.20.0 - 2018-08-03
1987
-
1988
- - [#669](https://github.com/stripe/stripe-ruby/pull/669) Add support for file links
1989
-
1990
- ## 3.19.0 - 2018-07-27
1991
-
1992
- - [#666](https://github.com/stripe/stripe-ruby/pull/666) Add support for scheduled query runs (`Stripe::Sigma::ScheduledQueryRun`) for Sigma
1993
-
1994
- ## 3.18.0 - 2018-07-26
1995
-
1996
- - [#665](https://github.com/stripe/stripe-ruby/pull/665) Add support for Stripe Issuing
1997
-
1998
- ## 3.17.2 - 2018-07-19
1999
-
2000
- - [#664](https://github.com/stripe/stripe-ruby/pull/664) Don't colorize log output being sent to a configured logger
2001
-
2002
- ## 3.17.1 - 2018-07-19
2003
-
2004
- - [#663](https://github.com/stripe/stripe-ruby/pull/663) Internal improvements to `ApiResource.class_url`
2005
-
2006
- ## 3.17.0 - 2018-06-28
2007
-
2008
- - [#658](https://github.com/stripe/stripe-ruby/pull/658) Add support for `partner_id` from `Stripe.set_app_info`
2009
-
2010
- ## 3.16.0 - 2018-06-28
2011
-
2012
- - [#657](https://github.com/stripe/stripe-ruby/pull/657) Add support for payment intents
2013
-
2014
- ## 3.15.0 - 2018-05-10
2015
-
2016
- - [#649](https://github.com/stripe/stripe-ruby/pull/649) Freeze all string literals
2017
-
2018
- ## 3.14.0 - 2018-05-09
2019
-
2020
- - [#645](https://github.com/stripe/stripe-ruby/pull/645) Add support for issuer fraud records
2021
-
2022
- ## 3.13.1 - 2018-05-07
2023
-
2024
- - [#647](https://github.com/stripe/stripe-ruby/pull/647) Merge query parameters coming from path with `params` argument
2025
-
2026
- ## 3.13.0 - 2018-04-11
2027
-
2028
- - [#498](https://github.com/stripe/stripe-ruby/pull/498) Add support for flexible billing primitives
2029
-
2030
- ## 3.12.1 - 2018-04-05
2031
-
2032
- - [#636](https://github.com/stripe/stripe-ruby/pull/636) Fix a warning for uninitialized instance variable `@additive_params`
2033
-
2034
- ## 3.12.0 - 2018-04-05
2035
-
2036
- - [#632](https://github.com/stripe/stripe-ruby/pull/632) Introduce `additive_object_param` so that non-`metadata` subobjects don't zero their keys as they're being replaced
2037
-
2038
- ## 3.11.0 - 2018-02-26
2039
-
2040
- - [#628](https://github.com/stripe/stripe-ruby/pull/628) Add support for `code` attribute on all Stripe exceptions
2041
-
2042
- ## 3.10.0 - 2018-02-21
2043
-
2044
- - [#627](https://github.com/stripe/stripe-ruby/pull/627) Add support for topups
2045
-
2046
- ## 3.9.2 - 2018-02-12
2047
-
2048
- - [#625](https://github.com/stripe/stripe-ruby/pull/625) Skip calling `to_hash` for `nil`
2049
-
2050
- ## 3.9.1 - 2017-12-15
2051
-
2052
- - [#616](https://github.com/stripe/stripe-ruby/pull/616) Support all file-like objects for uploads with duck typed checks on `path` and `read` (we previously whitelisted only certain classes)
2053
-
2054
- ## 3.9.0 - 2017-12-08
2055
-
2056
- - [#613](https://github.com/stripe/stripe-ruby/pull/613) Introduce new `IdempotencyError` type for idempotency-specific failures
2057
-
2058
- ## 3.8.2 - 2017-12-07
2059
-
2060
- - [#612](https://github.com/stripe/stripe-ruby/pull/612) Fix integer-indexed array encoding when sent as query parameter (subscription items can now be used when fetching an upcoming invoice)
2061
-
2062
- ## 3.8.1 - 2017-12-06
2063
-
2064
- - [#611](https://github.com/stripe/stripe-ruby/pull/611) Support `Tempfile` (as well as `File`) in file uploads
2065
-
2066
- ## 3.8.0 - 2017-10-31
2067
-
2068
- - [#606](https://github.com/stripe/stripe-ruby/pull/606) Support for exchange rates APIs
2069
-
2070
- ## 3.7.0 - 2017-10-26
2071
-
2072
- - [#603](https://github.com/stripe/stripe-ruby/pull/603) Support for listing source transactions
2073
-
2074
- ## 3.6.0 - 2017-10-17
2075
-
2076
- - [#597](https://github.com/stripe/stripe-ruby/pull/597) Add static methods to manipulate resources from parent
2077
- - `Account` gains methods for external accounts and login links (e.g. `.create_account`, `create_login_link`)
2078
- - `ApplicationFee` gains methods for refunds
2079
- - `Customer` gains methods for sources
2080
- - `Transfer` gains methods for reversals
2081
-
2082
- ## 3.5.3 - 2017-10-16
2083
-
2084
- - [#594](https://github.com/stripe/stripe-ruby/pull/594) Make sure that `StripeObject`'s `#deep_copy` maintains original class
2085
- - [#595](https://github.com/stripe/stripe-ruby/pull/595) Allow `Object#method` to be called on `StripeObject` even if it conflicts with an accessor
2086
- - [#596](https://github.com/stripe/stripe-ruby/pull/596) Encode arrays as integer-indexed hashes where appropriate
2087
- - [#598](https://github.com/stripe/stripe-ruby/pull/598) Don't persist `idempotency_key` opt between requests
2088
-
2089
- ## 3.5.2 - 2017-10-13
2090
-
2091
- - [#592](https://github.com/stripe/stripe-ruby/pull/592) Bring back `Marshal.dump/load` support with custom marshal encoder/decoder
2092
-
2093
- ## 3.5.1 - 2017-10-12
2094
-
2095
- - [#591](https://github.com/stripe/stripe-ruby/pull/591) Use thread-local `StripeClient` instances for thread safety
2096
-
2097
- ## 3.5.0 - 2017-10-11
2098
-
2099
- - [#589](https://github.com/stripe/stripe-ruby/pull/589) Rename source `delete` to `detach` (and deprecate the former)
2100
-
2101
- ## 3.4.1 - 2017-10-05
2102
-
2103
- - [#586](https://github.com/stripe/stripe-ruby/pull/586) Log query strings as well as form bodies with STRIPE_LOG
2104
- - [#588](https://github.com/stripe/stripe-ruby/pull/588) Require minimum Faraday 0.10 for bug fix in parameter encoding
2105
-
2106
- ## 3.4.0 - 2017-09-20
2107
-
2108
- - Mark legacy Bitcoin API as deprecated, and remove corresponding tests
2109
- - Mark recipients API as deprecated, and remove recipient card tests
2110
-
2111
- ## 3.3.2 - 2017-09-20
2112
-
2113
- - Correct minimum required Ruby version in gemspec (it's 2.0.0)
2114
-
2115
- ## 3.3.1 - 2017-08-18
2116
-
2117
- - Only parse webhook payload after verification to decrease likelihood of
2118
- attack
2119
-
2120
- ## 3.3.0 - 2017-08-11
2121
-
2122
- - Add support for standard library logger interface with `Stripe.logger`
2123
- - Error logs now go to stderr if using `Stripe.log_level`/`STRIPE_LOG`
2124
- - `Stripe.log_level`/`STRIPE_LOG` now support `Stipe::LEVEL_ERROR`
2125
-
2126
- ## 3.2.0 - 2017-08-03
2127
-
2128
- - Add logging for request retry account and `Stripe-Account` header
2129
-
2130
- ## 3.1.0 - 2017-08-03
2131
-
2132
- - Implement request logging with `Stripe.log_level` and `STRIPE_LOG`
2133
-
2134
- ## 3.0.3 - 2017-07-28
2135
-
2136
- - Revert `nil` to empty string coercion from 3.0.2
2137
- - Handle `invalid_client` OAuth error code
2138
- - Improve safety of error handling logic safer for unrecognized OAuth error codes
2139
-
2140
- ## 3.0.2 - 2017-07-12
2141
-
2142
- **Important:** This version is non-functional and has been yanked in favor of 3.0.3.
2143
-
2144
- - Convert `nil` to empty string when serializing parameters (instead of opaquely dropping it) -- NOTE: this change has since been reverted
2145
-
2146
- ## 3.0.1 - 2017-07-11
2147
-
2148
- - Properties set with an API resource will now serialize that resource's ID if possible
2149
- - API resources will throw an ArgumentError on save if a property has been with an API resource that cannot be serialized
2150
-
2151
- ## 3.0.0 - 2017-06-27
2152
-
2153
- - `#pay` on invoice now takes params as well as opts
2154
-
2155
- ## 2.12.0 - 2017-06-20
2156
-
2157
- - Add support for ephemeral keys
2158
-
2159
- ## 2.11.0 - 2017-05-26
2160
-
2161
- - Warn when keys that look like opts are included as parameters
2162
-
2163
- ## 2.10.0 - 2017-05-25
2164
-
2165
- - Add support for account login links
2166
-
2167
- ## 2.9.0 - 2017-05-18
2168
-
2169
- - Support for OAuth operations in `Stripe::OAuth`
2170
-
2171
- ## 2.8.0 - 2017-04-28
2172
-
2173
- - Support for checking webhook signatures
2174
-
2175
- ## 2.7.0 - 2017-04-26
2176
-
2177
- - Add model `InvoiceLineItem`
2178
-
2179
- ## 2.6.0 - 2017-04-26
2180
-
2181
- - Add `OBJECT_NAME` constants to all API resources
2182
-
2183
- ## 2.5.0 - 2017-04-24
2184
-
2185
- - Make `opts` argument in `Util.convert_to_stripe_object` optional
2186
-
2187
- ## 2.4.0 - 2017-04-18
2188
-
2189
- - Add `Stripe.set_app_info` for use by plugin creators
2190
-
2191
- ## 2.3.0 - 2017-04-14
2192
-
2193
- - Add question mark accessor when assigning boolean value to undefined field
2194
-
2195
- ## 2.2.1 - 2017-04-07
2196
-
2197
- - Declare minimum required Faraday as 0.9
2198
-
2199
- ## 2.2.0 - 2017-04-06
2200
-
2201
- - Add support for payouts and recipient transfers
2202
-
2203
- ## 2.1.0 - 2017-03-17
2204
-
2205
- - Support for detaching sources from customers
2206
-
2207
- ## 2.0.3 - 2017-03-16
2208
-
2209
- - Fix marshalling of `StripeObjects` that have an embedded client
2210
-
2211
- ## 2.0.2 - 2017-03-16
2212
-
2213
- - Fix bad field reference when recovering from a JSON parsing problem
2214
-
2215
- ## 2.0.1 - 2017-02-22
2216
-
2217
- - Fix multipart parameter encoding to repair broken file uploads
2218
-
2219
- ## 2.0.0 - 2017-02-14
2220
-
2221
- - Drop support for Ruby 1.9
2222
- - Allow HTTP client that makes Stripe calls to be configured via Faraday
2223
- - Drop RestClient
2224
- - Switch to OpenAPI 2.0 spec and generated fixtures in test suite
2225
- - Switch to Webmock in test suite
2226
-
2227
- ## 1.58.0 - 2017-01-19
2228
-
2229
- - Remove erroneously added list methods for `Source` model
2230
-
2231
- ## 1.57.1 - 2016-11-28
2232
-
2233
- - Disallow sending protected fields along with API resource `.update`
2234
-
2235
- ## 1.57.0 - 2016-11-21
2236
-
2237
- - Add retrieve method for 3-D Secure resources
2238
-
2239
- ## 1.56.2 - 2016-11-17
2240
-
2241
- - Improve `StripeObject`'s `#to_s` to better handle how embedded objects are displayed
2242
-
2243
- ## 1.56.1 - 2016-11-09
2244
-
2245
- - Fix (fairly serious) memory like in `StripeObject`
2246
-
2247
- ## 1.56.0 - 2016-10-24
2248
-
2249
- - Add accessors for new fields added in `#update_attributes`
2250
- - Handle multi-plan subscriptions through new subscription items
2251
- - Handle 403 status codes from the API
2252
-
2253
- ## 1.55.1 - 2016-10-24
2254
-
2255
- Identical to 1.56.0 above. I incorrectly cut a patch-level release.
2256
-
2257
- ## 1.55.0 - 2016-09-15
2258
-
2259
- - Add support for Apple Pay domains
2260
-
2261
- ## 1.54.0 - 2016-09-01
2262
-
2263
- - Whitelist errors that should be retried; scope to known socket and HTTP errors
2264
-
2265
- ## 1.53.0 - 2016-08-31
2266
-
2267
- - Relax version constraint on rest-client (and by extension mime-types) for users on Ruby 2+
2268
-
2269
- ## 1.52.0 - 2016-08-30
2270
-
2271
- - Make sure `Subscription`'s `source` is saved with its parent
2272
-
2273
- ## 1.51.1 - 2016-08-30
2274
-
2275
- - Make sure `Account`'s `external_account` is saved with its parent
2276
-
2277
- ## 1.51.0 - 2016-08-26
2278
-
2279
- - Error when an array of maps is detected that cannot be accurately encoded
2280
- - Start using strings for header names instead of symbols for better clarity
2281
-
2282
- ## 1.50.1 - 2016-08-25
2283
-
2284
- - Fix encoding of arrays of maps where maps unequal sets of keys
2285
-
2286
- ## 1.50.0 - 2016-08-15
2287
-
2288
- - Allow sources to be created
2289
-
2290
- ## 1.49.0 - 2016-07-28
2291
-
2292
- - Add top-level `Source` model
2293
-
2294
- ## 1.48.0 - 2016-07-12
2295
-
2296
- - Add `ThreeDSecure` model for 3-D secure payments
2297
-
2298
- ## 1.47.0 - 2016-07-11
2299
-
2300
- - Allow rest-client version 2.0+ to be used with the gem
2301
-
2302
- ## 1.46.0 - 2016-07-07
2303
-
2304
- - Allow retry when a 409 conflict is encountered
2305
-
2306
- ## 1.45.0 - 2016-07-07
2307
-
2308
- - Do not send subresources when updating except when explicitly told to do so (see #433)
2309
-
2310
- ## 1.44.0 - 2016-06-29
2311
-
2312
- - Add `update` class method to all resources that can be updated
2313
-
2314
- ## 1.43.1 - 2016-06-17
2315
-
2316
- - Fix type of resource returned from `Order#return_order`
2317
-
2318
- ## 1.43.0 - 2016-05-20
2319
-
2320
- - Allow Relay orders to be returned and add associated types
2321
- - Support Alipay account retrieval and deletion
2322
-
2323
- ## 1.42.0 - 2016-05-04
2324
-
2325
- - Add support for the new /v1/subscriptions endpoint (retrieve, list, create, update, and delete)
2326
-
2327
- ## 1.41.0 - 2016-04-13
2328
-
2329
- - Add global `stripe_account` option that adds a `Stripe-Account` header to all requests
2330
-
2331
- ## 1.40.0 - 2016-04-06
2332
-
2333
- - Fix bug that omitted subresources from serialization
2334
-
2335
- ## 1.39.0 - 2016-03-31
2336
-
2337
- - Update CA cert bundle for compatibility with OpenSSL versions below 1.0.1
2338
-
2339
- ## 1.38.0 - 2016-03-18
2340
-
2341
- - Allow `opts` to be passed to an API resource's `#save` method
2342
-
2343
- ## 1.37.0 - 2016-03-14
2344
-
2345
- - Add `Account#reject` to support the new API feature
2346
-
2347
- ## 1.36.2 - 2016-03-14
2348
-
2349
- - Fix reference to non-existent `#url` in `ListObject`
2350
-
2351
- ## 1.36.1 - 2016-03-04
2352
-
2353
- - Fix serialization when subhash given to `#save` or `#update_attributes`
2354
-
2355
- ## 1.36.0 - 2016-02-08
2356
-
2357
- - Add `CountrySpec` model for looking up country payment information
2358
-
2359
- ## 1.35.1 - 2016-02-03
2360
-
2361
- - Add compatibility layer for old API versions on `Charge#refund`
2362
-
2363
- ## 1.35.0 - 2016-02-01
2364
-
2365
- - Allow CA cert bundle location to be configured
2366
- - Updated bundled CA certs
2367
-
2368
- ## 1.34.0 - 2016-01-25
2369
-
2370
- - Add support for deleting products and SKUs
2371
-
2372
- ## 1.33.1 - 2016-01-21
2373
-
2374
- - Pass through arguments of `Charge#refund`
2375
-
2376
- ## 1.33.0 - 2016-01-19
2377
-
2378
- - Re-implement `Charge#refund` helper to use the modern endpoint suggested by docs
2379
-
2380
- ## 1.32.1 - 2016-01-07
2381
-
2382
- - Fix bug where ivar left uninitialized in StripeObject could error on serialization
2383
- - Fix bug where a nil customer from API could error Bitcoin model on refresh
2384
-
2385
- ## 1.32.0 - 2016-01-05
2386
-
2387
- - Add configuration to optionally retry network failures
2388
- - Use modern API endpoint for producing application fee refunds
2389
-
2390
- ## 1.31.0 - 2015-10-29
2391
-
2392
- - Add BankAccount#verify convenience method
2393
-
2394
- ## 1.30.3 - 2015-10-28
2395
-
2396
- - Fix bug where arrays that were not `additional_owners` were not properly encoded for requests
2397
-
2398
- ## 1.30.2 - 2015-10-12
2399
-
2400
- - Fix bug where `opts` didn't properly propagate to descendant `StripeObjects`
2401
-
2402
- ## 1.30.1 - 2015-10-10
2403
-
2404
- - Fix bug that prevent lists of hashes from being URI-encoded properly
2405
- - Fix bug where filter conditions were not making it past the first instantiated `ListObject`
2406
-
2407
- ## 1.30.0 - 2015-10-09
2408
-
2409
- - Add `StripeObject#deleted?` for a reliable way to check whether an object is alive
2410
- - Deprecate `StripeObject#refresh_from`
2411
- - New parameter encoding scheme that doesn't use `URI.escape`
2412
-
2413
- ## 1.29.1 - 2015-10-06
2414
-
2415
- - Fix bug where ampersands were not being properly encoded
2416
-
2417
- ## 1.29.0 - 2015-10-05
2418
-
2419
- - Add pagination helpers `#auto_paging_each`, `#previous_page`, and `#next_page`
2420
-
2421
- ## 1.28.1 - 2015-10-05
2422
-
2423
- - Fix URI being referenced by file upload resources
2424
-
2425
- ## 1.28.0 - 2015-10-05
2426
-
2427
- - Make StripeObject's #save "upsert"-like; creates an object if new
2428
- - Add #update_attributes to StripeObject for safe mass assignment
2429
- - Properly mass assign attributes on calls to #save
2430
- - Add question mark helpers for boolean fields (e.g. #paid? as well as old #paid)
2431
- - Fix a bug that broke the API for StripeObject initialization
2432
- - Remove use of deprecated URI.escape
2433
-
2434
- ## 1.27.2 - 2015-09-25
2435
-
2436
- - Correct the URLs used to fetch Bitcoin transactions.
2437
-
2438
- ## 1.27.1 - 2015-09-20
2439
-
2440
- - Use hash rockets for backwards compatibility.
2441
-
2442
- ## 1.27.0 - 2015-09-14
2443
-
2444
- - Add Orders, Products, and SKUs for Relay
2445
-
2446
- ## 1.26.0 - 2015-09-11
2447
-
2448
- - Add support for 429 Rate Limited response
2449
-
2450
- ## 1.25.0 - 2015-08-17
2451
-
2452
- - Added support for refund listing and retrieval without an associated charge
2453
-
2454
- ## 1.24.0 - 2015-08-03
2455
-
2456
- - Added support for deleting managed accounts
2457
- - Added support for dispute listing and retrieval
2458
- - Bugfix: token objects now are the correct class
2459
-
2460
- ## 1.23.0 - 2015-07-06
2461
-
2462
- - Added request IDs and HTTP headers to errors
2463
-
2464
- ## 1.22.0 - 2015-06-10
2465
-
2466
- - Added support for bank accounts and debit cards in managed accounts (via the `external_accounts` param)
2467
-
2468
- ## 1.21.0 - 2015-04-14
2469
-
2470
- - Remove TLS cert revocation check (all pre-heartbleed certs have expired)
2471
- - Bugfix: don't unset keys when they don't exist on StripeObject
2472
-
2473
- ## 1.20.4 - 2015-03-26
2474
-
2475
- - Raise an error when explicitly passing nil as the API key on resource methods
2476
- - Fix error when passing an API key to Balance.retrieve (github issue #232)
2477
-
2478
- ## 1.20.3 - 2015-03-13
2479
-
2480
- - Fixed error when updating certain resources (github issue #224)
2481
-
2482
- ## 1.20.2 - 2015-03-10
2483
-
2484
- - Added support for updating nested hashes besides `metadata` (which was already supported)
2485
- - Fixed bug in balance retrieval
2486
-
2487
- ## 1.20.1 - 2015-02-26
2488
-
2489
- - Updated Card to point to customer sources endpoint when customer property is set
2490
-
2491
- ## 1.20.0 - 2015-02-19
2492
-
2493
- - Added Update & Delete operations to Bitcoin Receivers
2494
-
2495
- ## 1.19.1 - 2015-02-18
2496
-
2497
- - Fixed fetching upcoming invoice/paying invoice methods
2498
-
2499
- ## 1.19.0 - 2015-02-15
2500
-
2501
- - Support for new Transfers /reversals endpoint
2502
- - Account retrieval now optionally accepts an account ID
2503
- - Better support for passing custom headers, like Stripe-Account, through requests
2504
-
2505
- ## 1.18.0 - 2015-01-21
2506
-
2507
- - 1 major enhancement:
2508
- - Added support for making bitcoin charges through BitcoinReceiver source object
2509
-
2510
- ## 1.17.3 - 2015-01-12
2511
-
2512
- - 1 bugfix:
2513
- - Fixed API key propagation for ApplicationFee#refund
2514
-
2515
- ## 1.17.2 - 2015-01-08
2516
-
2517
- - 1 bugfix:
2518
- - Fixed API key propagation for child resources
2519
-
2520
- ## 1.17.1 - 2015-01-07
2521
-
2522
- - 2 minor enhacements:
2523
- - Fixed dependencies for Ruby versions less than 1.9.3
2524
- - Added deauthorize method to Account object
2525
-
2526
- ## 1.17.0 - 2014-12-15
2527
-
2528
- - 1 major enhacement:
2529
- - File uploads resource was added (for uploading pdf or image documents for disputes)
2530
-
2531
- ## 1.16.1 - 2014-12-19
2532
-
2533
- - 2 minor enhancements:
2534
- - Ability to send idempotent requests
2535
- - Ability to specify stripe account as a header
2536
-
2537
- ## 1.16.0 - 2014-10-08
2538
-
2539
- - 1 minor enhacement:
2540
- - Coupons now support update operations - useful for manipulating metadata
2541
-
2542
- ## 1.15.0 - 2014-07-26
2543
-
2544
- - 1 major enhacement:
2545
- - Application Fee refunds now a list instead of array
2546
-
2547
- ## 1.14.0 - 2014-06-17
2548
-
2549
- - 1 major enhancement:
2550
- - Add metadata for refunds and disputes
2551
-
2552
- ## 1.13.0 - 2014-05-28
2553
-
2554
- - 1 major enhancement:
2555
- - Support for canceling transfers
2556
-
2557
- ## 1.12.0 - 2014-05-21
2558
-
2559
- - 1 major enhancement:
2560
- - Support for cards for recipients
2561
-
2562
- ## 1.11.0 - 2014-04-09
2563
-
2564
- - 2 minor enhancements:
2565
- - Update included ca bundles
2566
- - Implement certificate blacklisting
2567
-
2568
- ## 1.10.2 - 2014-02-18
2569
-
2570
- - 1 minor enhancement:
2571
- - Add create_subscription on Customer resources, so you can create
2572
- subscriptions without needing to retrieve the customer first (github
2573
- issue #120)
2574
-
2575
- ## 1.10.1 - 2014-02-03
2576
-
2577
- - 1 bugfix:
2578
- - Fix marshaling of StripeObjects
2579
-
2580
- ## 1.10.0 - 2014-01-29
2581
-
2582
- - 2 major enhancements
2583
-
2584
- - Support for multiple subscriptions per customer
2585
- - Testing ruby 2.1.0
2586
-
2587
- - 2 minor enhancements
2588
-
2589
- - Replace multi_json with json
2590
- - Allow #save to take opts (for :expand)
2591
-
2592
- - 1 bugfix
2593
- - Fix #try and #respond_to? on StripeObjects
2594
-
2595
- ## 1.9.9 - 2013-12-02
2596
-
2597
- - 1 major enhancement
2598
- - Add ApplicationFee resource
2599
-
2600
- ## 1.8.9 - 2013-11-14
2601
-
2602
- - 2 bugfixes:
2603
- - Fix gemspec dependencies so the gem doesn't break for Ruby 1.8 users
2604
- - Fix api_resource_test to not use returns as a way of testing rescue behavior
2605
-
2606
- ## 1.8.8 - 2013-10-3
2607
-
2608
- - 1 major enhancement
2609
- - Add support for metadata on resources
2610
-
2611
- ## 1.8.7 - 2013-08-18
2612
-
2613
- - 1 minor enhancement
2614
- - Add support for closing disputes.
2615
-
2616
- ## 1.8.6 - 2013-08-13
2617
-
2618
- - 1 major enhancement
2619
- - Add Balance and BalanceTransaction resources
2620
-
2621
- ## 1.8.5 - 2013-08-12
2622
-
2623
- - 1 major enhancement
2624
- - Add support for unsetting attributes by setting to nil. This permits unsetting email and description on customers and description on charges. Setting properties to a blank string is now an error.
2625
- - Attempting to set an object's id is now an error
2626
-
2627
- ## 1.8.4 - 2013-07-11
2628
-
2629
- - 1 major enhancement
2630
- - Add support for new cards API (Stripe API version - 2013-07-05)
2631
-
2632
- ## 1.8.3 - 2013-05-06
2633
-
2634
- - 1 bugfix:
2635
- - Fix handling of per-call API keys (github issue #67)
2636
-
2637
- ## 1.8.2 - 2013-05-01
2638
-
2639
- - 3 minor enhancements:
2640
-
2641
- - Use to_sym instead of type checking for minor performance improvement (github issue #59)
2642
- - Handle low-memory situations without throwing an exception (github issue #61)
2643
- - Add an Customer#upcoming_invoice convenience method (github issue #65)
2644
-
2645
- - 1 bugfix:
2646
- - Allow updating resources without first retrieving them (github issue #60)
2647
-
2648
- ## 1.8.1 - 2013-04-19
2649
-
2650
- - 1 minor enhancement:
2651
- - Add support for specifying an API key when retrieving an upcoming invoice
2652
-
2653
- ## 1.8.0 - 2013-04-11
2654
-
2655
- - 1 major enhancement:
2656
- - Add new Recipient resource
2657
- - Allow Transfers to be createable
2658
-
2659
- ## 1.7.11 - 2013-02-21
2660
-
2661
- - 1 minor enhancement
2662
- - Add 'id' to the list of permanent attributes
2663
-
2664
- ## 1.7.10 - 2013-02-01
2665
-
2666
- - 1 major enhancement
2667
- - Add support for passing options when retrieving Stripe objects e.g., Stripe::Charge.retrieve({id:"foo", expand:["customer"]}) Stripe::Charge("foo") is still supported as well
2668
-
2669
- ## 1.7.9 - 2013-01-15
2670
-
2671
- - 1 major enhancement
2672
- - Add support for setting a Stripe API version override.
2673
-
2674
- ## 1.7.8 - 2012-11-21
2675
-
2676
- - 1 bugfix
2677
- - Relax the version constraint on multi_json (github issue #44)
2678
-
2679
- ## 1.7.7 - 2012-11-07
2680
-
2681
- - 1 minor enhancement:
2682
-
2683
- - Add support for updating charge disputes
2684
-
2685
- - 1 bugfix
2686
- - Fix Account API resource bug
2687
-
2688
- ## 1.7.6 - 2012-10-30
2689
-
2690
- - 1 major enhancement
2691
- - Add support for creating invoices
2692
-
2693
- ## 1.7.5 - 2012-10-25
2694
-
2695
- - 1 major enhancement
2696
- - Add support for new API lists
2697
-
2698
- ## 1.7.4 - 2012-10-08
2699
-
2700
- - 1 bugfix
2701
- - Fix bug introduced in 1.7.3 calling API methods that take no
2702
- arguments, like Stripe::Invoice#pay (github issue #42)
2703
-
2704
- ## 1.7.3 - 2012-09-14
2705
-
2706
- - 2 bugfixes
2707
- - Make sure that both keys and values of GET params are URL-encoded. NOTE: If you were previously URL-encoding values yourself, you may need to adjust your code.
2708
- - URL-encode POST params directly, instead of allowing rest-client to do it to work around an unfortunate interaction with the hashery gem (github issue #38)
2709
-
2710
- ## 1.7.2 - 2012-08-31
2711
-
2712
- - 1 major enhancement
2713
- - Add support for new pay and update methods for Invoice objects
2714
-
2715
- ## 1.7.1 - 2012-08-15
2716
-
2717
- - 1 major enhancement
2718
- - Add new Account API resource
2719
-
2720
- ## 1.7.0 - 2012-05-17
2721
-
2722
- - 3 major enhancements:
2723
-
2724
- - Switch from vendored stripe-json to multi_json for all JSON parsing and rendering. This should not impact programmatic usage of the library, but may cause small rendering differences from, e.g., StripeObject#inspect (github issue #22)
2725
- - Add new delete_discount method to Customer objects
2726
- - Add new Transfer API resource
2727
-
2728
- - 2 minor enhancements:
2729
- - Switch from HTTP Basic auth to Bearer auth (Note: Stripe will support Basic auth for the indefinite future, but recommends Bearer auth when possible going forward)
2730
- - Numerous test suite improvements
2731
-
2732
- ## 1.6.3 - 2012-03-22
2733
-
2734
- - 1 bugfix:
2735
- - Encode GET query strings ourselves instead of using rest-client to work around a bug
2736
-
2737
- ## 1.6.2 - 2012-02-24
2738
-
2739
- - 1 bugfix:
2740
- - Correct argument handling in StripeObject#as_json
2741
-
2742
- ## 1.6.1 - 2012-02-22
2743
-
2744
- - 1 bugfix:
2745
- - Fix StripeObject#inspect when ActiveSupport 3.0 is loaded
2746
-
2747
- ## 1.6.0 - 2012-02-01
2748
-
2749
- - A whole bunch of releases between 1.5.0 and 1.6.0, but few changes, mainly the addition of plans, coupons, events, and tokens
2750
- - 1.6.0 also contains a new inspect/to_string implementation
2751
-
2752
- ## 1.5.0 - 2011-05-09
2753
-
2754
- - 1 major enhancement:
2755
- - Update for new RESTful API
2756
-
2757
- ## 1.3.4 - 2011-01-07
2758
-
2759
- - 1 major enhancement:
2760
- - Rename to Stripe
2761
-
2762
- ## 1.2 - 2010-06-06
2763
-
2764
- - 1 major enhancement:
2765
- - Support for the set_customer_subscription and delete_customer API methods
2766
-
2767
- ## 1.1 - 2010-03-14
2768
-
2769
- - 1 major enhancement:
2770
- - Support for recurring billing
2771
-
2772
- ## 1.0 - 2010-01-05
2773
-
2774
- - 1 major enhancement:
2775
- - Initial release
2776
-
2777
- <!--
2778
- # vim: set tw=0:
2779
- -->
2780
-