stripe 15.2.0.pre.beta.1 → 15.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (648) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +718 -1556
  3. data/CONTRIBUTING.md +25 -0
  4. data/OPENAPI_VERSION +1 -1
  5. data/README.md +10 -7
  6. data/VERSION +1 -1
  7. data/lib/stripe/api_requestor.rb +0 -28
  8. data/lib/stripe/api_version.rb +1 -1
  9. data/lib/stripe/errors.rb +0 -54
  10. data/lib/stripe/event_types.rb +0 -89
  11. data/lib/stripe/object_types.rb +0 -52
  12. data/lib/stripe/resources/account.rb +32 -657
  13. data/lib/stripe/resources/account_session.rb +59 -253
  14. data/lib/stripe/resources/apple_pay_domain.rb +1 -2
  15. data/lib/stripe/resources/balance.rb +42 -0
  16. data/lib/stripe/resources/balance_transaction.rb +2 -0
  17. data/lib/stripe/resources/bank_account.rb +2 -2
  18. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  19. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
  20. data/lib/stripe/resources/billing/credit_grant.rb +0 -10
  21. data/lib/stripe/resources/billing_portal/session.rb +1 -7
  22. data/lib/stripe/resources/capability.rb +1 -1
  23. data/lib/stripe/resources/card.rb +0 -2
  24. data/lib/stripe/resources/cash_balance.rb +0 -2
  25. data/lib/stripe/resources/charge.rb +13 -1475
  26. data/lib/stripe/resources/checkout/session.rb +21 -333
  27. data/lib/stripe/resources/confirmation_token.rb +33 -263
  28. data/lib/stripe/resources/country_spec.rb +1 -1
  29. data/lib/stripe/resources/coupon.rb +2 -32
  30. data/lib/stripe/resources/credit_note.rb +10 -17
  31. data/lib/stripe/resources/credit_note_line_item.rb +0 -9
  32. data/lib/stripe/resources/customer.rb +2 -6
  33. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  34. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  35. data/lib/stripe/resources/customer_session.rb +4 -9
  36. data/lib/stripe/resources/discount.rb +0 -2
  37. data/lib/stripe/resources/dispute.rb +2 -2
  38. data/lib/stripe/resources/event.rb +1 -32
  39. data/lib/stripe/resources/file.rb +1 -1
  40. data/lib/stripe/resources/financial_connections/account.rb +1 -20
  41. data/lib/stripe/resources/financial_connections/session.rb +2 -62
  42. data/lib/stripe/resources/identity/verification_report.rb +6 -0
  43. data/lib/stripe/resources/identity/verification_session.rb +17 -21
  44. data/lib/stripe/resources/invoice.rb +79 -1106
  45. data/lib/stripe/resources/invoice_item.rb +4 -81
  46. data/lib/stripe/resources/invoice_line_item.rb +2 -56
  47. data/lib/stripe/resources/invoice_payment.rb +62 -4
  48. data/lib/stripe/resources/issuing/authorization.rb +8 -8
  49. data/lib/stripe/resources/issuing/card.rb +1 -1
  50. data/lib/stripe/resources/issuing/cardholder.rb +1 -2
  51. data/lib/stripe/resources/issuing/dispute.rb +3 -3
  52. data/lib/stripe/resources/issuing/transaction.rb +0 -6
  53. data/lib/stripe/resources/line_item.rb +0 -37
  54. data/lib/stripe/resources/mandate.rb +0 -24
  55. data/lib/stripe/resources/payment_intent.rb +1912 -6840
  56. data/lib/stripe/resources/payment_method.rb +47 -301
  57. data/lib/stripe/resources/payment_method_configuration.rb +112 -112
  58. data/lib/stripe/resources/payment_method_domain.rb +2 -2
  59. data/lib/stripe/resources/payout.rb +4 -10
  60. data/lib/stripe/resources/person.rb +2 -2
  61. data/lib/stripe/resources/plan.rb +2 -3
  62. data/lib/stripe/resources/price.rb +1 -31
  63. data/lib/stripe/resources/product.rb +1 -61
  64. data/lib/stripe/resources/promotion_code.rb +0 -10
  65. data/lib/stripe/resources/quote.rb +6 -2046
  66. data/lib/stripe/resources/radar/value_list.rb +1 -2
  67. data/lib/stripe/resources/radar/value_list_item.rb +1 -2
  68. data/lib/stripe/resources/refund.rb +6 -10
  69. data/lib/stripe/resources/reversal.rb +1 -1
  70. data/lib/stripe/resources/review.rb +1 -1
  71. data/lib/stripe/resources/setup_attempt.rb +0 -21
  72. data/lib/stripe/resources/setup_intent.rb +120 -877
  73. data/lib/stripe/resources/source.rb +1 -30
  74. data/lib/stripe/resources/subscription.rb +97 -326
  75. data/lib/stripe/resources/subscription_item.rb +32 -80
  76. data/lib/stripe/resources/subscription_schedule.rb +127 -1015
  77. data/lib/stripe/resources/tax/calculation.rb +4 -0
  78. data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
  79. data/lib/stripe/resources/tax/registration.rb +1 -1
  80. data/lib/stripe/resources/tax_id.rb +3 -14
  81. data/lib/stripe/resources/tax_rate.rb +2 -2
  82. data/lib/stripe/resources/terminal/configuration.rb +1 -2
  83. data/lib/stripe/resources/terminal/location.rb +2 -3
  84. data/lib/stripe/resources/terminal/reader.rb +8 -142
  85. data/lib/stripe/resources/test_helpers/test_clock.rb +1 -2
  86. data/lib/stripe/resources/token.rb +2 -2
  87. data/lib/stripe/resources/transfer.rb +1 -7
  88. data/lib/stripe/resources/treasury/financial_account.rb +3 -22
  89. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  90. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
  91. data/lib/stripe/resources/treasury/received_credit.rb +1 -38
  92. data/lib/stripe/resources/treasury/received_debit.rb +1 -40
  93. data/lib/stripe/resources/webhook_endpoint.rb +1 -2
  94. data/lib/stripe/resources.rb +0 -99
  95. data/lib/stripe/services/account_external_account_service.rb +2 -3
  96. data/lib/stripe/services/account_login_link_service.rb +1 -1
  97. data/lib/stripe/services/account_person_service.rb +1 -2
  98. data/lib/stripe/services/account_service.rb +23 -559
  99. data/lib/stripe/services/account_session_service.rb +29 -229
  100. data/lib/stripe/services/apple_pay_domain_service.rb +1 -2
  101. data/lib/stripe/services/balance_service.rb +1 -1
  102. data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
  103. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
  104. data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
  105. data/lib/stripe/services/billing_portal/session_service.rb +0 -4
  106. data/lib/stripe/services/charge_service.rb +4 -1354
  107. data/lib/stripe/services/checkout/session_service.rb +13 -250
  108. data/lib/stripe/services/coupon_service.rb +2 -19
  109. data/lib/stripe/services/credit_note_service.rb +7 -12
  110. data/lib/stripe/services/customer_balance_transaction_service.rb +3 -3
  111. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +2 -2
  112. data/lib/stripe/services/customer_payment_source_service.rb +1 -1
  113. data/lib/stripe/services/customer_service.rb +3 -5
  114. data/lib/stripe/services/customer_session_service.rb +1 -4
  115. data/lib/stripe/services/customer_tax_id_service.rb +1 -2
  116. data/lib/stripe/services/dispute_service.rb +1 -1
  117. data/lib/stripe/services/file_service.rb +1 -1
  118. data/lib/stripe/services/financial_connections/account_service.rb +2 -7
  119. data/lib/stripe/services/financial_connections/session_service.rb +2 -34
  120. data/lib/stripe/services/financial_connections_service.rb +1 -2
  121. data/lib/stripe/services/identity/verification_session_service.rb +5 -13
  122. data/lib/stripe/services/invoice_item_service.rb +3 -76
  123. data/lib/stripe/services/invoice_line_item_service.rb +1 -33
  124. data/lib/stripe/services/invoice_payment_service.rb +83 -0
  125. data/lib/stripe/services/invoice_service.rb +74 -1049
  126. data/lib/stripe/services/issuing/authorization_service.rb +4 -4
  127. data/lib/stripe/services/issuing/card_service.rb +1 -1
  128. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  129. data/lib/stripe/services/issuing/dispute_service.rb +2 -2
  130. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  131. data/lib/stripe/services/issuing_service.rb +1 -5
  132. data/lib/stripe/services/payment_intent_service.rb +439 -4928
  133. data/lib/stripe/services/payment_method_configuration_service.rb +82 -82
  134. data/lib/stripe/services/payment_method_domain_service.rb +1 -1
  135. data/lib/stripe/services/payment_method_service.rb +44 -226
  136. data/lib/stripe/services/payout_service.rb +2 -6
  137. data/lib/stripe/services/plan_service.rb +2 -3
  138. data/lib/stripe/services/price_service.rb +2 -21
  139. data/lib/stripe/services/product_feature_service.rb +1 -2
  140. data/lib/stripe/services/product_service.rb +2 -41
  141. data/lib/stripe/services/promotion_code_service.rb +1 -9
  142. data/lib/stripe/services/quote_service.rb +7 -1730
  143. data/lib/stripe/services/radar/early_fraud_warning_service.rb +1 -1
  144. data/lib/stripe/services/radar/value_list_item_service.rb +1 -2
  145. data/lib/stripe/services/radar/value_list_service.rb +1 -2
  146. data/lib/stripe/services/setup_intent_service.rb +119 -836
  147. data/lib/stripe/services/source_service.rb +1 -1
  148. data/lib/stripe/services/subscription_item_service.rb +27 -73
  149. data/lib/stripe/services/subscription_schedule_service.rb +101 -916
  150. data/lib/stripe/services/subscription_service.rb +85 -282
  151. data/lib/stripe/services/tax/calculation_service.rb +4 -0
  152. data/lib/stripe/services/tax/registration_service.rb +1 -1
  153. data/lib/stripe/services/tax_id_service.rb +3 -10
  154. data/lib/stripe/services/tax_service.rb +1 -3
  155. data/lib/stripe/services/terminal/configuration_service.rb +1 -2
  156. data/lib/stripe/services/terminal/location_service.rb +2 -3
  157. data/lib/stripe/services/terminal/reader_service.rb +5 -81
  158. data/lib/stripe/services/terminal_service.rb +1 -2
  159. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +33 -190
  160. data/lib/stripe/services/test_helpers/test_clock_service.rb +1 -2
  161. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  162. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  163. data/lib/stripe/services/token_service.rb +1 -1
  164. data/lib/stripe/services/transfer_service.rb +1 -5
  165. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  166. data/lib/stripe/services/treasury/financial_account_service.rb +2 -16
  167. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  168. data/lib/stripe/services/v1_services.rb +2 -12
  169. data/lib/stripe/services/v2/billing/meter_event_session_service.rb +1 -2
  170. data/lib/stripe/services/v2/core/event_destination_service.rb +4 -10
  171. data/lib/stripe/services/v2/core/event_service.rb +1 -2
  172. data/lib/stripe/services/v2/core_service.rb +1 -4
  173. data/lib/stripe/services/v2_services.rb +2 -4
  174. data/lib/stripe/services/webhook_endpoint_service.rb +1 -2
  175. data/lib/stripe/services.rb +1 -54
  176. data/lib/stripe/stripe_configuration.rb +1 -3
  177. data/lib/stripe/stripe_object.rb +1 -1
  178. data/lib/stripe/util.rb +1 -7
  179. data/lib/stripe/version.rb +1 -1
  180. data/lib/stripe.rb +0 -53
  181. data/rbi/stripe/resources/account.rbi +4926 -0
  182. data/rbi/stripe/resources/account_link.rbi +74 -0
  183. data/rbi/stripe/resources/account_session.rbi +1013 -0
  184. data/rbi/stripe/resources/apple_pay_domain.rbi +88 -0
  185. data/rbi/stripe/resources/application.rbi +20 -0
  186. data/rbi/stripe/resources/application_fee.rbi +118 -0
  187. data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
  188. data/rbi/stripe/resources/apps/secret.rbi +195 -0
  189. data/rbi/stripe/resources/balance.rbi +235 -0
  190. data/rbi/stripe/resources/balance_transaction.rbi +147 -0
  191. data/rbi/stripe/resources/bank_account.rbi +127 -0
  192. data/rbi/stripe/resources/billing/alert.rbi +201 -0
  193. data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
  194. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
  195. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
  196. data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
  197. data/rbi/stripe/resources/billing/meter.rbi +226 -0
  198. data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
  199. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
  200. data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
  201. data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
  202. data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
  203. data/rbi/stripe/resources/capability.rbi +125 -0
  204. data/rbi/stripe/resources/card.rbi +125 -0
  205. data/rbi/stripe/resources/cash_balance.rbi +32 -0
  206. data/rbi/stripe/resources/charge.rbi +2069 -0
  207. data/rbi/stripe/resources/checkout/session.rbi +4004 -0
  208. data/rbi/stripe/resources/climate/order.rbi +245 -0
  209. data/rbi/stripe/resources/climate/product.rbi +75 -0
  210. data/rbi/stripe/resources/climate/supplier.rbi +72 -0
  211. data/rbi/stripe/resources/confirmation_token.rbi +1807 -0
  212. data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
  213. data/rbi/stripe/resources/country_spec.rbi +85 -0
  214. data/rbi/stripe/resources/coupon.rbi +250 -0
  215. data/rbi/stripe/resources/credit_note.rbi +752 -0
  216. data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
  217. data/rbi/stripe/resources/customer.rbi +1005 -0
  218. data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
  219. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
  220. data/rbi/stripe/resources/customer_session.rbi +200 -0
  221. data/rbi/stripe/resources/discount.rbi +53 -0
  222. data/rbi/stripe/resources/dispute.rbi +761 -0
  223. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
  224. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
  225. data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
  226. data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
  227. data/rbi/stripe/resources/event.rbi +149 -0
  228. data/rbi/stripe/resources/exchange_rate.rbi +66 -0
  229. data/rbi/stripe/resources/file.rbi +143 -0
  230. data/rbi/stripe/resources/file_link.rbi +141 -0
  231. data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
  232. data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
  233. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
  234. data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
  235. data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
  236. data/rbi/stripe/resources/forwarding/request.rbi +216 -0
  237. data/rbi/stripe/resources/funding_instructions.rbi +437 -0
  238. data/rbi/stripe/resources/identity/verification_report.rbi +360 -0
  239. data/rbi/stripe/resources/identity/verification_session.rbi +526 -0
  240. data/rbi/stripe/resources/invoice.rbi +3812 -0
  241. data/rbi/stripe/resources/invoice_item.rbi +473 -0
  242. data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
  243. data/rbi/stripe/resources/invoice_payment.rbi +121 -0
  244. data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
  245. data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
  246. data/rbi/stripe/resources/issuing/card.rbi +741 -0
  247. data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
  248. data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
  249. data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
  250. data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
  251. data/rbi/stripe/resources/issuing/token.rbi +226 -0
  252. data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
  253. data/rbi/stripe/resources/line_item.rbi +72 -0
  254. data/rbi/stripe/resources/login_link.rbi +19 -0
  255. data/rbi/stripe/resources/mandate.rbi +187 -0
  256. data/rbi/stripe/resources/payment_intent.rbi +9647 -0
  257. data/rbi/stripe/resources/payment_link.rbi +1801 -0
  258. data/rbi/stripe/resources/payment_method.rbi +1761 -0
  259. data/rbi/stripe/resources/payment_method_configuration.rbi +3550 -0
  260. data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
  261. data/rbi/stripe/resources/payout.rbi +300 -0
  262. data/rbi/stripe/resources/person.rbi +401 -0
  263. data/rbi/stripe/resources/plan.rbi +371 -0
  264. data/rbi/stripe/resources/price.rbi +694 -0
  265. data/rbi/stripe/resources/product.rbi +555 -0
  266. data/rbi/stripe/resources/product_feature.rbi +26 -0
  267. data/rbi/stripe/resources/promotion_code.rbi +261 -0
  268. data/rbi/stripe/resources/quote.rbi +1126 -0
  269. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
  270. data/rbi/stripe/resources/radar/value_list.rbi +168 -0
  271. data/rbi/stripe/resources/radar/value_list_item.rbi +129 -0
  272. data/rbi/stripe/resources/refund.rbi +523 -0
  273. data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
  274. data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
  275. data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
  276. data/rbi/stripe/resources/reversal.rbi +51 -0
  277. data/rbi/stripe/resources/review.rbi +154 -0
  278. data/rbi/stripe/resources/setup_attempt.rbi +477 -0
  279. data/rbi/stripe/resources/setup_intent.rbi +3655 -0
  280. data/rbi/stripe/resources/shipping_rate.rbi +305 -0
  281. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
  282. data/rbi/stripe/resources/source.rbi +1496 -0
  283. data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
  284. data/rbi/stripe/resources/source_transaction.rbi +127 -0
  285. data/rbi/stripe/resources/subscription.rbi +2027 -0
  286. data/rbi/stripe/resources/subscription_item.rbi +404 -0
  287. data/rbi/stripe/resources/subscription_schedule.rbi +1623 -0
  288. data/rbi/stripe/resources/tax/calculation.rbi +478 -0
  289. data/rbi/stripe/resources/tax/calculation_line_item.rbi +91 -0
  290. data/rbi/stripe/resources/tax/registration.rbi +2713 -0
  291. data/rbi/stripe/resources/tax/settings.rbi +141 -0
  292. data/rbi/stripe/resources/tax/transaction.rbi +351 -0
  293. data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
  294. data/rbi/stripe/resources/tax_code.rbi +44 -0
  295. data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
  296. data/rbi/stripe/resources/tax_id.rbi +165 -0
  297. data/rbi/stripe/resources/tax_rate.rbi +239 -0
  298. data/rbi/stripe/resources/terminal/configuration.rbi +1386 -0
  299. data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
  300. data/rbi/stripe/resources/terminal/location.rbi +222 -0
  301. data/rbi/stripe/resources/terminal/reader.rbi +847 -0
  302. data/rbi/stripe/resources/test_helpers/test_clock.rbi +132 -0
  303. data/rbi/stripe/resources/token.rbi +1283 -0
  304. data/rbi/stripe/resources/topup.rbi +222 -0
  305. data/rbi/stripe/resources/transfer.rbi +199 -0
  306. data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
  307. data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
  308. data/rbi/stripe/resources/treasury/financial_account.rbi +865 -0
  309. data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
  310. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
  311. data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
  312. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
  313. data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
  314. data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
  315. data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
  316. data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
  317. data/rbi/stripe/resources/v2/amount.rbi +14 -0
  318. data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
  319. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
  320. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
  321. data/rbi/stripe/resources/v2/event.rbi +48 -0
  322. data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
  323. data/rbi/stripe/resources/webhook_endpoint.rbi +168 -0
  324. data/rbi/stripe/services/account_capability_service.rbi +51 -0
  325. data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +124 -138
  326. data/rbi/stripe/services/account_link_service.rbi +58 -0
  327. data/rbi/stripe/services/account_login_link_service.rbi +22 -0
  328. data/rbi/stripe/services/account_person_service.rbi +1011 -0
  329. data/rbi/stripe/services/account_service.rbi +4213 -0
  330. data/rbi/stripe/services/account_session_service.rbi +646 -0
  331. data/rbi/stripe/services/apple_pay_domain_service.rbi +76 -0
  332. data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
  333. data/rbi/stripe/services/application_fee_service.rbi +78 -0
  334. data/rbi/stripe/services/apps/secret_service.rbi +151 -0
  335. data/rbi/stripe/services/apps_service.rbi +9 -0
  336. data/rbi/stripe/services/balance_service.rbi +21 -0
  337. data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
  338. data/rbi/stripe/services/billing/alert_service.rbi +152 -0
  339. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
  340. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
  341. data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
  342. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
  343. data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
  344. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
  345. data/rbi/stripe/services/billing/meter_service.rbi +163 -0
  346. data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
  347. data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
  348. data/rbi/stripe/services/billing_portal_service.rbi +10 -0
  349. data/rbi/stripe/services/billing_service.rbi +15 -0
  350. data/rbi/stripe/services/charge_service.rbi +448 -0
  351. data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
  352. data/rbi/stripe/services/checkout/session_service.rbi +2614 -0
  353. data/rbi/stripe/services/checkout_service.rbi +9 -0
  354. data/rbi/stripe/services/climate/order_service.rbi +142 -0
  355. data/rbi/stripe/services/climate/product_service.rbi +46 -0
  356. data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
  357. data/rbi/stripe/services/climate_service.rbi +11 -0
  358. data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
  359. data/rbi/stripe/services/country_spec_service.rbi +44 -0
  360. data/rbi/stripe/services/coupon_service.rbi +194 -0
  361. data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
  362. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
  363. data/rbi/stripe/services/credit_note_service.rbi +415 -0
  364. data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
  365. data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
  366. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
  367. data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
  368. data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
  369. data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
  370. data/rbi/stripe/services/customer_service.rbi +647 -0
  371. data/rbi/stripe/services/customer_session_service.rbi +116 -0
  372. data/rbi/stripe/services/customer_tax_id_service.rbi +70 -0
  373. data/rbi/stripe/services/dispute_service.rbi +424 -0
  374. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
  375. data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
  376. data/rbi/stripe/services/entitlements_service.rbi +10 -0
  377. data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
  378. data/rbi/stripe/services/event_service.rbi +83 -0
  379. data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
  380. data/rbi/stripe/services/file_link_service.rbi +124 -0
  381. data/rbi/stripe/services/file_service.rbi +116 -0
  382. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
  383. data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
  384. data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
  385. data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
  386. data/rbi/stripe/services/financial_connections_service.rbi +11 -0
  387. data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
  388. data/rbi/stripe/services/forwarding_service.rbi +9 -0
  389. data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
  390. data/rbi/stripe/services/identity/verification_session_service.rbi +323 -0
  391. data/rbi/stripe/services/identity_service.rbi +10 -0
  392. data/rbi/stripe/services/invoice_item_service.rbi +366 -0
  393. data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
  394. data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
  395. data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
  396. data/rbi/stripe/services/invoice_service.rbi +2981 -0
  397. data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
  398. data/rbi/stripe/services/issuing/card_service.rbi +495 -0
  399. data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
  400. data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
  401. data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
  402. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
  403. data/rbi/stripe/services/issuing/token_service.rbi +99 -0
  404. data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
  405. data/rbi/stripe/services/issuing_service.rbi +16 -0
  406. data/rbi/stripe/services/mandate_service.rbi +20 -0
  407. data/rbi/stripe/services/payment_intent_service.rbi +7659 -0
  408. data/{lib/stripe/services/payment_intent_amount_details_line_item_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
  409. data/rbi/stripe/services/payment_link_service.rbi +1352 -0
  410. data/rbi/stripe/services/payment_method_configuration_service.rbi +2487 -0
  411. data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
  412. data/rbi/stripe/services/payment_method_service.rbi +776 -0
  413. data/rbi/stripe/services/payout_service.rbi +205 -0
  414. data/rbi/stripe/services/plan_service.rbi +282 -0
  415. data/rbi/stripe/services/price_service.rbi +546 -0
  416. data/rbi/stripe/services/product_feature_service.rbi +67 -0
  417. data/rbi/stripe/services/product_service.rbi +477 -0
  418. data/rbi/stripe/services/promotion_code_service.rbi +214 -0
  419. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
  420. data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
  421. data/rbi/stripe/services/quote_service.rbi +686 -0
  422. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
  423. data/rbi/stripe/services/radar/value_list_item_service.rbi +109 -0
  424. data/rbi/stripe/services/radar/value_list_service.rbi +141 -0
  425. data/rbi/stripe/services/radar_service.rbi +11 -0
  426. data/rbi/stripe/services/refund_service.rbi +185 -0
  427. data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
  428. data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
  429. data/rbi/stripe/services/reporting_service.rbi +10 -0
  430. data/rbi/stripe/services/review_service.rbi +84 -0
  431. data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
  432. data/rbi/stripe/services/setup_intent_service.rbi +3391 -0
  433. data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
  434. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
  435. data/rbi/stripe/services/sigma_service.rbi +9 -0
  436. data/rbi/stripe/services/source_service.rbi +663 -0
  437. data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
  438. data/rbi/stripe/services/subscription_item_service.rbi +350 -0
  439. data/rbi/stripe/services/subscription_schedule_service.rbi +1290 -0
  440. data/rbi/stripe/services/subscription_service.rbi +1648 -0
  441. data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/calculation_line_item_service.rbi} +17 -21
  442. data/rbi/stripe/services/tax/calculation_service.rbi +234 -0
  443. data/rbi/stripe/services/tax/registration_service.rbi +1845 -0
  444. data/rbi/stripe/services/tax/settings_service.rbi +93 -0
  445. data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
  446. data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
  447. data/rbi/stripe/services/tax_code_service.rbi +44 -0
  448. data/rbi/stripe/services/tax_id_service.rbi +110 -0
  449. data/rbi/stripe/services/tax_rate_service.rbi +185 -0
  450. data/rbi/stripe/services/tax_service.rbi +12 -0
  451. data/rbi/stripe/services/terminal/configuration_service.rbi +1118 -0
  452. data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
  453. data/rbi/stripe/services/terminal/location_service.rbi +182 -0
  454. data/rbi/stripe/services/terminal/reader_service.rbi +455 -0
  455. data/rbi/stripe/services/terminal_service.rbi +12 -0
  456. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +739 -0
  457. data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
  458. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
  459. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
  460. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
  461. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
  462. data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
  463. data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
  464. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +93 -0
  465. data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
  466. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +90 -0
  467. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
  468. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
  469. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
  470. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
  471. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
  472. data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
  473. data/rbi/stripe/services/test_helpers_service.rbi +15 -0
  474. data/rbi/stripe/services/token_service.rbi +1257 -0
  475. data/rbi/stripe/services/topup_service.rbi +176 -0
  476. data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
  477. data/rbi/stripe/services/transfer_service.rbi +152 -0
  478. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
  479. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
  480. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
  481. data/rbi/stripe/services/treasury/financial_account_service.rbi +562 -0
  482. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
  483. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
  484. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
  485. data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
  486. data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
  487. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
  488. data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
  489. data/rbi/stripe/services/treasury_service.rbi +18 -0
  490. data/rbi/stripe/services/v1_services.rbi +77 -0
  491. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
  492. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
  493. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +18 -0
  494. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
  495. data/rbi/stripe/services/v2/billing_service.rbi +14 -0
  496. data/rbi/stripe/services/v2/core/event_destination_service.rbi +192 -0
  497. data/rbi/stripe/services/v2/core/event_service.rbi +36 -0
  498. data/rbi/stripe/services/v2/core_service.rbi +12 -0
  499. data/rbi/stripe/services/v2_services.rbi +10 -0
  500. data/rbi/stripe/services/webhook_endpoint_service.rbi +129 -0
  501. data/stripe.gemspec +1 -4
  502. metadata +326 -158
  503. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
  504. data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
  505. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  506. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  507. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  508. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  509. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  510. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  511. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
  512. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
  513. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  514. data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
  515. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  516. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  517. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  518. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
  519. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
  520. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  521. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
  522. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  523. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  524. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  525. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  526. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  527. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  528. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  529. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  530. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  531. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  532. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  533. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  534. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  535. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
  536. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  537. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  538. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  539. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  540. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  541. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
  542. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  543. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  544. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  545. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  546. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  547. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  548. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  549. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  550. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  551. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
  552. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
  553. data/lib/stripe/resources/account_notice.rb +0 -123
  554. data/lib/stripe/resources/balance_settings.rb +0 -105
  555. data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
  556. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  557. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  558. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  559. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  560. data/lib/stripe/resources/financial_connections/institution.rb +0 -90
  561. data/lib/stripe/resources/fx_quote.rb +0 -184
  562. data/lib/stripe/resources/gift_cards/card.rb +0 -208
  563. data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
  564. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  565. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  566. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  567. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  568. data/lib/stripe/resources/margin.rb +0 -115
  569. data/lib/stripe/resources/order.rb +0 -2859
  570. data/lib/stripe/resources/payment_attempt_record.rb +0 -1078
  571. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -65
  572. data/lib/stripe/resources/payment_record.rb +0 -1607
  573. data/lib/stripe/resources/privacy/redaction_job.rb +0 -275
  574. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -25
  575. data/lib/stripe/resources/quote_line.rb +0 -274
  576. data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
  577. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -339
  578. data/lib/stripe/resources/tax/association.rb +0 -89
  579. data/lib/stripe/resources/tax/form.rb +0 -211
  580. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  581. data/lib/stripe/resources/v2/core/account.rb +0 -1746
  582. data/lib/stripe/resources/v2/core/account_link.rb +0 -56
  583. data/lib/stripe/resources/v2/core/person.rb +0 -276
  584. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
  585. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
  586. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
  587. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
  588. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
  589. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -58
  590. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
  591. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
  592. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
  593. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
  594. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
  595. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
  596. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -75
  597. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
  598. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -136
  599. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -108
  600. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -78
  601. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -68
  602. data/lib/stripe/services/account_notice_service.rb +0 -101
  603. data/lib/stripe/services/balance_settings_service.rb +0 -96
  604. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  605. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  606. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  607. data/lib/stripe/services/capital_service.rb +0 -15
  608. data/lib/stripe/services/fx_quote_service.rb +0 -123
  609. data/lib/stripe/services/gift_cards/card_service.rb +0 -170
  610. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
  611. data/lib/stripe/services/gift_cards_service.rb +0 -14
  612. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  613. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  614. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  615. data/lib/stripe/services/margin_service.rb +0 -119
  616. data/lib/stripe/services/order_service.rb +0 -2268
  617. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  618. data/lib/stripe/services/payment_record_service.rb +0 -542
  619. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -231
  620. data/lib/stripe/services/privacy_service.rb +0 -13
  621. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  622. data/lib/stripe/services/tax/association_service.rb +0 -31
  623. data/lib/stripe/services/tax/form_service.rb +0 -100
  624. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  625. data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
  626. data/lib/stripe/services/v2/core/account_service.rb +0 -4138
  627. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1048
  628. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -135
  629. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -109
  630. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  631. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -75
  632. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -44
  633. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
  634. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -126
  635. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -96
  636. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -202
  637. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -237
  638. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -174
  639. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -95
  640. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  641. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -71
  642. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -44
  643. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -70
  644. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -74
  645. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  646. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  647. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -50
  648. data/rbi/stripe.rbi +0 -191867
data/CHANGELOG.md CHANGED
@@ -1,53 +1,56 @@
1
1
  # Changelog
2
+ ## 15.2.0 - 2025-05-29
3
+ This release changes the pinned API version to `2025-05-28.basil`.
2
4
 
3
- ## 15.2.0-beta.1 - 2025-04-30
4
- * [#1589](https://github.com/stripe/stripe-ruby/pull/1589) Update generated code for beta
5
- This release changes the pinned API version to `2025-04-30.preview`.
6
-
7
- * 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`
8
- * Change `Checkout::Session::AutomaticTax.provider`, `Invoice::AutomaticTax.provider`, `Quote::AutomaticTax.provider`, and `QuotePreviewInvoice::AutomaticTax.provider` to be required
9
- * Add support for `account_number` on `ConfirmationToken::PaymentMethodPreview::AcssDebit` and `PaymentMethod::AcssDebit`
10
-
11
- ## 15.1.0-beta.2 - 2025-04-17
12
- * [#1578](https://github.com/stripe/stripe-ruby/pull/1578) Update generated code for beta
13
- * Add support for new resources `FxQuote` and `PaymentIntentAmountDetailsLineItem`
14
- * Add support for `create`, `list`, and `retrieve` methods on resource `FxQuote`
15
- * Remove support for `attach_payment_intent` method on resource `Invoice`
5
+ * [#1605](https://github.com/stripe/stripe-ruby/pull/1605) Update generated code
6
+ * Add support for `attach_payment` method on resource `Invoice`
7
+ * Add support for `collect_inputs` method on resource `Terminal::Reader`
8
+ * Add support for `succeed_input_collection` and `timeout_input_collection` test helper methods on resource `Terminal::Reader`
9
+ * Add support for `pix_payments` on `Account::Capability`, `Account::CreateParams::Capability`, and `Account::UpdateParams::Capability`
10
+ * Add support for `disputes_list` and `payment_disputes` on `AccountSession::Component` and `AccountSession::CreateParams::Component`
11
+ * Add support for `refund_and_dispute_prefunding` on `Balance`
12
+ * Add support for `balance_type` on `BalanceTransaction`
13
+ * Change `Billing::Alert::CreateParams::UsageThreshold.meter` to be required
14
+ * Add support for `location` and `reader` on `Charge::PaymentMethodDetail::Affirm` and `Charge::PaymentMethodDetail::WechatPay`
15
+ * Add support for `payment_method_remove` on `Checkout::Session::CreateParams::SavedPaymentMethodOption`
16
+ * Add support for `setup_future_usage` on `Checkout::Session::PaymentMethodOption::NaverPay`
17
+ * Change `ConfirmationToken::PaymentMethodPreview::NaverPay.buyer_id` and `PaymentMethod::NaverPay.buyer_id` to be required
18
+ * Add support for `post_payment_amount` and `pre_payment_amount` on `CreditNote`
19
+ * Add support for `sex`, `unparsed_place_of_birth`, and `unparsed_sex` on `Identity::VerificationReport::Document` and `Identity::VerificationSession::VerifiedOutput`
20
+ * 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`
21
+ * Add support for `satispay` on `PaymentIntent::ConfirmParams::PaymentMethodOption`, `PaymentIntent::CreateParams::PaymentMethodOption`, `PaymentIntent::PaymentMethodOption`, and `PaymentIntent::UpdateParams::PaymentMethodOption`
22
+ * Add support for `capture_method` on `PaymentIntent::PaymentMethodOption::Billie`
23
+ * Add support for `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on `PaymentMethodConfiguration::CreateParams`, `PaymentMethodConfiguration::UpdateParams`, and `PaymentMethodConfiguration`
24
+ * Add support for `network_decline_code` on `Refund::DestinationDetail::Paypal`
25
+ * Add support for `metadata` on `Tax::Calculation::CreateParams::LineItem` and `Tax::CalculationLineItem`
26
+ * Add support for `return_url` on `Terminal::Reader::Action::ProcessPaymentIntent::ProcessConfig` and `Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig`
27
+ * Add support for `collect_inputs` on `Terminal::Reader::Action`
28
+ * [#1601](https://github.com/stripe/stripe-ruby/pull/1601) Adds CONTRIBUTING.md
29
+
30
+ ## 15.1.0 - 2025-04-30
31
+
32
+ This release changes the pinned API version to `2025-04-30.basil`.
33
+
34
+ * [#1566](https://github.com/stripe/stripe-ruby/pull/1566) Update generated code
35
+ * Add support for `minority_owned_business_designation` on `Account::BusinessProfile`, `Account::CreateParams::BusinessProfile`, and `Account::UpdateParams::BusinessProfile`
16
36
  * Add support for `registration_date` on `Account::Company`, `Account::CreateParams::Company`, `Account::UpdateParams::Company`, and `Token::CreateParams::Account::Company`
17
- * 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`
18
- * 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`
19
- * Add support for `price_data` on `CheckoutSession::UpdateParams::LineItem`
20
- * Change type of `CheckoutSession::UpdateParams::LineItem.quantity` from `longInteger` to `emptyable(longInteger)`
21
- * Add support for `script` on `Coupon::CreateParams` and `Coupon`
22
- * Add support for `type` on `Coupon`
23
- * Add support for `fx_quote` on `PaymentIntent::ConfirmParams`, `PaymentIntent::CreateParams`, `PaymentIntent::UpdateParams`, `PaymentIntent`, `Transfer::CreateParams`, and `Transfer`
24
- * Add support for `discount_amount`, `line_items`, `shipping`, and `tax` on `PaymentIntent::AmountDetail`
37
+ * Add support for `us_cfpb_data` on `Account::CreateParams`, `Account::UpdateParams`, `AccountPerson::CreateParams`, `AccountPerson::UpdateParams`, `Person`, and `Token::CreateParams::Person`
38
+ * 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`
39
+ * Add support for `wallet_options` on `Checkout::Session::CreateParams` and `Checkout::Session`
40
+ * Add support for `provider` on `Checkout::Session::AutomaticTax`, `Invoice::AutomaticTax`, and `Quote::AutomaticTax`
41
+ * Add support for `payment_method_options` on `ConfirmationToken::CreateParams` and `TestHelpers::ConfirmationToken::CreateParams`
42
+ * Add support for `installments` on `ConfirmationToken::PaymentMethodOption::Card`
43
+ * Add support for `context` on `Event`
44
+ * Change type of `InvoiceLineItem::Parent::SubscriptionItemDetail.subscription` from `string` to `nullable(string)`
45
+ * Add support for `billie` on `PaymentIntent::ConfirmParams::PaymentMethodOption`, `PaymentIntent::CreateParams::PaymentMethodOption`, `PaymentIntent::PaymentMethodOption`, and `PaymentIntent::UpdateParams::PaymentMethodOption`
25
46
  * Add support for `pix` on `PaymentMethodConfiguration::CreateParams`, `PaymentMethodConfiguration::UpdateParams`, and `PaymentMethodConfiguration`
26
- * Add support for `us_cfpb_data` on `Person` and `Token::CreateParams::Person`
27
- * Add support for `pending_reason` on `Refund`
28
- * Add support for `aw`, `az`, `bd`, `bj`, `et`, `kg`, `la`, and `ph` on `TaxRegistration::CountryOption` and `TaxRegistration::CreateParams::CountryOption`
29
- * [#1588](https://github.com/stripe/stripe-ruby/pull/1588) Removed Request signing authenticator
30
- - Removed `RequestSigningAuthenticator` class as request signing is not supported by Stripe APIs yet. This allows us to remove the dependency on base64
31
- * [#1582](https://github.com/stripe/stripe-ruby/pull/1582) Prathmesh/merge ruby beta
32
-
33
- ## 15.1.0-beta.1 - 2025-04-10
34
- * [#1569](https://github.com/stripe/stripe-ruby/pull/1569) Update generated code for beta
35
-
36
- ### Breaking changes
37
- * Change type of `V2MoneyManagementReceivedDebit.status_transitions` from `an object` to `nullable(an object)`
38
-
39
- ### Additions
40
- * Add support for new resources `Privacy::RedactionJobRootObjects`, `Privacy::RedactionJobValidationError`, and `Privacy::RedactionJob`
41
- * Add support for `cancel`, `create`, `list`, `retrieve`, `run`, `update`, and `validate` methods on resource `RedactionJob`
42
- * Add support for `list` and `retrieve` methods on resource `RedactionJobValidationError`
43
- * Add support for `minority_owned_business_designation` on `Account::BusinessProfile`, `Account::CreateParams::BusinessProfile`, and `Account::UpdateParams::BusinessProfile`
44
- * Add support for `export_tax_transactions` and `payment_disputes` on `AccountSession::CreateParams::Component`
45
- * Add support for `wallet_options` on `CheckoutSession::CreateParams` and `CheckoutSession`
46
47
  * Add support for `klarna` on `PaymentMethodDomain`
47
- * Change type of `TaxCalculationLineItem.reference` from `nullable(string)` to `string`
48
- * Add support for `in` on `TaxRegistration::CountryOption` and `TaxRegistration::CreateParams::CountryOption`
49
- * [#1572](https://github.com/stripe/stripe-ruby/pull/1572) Handle external_account field
50
- - Changes `external_account` field in `external_accounts.create` from a `string` to a union type.
48
+ * Add support for `pending_reason` on `Refund`
49
+ * Change type of `Tax::CalculationLineItem.reference` from `nullable(string)` to `string`
50
+ * 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`
51
+ * [#1585](https://github.com/stripe/stripe-ruby/pull/1585) Updated rubocop from 1.57.2 to 1.75.2
52
+ * [#1583](https://github.com/stripe/stripe-ruby/pull/1583) Include new Ruby 3.4 in CI
53
+ * [#1581](https://github.com/stripe/stripe-ruby/pull/1581) Added rubocop exclusion for generated tests
51
54
 
52
55
  ## 15.0.0 - 2025-04-09
53
56
 
@@ -69,61 +72,6 @@
69
72
  * [#1575](https://github.com/stripe/stripe-ruby/pull/1575) Remove unused youtube playlist link
70
73
  * [#1573](https://github.com/stripe/stripe-ruby/pull/1573) Remove link for stale youtube video playlist
71
74
 
72
- ## 14.1.0-beta.1 - 2025-04-02
73
- * [#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
74
-
75
- This release changes the pinned API version to `2025-03-31.preview`
76
-
77
- ### Breaking changes
78
- * Change type of `QuotePreviewInvoice::Parent::SubscriptionDetail.subscription` from `string` to `expandable($Subscription)`
79
- * Remove support for `value` on `TerminalReader::Action::CollectInput::Input::Selection::Choice`, `TerminalReader::Action::CollectInput::Input::Selection`, and `TerminalReader::CollectInputsParams::Input::Selection::Choice`
80
-
81
- ### Additions
82
- * Add support for `payment_method_options` on `ConfirmationToken::CreateParams`
83
- * Add support for `installments` on `ConfirmationToken::PaymentMethodOption::Card`
84
- * 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
85
- * Add support for `update_line_items` on `CheckoutSession::CreateParams::Permission` and `CheckoutSession::Permission`
86
- * Add support for `billie` on `PaymentIntent::ConfirmParams::PaymentMethodOption`, `PaymentIntent::CreateParams::PaymentMethodOption`, `PaymentIntent::PaymentMethodOption`, and `PaymentIntent::UpdateParams::PaymentMethodOption`
87
- * Add support for `id` and `text` on `TerminalReader::Action::CollectInput::Input::Selection::Choice`, `TerminalReader::Action::CollectInput::Input::Selection`, and `TerminalReader::CollectInputsParams::Input::Selection::Choice`
88
- * Add support for new resources `BalanceSettings`
89
- * Add support for `retrieve` and `update` methods on resource `BalanceSettings`
90
- * 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`
91
-
92
- #### New APIs for Money CardManagement
93
-
94
- * 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`
95
- * Add support for `create` method on resource `V2::MoneyManagement::OutboundPaymentQuote`
96
- * 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`
97
- * Add support for `create`, `list`, and `retrieve` methods on resources `V2::MoneyManagement::FinancialAddress` and `V2::MoneyManagement::InboundTransfer`
98
- * Add support for `cancel`, `create`, `list`, and `retrieve` methods on resources `V2::MoneyManagement::OutboundPayment` and `V2::MoneyManagement::OutboundTransfer`
99
- * Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `V2::MoneyManagement::PayoutMethod`
100
- * Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resource `V2::MoneyManagement::OutboundSetupIntent`
101
- * Add support for `retrieve` method on resource `V2::MoneyManagement::PayoutMethodsBankAccountSpec`
102
- * Add support for new thin event `V2MoneyManagementFinancialAccountCreatedEvent` with related object `V2::MoneyManagement::FinancialAccount`
103
- * Add support for new thin events `V2MoneyManagementFinancialAddressActivatedEvent` and `V2MoneyManagementFinancialAddressFailedEvent` with related object `V2::MoneyManagement::FinancialAddress`
104
- * Add support for new thin events `V2MoneyManagementInboundTransferAvailableEvent`, `V2MoneyManagementInboundTransferBankDebitFailedEvent`, `V2MoneyManagementInboundTransferBankDebitProcessingEvent`, `V2MoneyManagementInboundTransferBankDebitQueuedEvent`, `V2MoneyManagementInboundTransferBankDebitReturnedEvent`, and `V2MoneyManagementInboundTransferBankDebitSucceededEvent` with related object `V2::MoneyManagement::InboundTransfer`
105
- * Add support for new thin events `V2MoneyManagementOutboundPaymentCanceledEvent`, `V2MoneyManagementOutboundPaymentCreatedEvent`, `V2MoneyManagementOutboundPaymentFailedEvent`, `V2MoneyManagementOutboundPaymentPostedEvent`, and `V2MoneyManagementOutboundPaymentReturnedEvent` with related object `V2::MoneyManagement::OutboundPayment`
106
- * Add support for new thin events `V2MoneyManagementOutboundTransferCanceledEvent`, `V2MoneyManagementOutboundTransferCreatedEvent`, `V2MoneyManagementOutboundTransferFailedEvent`, `V2MoneyManagementOutboundTransferPostedEvent`, and `V2MoneyManagementOutboundTransferReturnedEvent` with related object `V2::MoneyManagement::OutboundTransfer`
107
- * Add support for new thin events `V2MoneyManagementReceivedCreditAvailableEvent`, `V2MoneyManagementReceivedCreditFailedEvent`, `V2MoneyManagementReceivedCreditReturnedEvent`, and `V2MoneyManagementReceivedCreditSucceededEvent` with related object `V2::MoneyManagement::ReceivedCredit`
108
- * Add support for new thin events `V2MoneyManagementReceivedDebitCanceledEvent`, `V2MoneyManagementReceivedDebitFailedEvent`, `V2MoneyManagementReceivedDebitPendingEvent`, `V2MoneyManagementReceivedDebitSucceededEvent`, and `V2MoneyManagementReceivedDebitUpdatedEvent` with related object `V2::MoneyManagement::ReceivedDebit`
109
- * Add support for new error types `AlreadyCanceledError`, `BlockedByStripeError`, `ControlledByDashboardError`, `FeatureNotEnabledError`, `FinancialAccountNotOpenError`, `InsufficientFundsError`, `InvalidPayoutMethodError`, `NotCancelableError`, and `RecipientNotNotifiableError`
110
-
111
-
112
- #### New APIs for Accounts v2 in private preview
113
- See [SaaS platform payments with subscription billing using Accounts v2](https://docs.stripe.com/connect/accounts-v2/saas-platform-payments-billing)
114
-
115
- * Add support for new resources `V2::Core::AccountLink`, `V2::Core::Account`, `V2::Core::Person`, `V2::Core::Vault::GbBankAccount`, `V2::Core::Vault::UsBankAccount`
116
- * Add support for `close`, `create`, `list`, `retrieve`, and `update` methods on resource `V2::Core::Account`
117
- * Add support for `create` method on resources `V2::Core::AccountLink` and `V2::MoneyManagement::OutboundPaymentQuote`
118
- * Add support for `acknowledge_confirmation_of_payee`, `archive`, `create`, `initiate_confirmation_of_payee`, and `retrieve` methods on resource `V2::Core::Vault::GbBankAccount`
119
- * Add support for `archive`, `create`, `retrieve`, and `update` methods on resource `V2::Core::Vault::UsBankAccount`
120
- * Add support for new thin events `V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationCustomerUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationMerchantUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientCapabilityStatusUpdatedEvent`, `V2CoreAccountIncludingConfigurationRecipientUpdatedEvent`, `V2CoreAccountIncludingIdentityUpdatedEvent`, and `V2CoreAccountIncludingRequirementsUpdatedEvent`
121
- * Add support for new thin event `V2CoreAccountLinkCompletedEvent` with related object `V2::Core::AccountLink`
122
- * Add support for new thin events `V2CoreAccountPersonCreatedEvent`, `V2CoreAccountPersonDeletedEvent`, and `V2CoreAccountPersonUpdatedEvent` with related object `V2::Core::Person`
123
-
124
- * [#1557](https://github.com/stripe/stripe-ruby/pull/1557) Update Stripe.add_beta_version
125
- * `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.
126
-
127
75
  ## 14.0.0 - 2025-04-01
128
76
  * [#1559](https://github.com/stripe/stripe-ruby/pull/1559) Add RBI annotations for fields and params
129
77
  * Adds explicit field types for resources and parameters for methods, and add RBI static annotations for all resources and services
@@ -152,20 +100,11 @@
152
100
 
153
101
  * Add support for new resource `InvoicePayment`
154
102
  * Add support for `list` and `retrieve` methods on resource `InvoicePayment`
155
-
156
- ## 13.6.0-beta.1 - 2025-03-18
157
- * [#1550](https://github.com/stripe/stripe-ruby/pull/1550) Merge from stripe-ruby master
158
- * [#1546](https://github.com/stripe/stripe-ruby/pull/1546) Beta SDK updates between Open API versions 1473 and 1505
159
103
 
160
- * Add support for `succeed_input_collection` and `timeout_input_collection` test helper methods on resource `Terminal.Reader`
161
- * [#1545](https://github.com/stripe/stripe-ruby/pull/1545) fix ruby merge conflict for beta
162
-
163
- ## 13.5.0-beta.1 - 2025-02-07
164
- * [#1527](https://github.com/stripe/stripe-ruby/pull/1527) Update generated code for beta
165
104
 
166
105
  ## 13.5.0 - 2025-02-24
167
106
  * [#1534](https://github.com/stripe/stripe-ruby/pull/1534) Update generated code
168
- * Fixed `Stripe::InvoiceLineItem.update` method.
107
+ * Fixed `Stripe::InvoiceLineItem.update` method.
169
108
  * [#1536](https://github.com/stripe/stripe-ruby/pull/1536) Fix InvoiceLineItem parent class
170
109
  * Fix bug where `Stripe::InvoiceLineItem` had the incorrect parent class, making it error when `update` was called
171
110
  * [#1533](https://github.com/stripe/stripe-ruby/pull/1533) add codeowners file
@@ -182,25 +121,6 @@
182
121
  * [#1513](https://github.com/stripe/stripe-ruby/pull/1513) add justfile
183
122
  * [#1515](https://github.com/stripe/stripe-ruby/pull/1515) Added CONTRIBUTING.md file
184
123
 
185
- ## 13.4.0-beta.4 - 2025-01-23
186
- * [#1523](https://github.com/stripe/stripe-ruby/pull/1523) Update generated code for beta
187
- * Removed support for `stripe_account` from `Stripe::Terminal::Reader`. Use `account` instead.
188
-
189
- ## 13.4.0-beta.3 - 2025-01-17
190
- * [#1514](https://github.com/stripe/stripe-ruby/pull/1514) Update generated code for beta
191
-
192
- ## 13.4.0-beta.2 - 2025-01-09
193
- * [#1504](https://github.com/stripe/stripe-ruby/pull/1504) Update generated code for beta
194
- * Add support for `close` method on resource `Treasury.FinancialAccount`
195
-
196
- ## 13.4.0-beta.1 - 2024-12-20
197
- * Support parameter and resource fields with typed RBIs
198
- * [#1509](https://github.com/stripe/stripe-ruby/pull/1509) (beta) Publish RBIs with gem
199
- * [#1505](https://github.com/stripe/stripe-ruby/pull/1505) Add method parameter type classes to all resources and services
200
-
201
- * Add method parameter classes for all resources and service methods.
202
- * 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.
203
-
204
124
  ## 13.3.1 - 2025-01-13
205
125
  * [#1512](https://github.com/stripe/stripe-ruby/pull/1512) Import global configuration for options not available on StripeClient options
206
126
  * Fixes bug where `StripeClient` was not falling back to global options for options that are not available to be set per-client
@@ -213,42 +133,13 @@
213
133
  * [#1500](https://github.com/stripe/stripe-ruby/pull/1500) This release changes the pinned API version to `2024-12-18.acacia`.
214
134
 
215
135
  * [#1507](https://github.com/stripe/stripe-ruby/pull/1507) Pass requestor to all deserialized objects including lists
216
-
136
+
217
137
  * Fixes bug where `StripeObject` retrieved from lists could not be used to make requests, such as `refresh`
218
138
 
219
- ## 13.3.0-beta.3 - 2024-12-12
220
- * [#1499](https://github.com/stripe/stripe-ruby/pull/1499) Update generated code for beta
221
- * Add support for `AllowRedisplay` on `Card` and `Source`
222
- * 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`
223
- * Add support for new value `network_fallback` on enum `IssuingAuthorizationRequestHistoryReason`
224
- * Remove support for `AmountRefunded` on `PaymentRecord`
225
- * Add support for `Account` on `TerminalReaderActionCollectPaymentMethod`, `TerminalReaderActionConfirmPaymentIntent`, `TerminalReaderActionProcessPaymentIntent`, and `TerminalReaderActionRefundPayment`
226
-
227
- ## 13.3.0-beta.2 - 2024-12-05
228
- * [#1492](https://github.com/stripe/stripe-ruby/pull/1492) Update generated code for beta
229
-
230
- * [#1490](https://github.com/stripe/stripe-ruby/pull/1490) Add explicit attributes for fields in resources, and rbis for resources
231
-
232
- ## 13.3.0-beta.1 - 2024-11-21
233
- * [#1489](https://github.com/stripe/stripe-ruby/pull/1489) Merging code from master to get the latest bug fixes.
234
-
235
139
  ## 13.2.0 - 2024-11-20
236
140
  * [#1486](https://github.com/stripe/stripe-ruby/pull/1486) This release changes the pinned API version to `2024-11-20.acacia`.
237
141
  * Add support for `respond` test helper method on resource `Issuing.Authorization`
238
142
 
239
- ## 13.2.0-beta.3 - 2024-11-14
240
- * [#1484](https://github.com/stripe/stripe-ruby/pull/1484) Update generated code for beta
241
-
242
- ## 13.2.0-beta.2 - 2024-11-07
243
- * [#1480](https://github.com/stripe/stripe-ruby/pull/1480) Update generated code for beta
244
- * Add support for new resources `Issuing.FraudLiabilityDebit`, `PaymentAttemptRecord`, and `PaymentRecord`
245
- * Add support for `list` and `retrieve` methods on resources `FraudLiabilityDebit` and `PaymentAttemptRecord`
246
- * 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`
247
-
248
- ## 13.2.0-beta.1 - 2024-10-29
249
- * [#1477](https://github.com/stripe/stripe-ruby/pull/1477) Update generated code for beta
250
- * Add support for `trigger_action` method on resource `PaymentIntent`
251
-
252
143
  ## 13.1.2 - 2024-11-15
253
144
  * [#1488](https://github.com/stripe/stripe-ruby/pull/1488) Fix incorrect key in param encoding
254
145
 
@@ -263,48 +154,26 @@
263
154
  * [#1476](https://github.com/stripe/stripe-ruby/pull/1476) Fix APIResource#retrieve bug not returning instance of custom resources
264
155
  * 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.
265
156
 
266
- ## 13.1.0-beta.3 - 2024-10-18
267
- * [#1469](https://github.com/stripe/stripe-ruby/pull/1469) Update generated code for beta
268
-
269
- ## 13.1.0-beta.2 - 2024-10-08
270
- * [#1468](https://github.com/stripe/stripe-ruby/pull/1468) Update generated code for beta
271
- * Add support for `submit_card` test helper method on resource `Issuing.Card`
272
-
273
- ## 13.1.0-beta.1 - 2024-10-03
274
- * [#1465](https://github.com/stripe/stripe-ruby/pull/1465) Updates to the `Preview` class
275
- * Remove `Stripe::Preview`. Use `StripeClient#raw_request` instead (see below).
276
- * 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:
277
- ```ruby
278
- # Before
279
- resp = Stripe.raw_request(:post, "v1/charges", , {p1: "p1"}, {stripe_account: "acct_123"})
280
- charge = Stripe.deserialize(resp.data)
281
-
282
- # After
283
- client = StripeClient.new("sk_test_123")
284
- resp = client.raw_request(:post, "/v1/charges", params: {p1: "p1"}, opts: {stripe_account: "acct_123"})
285
- charge = client.deserialize(resp.data)
286
- ```
287
-
288
157
  ## 13.0.2 - 2024-10-23
289
158
  * [#1473](https://github.com/stripe/stripe-ruby/pull/1473) Always return the result of APIResource#refresh in APIResource.retrieve
290
-
159
+
291
160
  * Fix bug where we would not return the mutated `self` object when calling `APIResource.retrieve`
292
161
 
293
162
  ## 13.0.1 - 2024-10-18
294
163
  * [#1471](https://github.com/stripe/stripe-ruby/pull/1471) update object tags for meter-related classes
295
-
164
+
296
165
  - fixes a bug where the `object` property of the `MeterEvent`, `MeterEventAdjustment`, and `MeterEventSession` didn't match the server.
297
166
  * [#1470](https://github.com/stripe/stripe-ruby/pull/1470) Cleaned up examples and added documentation
298
167
 
299
168
  ## 13.0.0 - 2024-10-01
300
169
  * [#1458](https://github.com/stripe/stripe-ruby/pull/1458) Support for APIs in the new API version 2024-09-30.acacia
301
-
170
+
302
171
  This release changes the pinned API version to `2024-09-30.acacia`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-09-30.acacia) and carefully review the API changes before upgrading.
303
-
304
- ### ⚠️ Breaking changes
305
-
172
+
173
+ ### ⚠️ Breaking changes
174
+
306
175
  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.
307
-
176
+
308
177
  #### ❗ `StripeClient` and related changes
309
178
  * Move `StripeClient` and requestor logic to `APIRequestor`.
310
179
  * `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).
@@ -312,21 +181,21 @@
312
181
  * No global config: you can simultaneously use multiple clients with different configuration options (such as API keys)
313
182
  * 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`.
314
183
  * No static methods. Much easier mocking.
315
-
184
+
316
185
  #### Other breaking changes
317
-
186
+
318
187
  * Adjust default values around retries for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
319
188
  - max retries: `0` -> `2`
320
189
  - max retry delay (seconds) `2` -> `5`
321
190
  * Remove `StripeClient#connection_manager`. This was a legacy method from years ago.
322
- * 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.
191
+ * 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.
323
192
  ```ruby
324
193
  params = { expand: ["available"] }
325
194
  opts = { stripe_account: "acct_123" }
326
-
195
+
327
196
  # ❌ No longer works
328
197
  Stripe::Balance.retrieve(opts)
329
-
198
+
330
199
  # ✅ Correct way to call retrieve method
331
200
  Stripe::Balance.retrieve(params, opts)
332
201
  ```
@@ -335,7 +204,7 @@
335
204
  ```ruby
336
205
  # Instead of
337
206
  Stripe::APIResource.request(:get, "/v1/endpoint", params, opts)
338
-
207
+
339
208
  # do
340
209
  client = Stripe::StripeClient.new(...)
341
210
  resp = client.raw_request(:get, "/v1/endpoint", params: params, opts: opts)
@@ -351,29 +220,19 @@
351
220
  # Before
352
221
  obj, api_key = StripeClient.execute_request(method, path, api_base: nil,
353
222
  api_key: nil, headers: {}, params: {}, usage: [])
354
-
223
+
355
224
  # is now, with base_address being one of [:api, :files, :connect, :meter_events]
356
-
225
+
357
226
  obj, opts = APIRequestor.execute_request(method, path, base_address,
358
227
  params: {}, opts: {}, usage: [])
359
228
  puts(opts) # will output {api_key: "sk_test_123", stripe_account: "acct_123"}
360
229
  ```
361
-
362
-
230
+
231
+
363
232
  ### Additions
364
233
  * 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)
365
- * Add method `parse_thin_event()` on the `StripeClient` class to parse [thin events](https://docs.corp.stripe.com/event-destinations#events-overview).
366
-
367
- ## 12.7.0-beta.2 - 2024-09-18
368
- * [#1449](https://github.com/stripe/stripe-ruby/pull/1449) Update generated code for beta
369
- * Remove support for resource `QuotePhase`
370
- * Remove support for `list_line_items` and `retrieve` methods on resource `QuotePhase`
234
+ * Add method `parse_thin_event()` on the `StripeClient` class to parse [thin events](https://docs.corp.stripe.com/event-destinations#events-overview).
371
235
 
372
- ## 12.7.0-beta.1 - 2024-09-13
373
- * [#1446](https://github.com/stripe/stripe-ruby/pull/1446) Update generated code for beta
374
- * Add support for new resources `Issuing.DisputeSettlementDetail` and `Issuing.Settlement`
375
- * Add support for `list` and `retrieve` methods on resource `DisputeSettlementDetail`
376
- * Remove support for `list` method on resource `QuotePhase`
377
236
 
378
237
  ## 12.6.0 - 2024-09-12
379
238
  * [#1442](https://github.com/stripe/stripe-ruby/pull/1442) Update generated code
@@ -381,28 +240,12 @@
381
240
  * Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `InvoiceRenderingTemplate`
382
241
  * [#1443](https://github.com/stripe/stripe-ruby/pull/1443) Removed v1/files override
383
242
 
384
- ## 12.6.0-beta.1 - 2024-09-05
385
- * [#1441](https://github.com/stripe/stripe-ruby/pull/1441) Update generated code for beta
386
- * Add support for new resources `Billing.MeterErrorReport` and `Terminal.ReaderCollectedData`
387
- * Add support for `retrieve` method on resource `ReaderCollectedData`
388
-
389
243
  ## 12.5.0 - 2024-08-08
390
244
  * [#1440](https://github.com/stripe/stripe-ruby/pull/1440) Update generated code
391
245
  * Add support for new resources `Billing.AlertTriggered` and `Billing.Alert`
392
246
  * Add support for `activate`, `archive`, `create`, `deactivate`, `list`, and `retrieve` methods on resource `Alert`
393
247
  * Add support for `retrieve` method on resource `Tax.Calculation`
394
248
 
395
- ## 12.5.0-beta.2 - 2024-08-01
396
- * [#1439](https://github.com/stripe/stripe-ruby/pull/1439) Update generated code for beta
397
- * Add support for `attach_payment` method on resource `Invoice`
398
-
399
- ## 12.5.0-beta.1 - 2024-07-25
400
- * [#1429](https://github.com/stripe/stripe-ruby/pull/1429) Update generated code for beta
401
- * Add support for new resources `Billing.AlertTriggered`, `Billing.Alert`, and `Tax.Association`
402
- * Add support for `activate`, `archive`, `create`, `deactivate`, `list`, and `retrieve` methods on resource `Alert`
403
- * Add support for `find` method on resource `Association`
404
- * [#1434](https://github.com/stripe/stripe-ruby/pull/1434) Merge changes from stripe/stripe-ruby master
405
-
406
249
  ## 12.4.0 - 2024-07-25
407
250
  * [#1437](https://github.com/stripe/stripe-ruby/pull/1437) Update generated code
408
251
  * Add support for `update` method on resource `Checkout.Session`
@@ -416,21 +259,15 @@
416
259
 
417
260
  * [#1433](https://github.com/stripe/stripe-ruby/pull/1433) Add usage to raw_request call
418
261
  * [#1431](https://github.com/stripe/stripe-ruby/pull/1431) Add `raw_request`
419
-
262
+
420
263
  - 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.
421
264
 
422
- ## 12.2.0-beta.1 - 2024-07-05
423
- * [#1428](https://github.com/stripe/stripe-ruby/pull/1428) Update generated code for beta
424
- * Add support for new resource `FinancialConnections.Institution`
425
- * Add support for `list` and `retrieve` methods on resource `Institution`
426
- * [#1409](https://github.com/stripe/stripe-ruby/pull/1409) Update generated code for beta
427
-
428
265
  ## 12.1.0 - 2024-07-05
429
266
  * [#1425](https://github.com/stripe/stripe-ruby/pull/1425) Update generated code
430
267
  * Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
431
268
  * [#1420](https://github.com/stripe/stripe-ruby/pull/1420) Update static methods for delete/list on BankAccount/Card to throw NotImplementedError
432
- * 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.
433
-
269
+ * 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.
270
+
434
271
  Methods affected | Use these instead in the context of payment method | Use these in the context of external accounts
435
272
  ------ | ------ | ----
436
273
  Stripe:: BankAccount.delete | Stripe::Customer.delete_source | Stripe::Account.delete_external_account
@@ -442,22 +279,18 @@
442
279
 
443
280
  ## 12.0.0 - 2024-06-24
444
281
  * [#1418](https://github.com/stripe/stripe-ruby/pull/1418) Add missing static method for verify on BankAccount
445
- * [#1419](https://github.com/stripe/stripe-ruby/pull/1419)
446
-
282
+ * [#1419](https://github.com/stripe/stripe-ruby/pull/1419)
283
+
447
284
  This release changes the pinned API version to 2024-06-20. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-06-20) and carefully review the API changes before upgrading.
448
285
 
449
286
  ### Additions
450
-
287
+
451
288
  * Add support for `finalize_amount` test helper method on resource `Issuing.Authorization`
452
289
 
453
290
  ## 11.7.0 - 2024-06-13
454
291
  * [#1415](https://github.com/stripe/stripe-ruby/pull/1415) Deprecate StripeClient#request
455
292
  * 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.
456
293
 
457
- ## 11.7.0-beta.1 - 2024-05-30
458
- * [#1400](https://github.com/stripe/stripe-ruby/pull/1400) Update generated code for beta
459
- * Keeping up with the changes from version 11.6.0
460
-
461
294
  ## 11.6.0 - 2024-05-30
462
295
  * [#1404](https://github.com/stripe/stripe-ruby/pull/1404) Add method to list invoice line items
463
296
  * Add methods `list_lines()` on the class `Invoice` to list the invoice line items
@@ -465,10 +298,6 @@
465
298
  ## 11.5.0 - 2024-05-23
466
299
  * This release has no changes.
467
300
 
468
- ## 11.5.0-beta.1 - 2024-05-09
469
- * [#1395](https://github.com/stripe/stripe-ruby/pull/1395) Update generated code for beta
470
- * No new beta features. Merging changes from the main branch.
471
-
472
301
  ## 11.4.0 - 2024-05-09
473
302
  * [#1397](https://github.com/stripe/stripe-ruby/pull/1397) Update generated code
474
303
  * Add support for `update` test helper method on resources `Treasury.OutboundPayment` and `Treasury.OutboundTransfer`
@@ -477,9 +306,6 @@
477
306
  * [#1389](https://github.com/stripe/stripe-ruby/pull/1389) Removed jaro_winkler as a dependency
478
307
  * [#1396](https://github.com/stripe/stripe-ruby/pull/1396) Start tracking `StripeClient#request` usage
479
308
 
480
- ## 11.4.0-beta.1 - 2024-05-02
481
- * [#1386](https://github.com/stripe/stripe-ruby/pull/1386) Update generated code for beta
482
-
483
309
  ## 11.3.0 - 2024-05-02
484
310
  * [#1387](https://github.com/stripe/stripe-ruby/pull/1387) Update generated code
485
311
 
@@ -487,9 +313,6 @@
487
313
  - 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).
488
314
  * [#1391](https://github.com/stripe/stripe-ruby/pull/1391) Add Ruby 3.3 to CI test matrix
489
315
 
490
- ## 11.3.0-beta.1 - 2024-04-18
491
- * [#1383](https://github.com/stripe/stripe-ruby/pull/1383) Update generated code for beta
492
-
493
316
  ## 11.2.0 - 2024-04-18
494
317
  * [#1385](https://github.com/stripe/stripe-ruby/pull/1385) Update generated code
495
318
  * Add support for `create_preview` method on resource `Invoice`
@@ -498,10 +321,6 @@
498
321
  * [#1379](https://github.com/stripe/stripe-ruby/pull/1379) Update generated code
499
322
  * Add support for new resource `Entitlements.ActiveEntitlementSummary`
500
323
 
501
- ## 11.1.0-beta.1 - 2024-04-11
502
- * [#1376](https://github.com/stripe/stripe-ruby/pull/1376) Update generated code for beta
503
- * Add support for `retrieve` method on resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
504
-
505
324
  ## 11.0.0 - 2024-04-10
506
325
  * [#1374](https://github.com/stripe/stripe-ruby/pull/1374)
507
326
 
@@ -512,318 +331,144 @@
512
331
  * 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.
513
332
 
514
333
  ## 10.15.0 - 2024-04-09
515
-
516
- - [#1377](https://github.com/stripe/stripe-ruby/pull/1377) Add last_response to StripeObject
517
- - 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.
518
- - [#1372](https://github.com/stripe/stripe-ruby/pull/1372) Update generated code
519
- - Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
520
- - Add support for `list` and `retrieve` methods on resource `ActiveEntitlement`
521
- - Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Feature`
522
- - [#1366](https://github.com/stripe/stripe-ruby/pull/1366) Move executables to `exe` folder
523
-
524
- ## 10.15.0-beta.1 - 2024-04-04
525
-
526
- - [#1373](https://github.com/stripe/stripe-ruby/pull/1373) Update generated code for beta
527
- - Add support for `update` method on resource `Entitlements.Feature`
528
- - [#1370](https://github.com/stripe/stripe-ruby/pull/1370) Update generated code for beta
334
+ * [#1377](https://github.com/stripe/stripe-ruby/pull/1377) Add last_response to StripeObject
335
+ * 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.
336
+ * [#1372](https://github.com/stripe/stripe-ruby/pull/1372) Update generated code
337
+ * Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
338
+ * Add support for `list` and `retrieve` methods on resource `ActiveEntitlement`
339
+ * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Feature`
340
+ * [#1366](https://github.com/stripe/stripe-ruby/pull/1366) Move executables to `exe` folder
529
341
 
530
342
  ## 10.14.0 - 2024-03-28
531
-
532
- - [#1369](https://github.com/stripe/stripe-ruby/pull/1369) Update generated code
533
- - Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
534
- - Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
535
- - Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
536
-
537
- ## 10.14.0-beta.1 - 2024-03-21
538
-
539
- - [#1363](https://github.com/stripe/stripe-ruby/pull/1363) Update generated code for beta
540
- - Add support for new resources `Entitlements.ActiveEntitlementSummary` and `Entitlements.ActiveEntitlement`
541
- - Add support for `list` method on resource `ActiveEntitlement`
343
+ * [#1369](https://github.com/stripe/stripe-ruby/pull/1369) Update generated code
344
+ * Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
345
+ * Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
346
+ * Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
542
347
 
543
348
  ## 10.13.0 - 2024-03-21
544
-
545
- - [#1367](https://github.com/stripe/stripe-ruby/pull/1367) Update generated code
546
- - Add support for new resources `ConfirmationToken` and `Forwarding.Request`
547
- - Add support for `retrieve` method on resource `ConfirmationToken`
548
- - Add support for `create`, `list`, and `retrieve` methods on resource `Request`
549
- - [#1362](https://github.com/stripe/stripe-ruby/pull/1362) Exclude sorbet directory and tapioca script when packing gem
550
-
551
- ## 10.13.0-beta.1 - 2024-03-14
552
-
553
- - [#1360](https://github.com/stripe/stripe-ruby/pull/1360) Update generated code for beta
554
- - Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
555
- - Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
556
- - Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
557
- - Add support for `create` test helper method on resource `ConfirmationToken`
558
- - Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
349
+ * [#1367](https://github.com/stripe/stripe-ruby/pull/1367) Update generated code
350
+ * Add support for new resources `ConfirmationToken` and `Forwarding.Request`
351
+ * Add support for `retrieve` method on resource `ConfirmationToken`
352
+ * Add support for `create`, `list`, and `retrieve` methods on resource `Request`
353
+ * [#1362](https://github.com/stripe/stripe-ruby/pull/1362) Exclude sorbet directory and tapioca script when packing gem
559
354
 
560
355
  ## 10.12.0 - 2024-03-14
561
-
562
- - [#1359](https://github.com/stripe/stripe-ruby/pull/1359) Update generated code
563
- - Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
564
- - Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PersonalizationDesign`
565
- - Add support for `list` and `retrieve` methods on resource `PhysicalBundle`
566
- - [#1354](https://github.com/stripe/stripe-ruby/pull/1354) Refactor after SDK based generation pattern
567
- - [#1347](https://github.com/stripe/stripe-ruby/pull/1347) Reorder methods with lexographical sort
568
- - [#1355](https://github.com/stripe/stripe-ruby/pull/1355) Disable Metrics/ClassLength
569
- - [#1351](https://github.com/stripe/stripe-ruby/pull/1351) Update CHANGELOG.md
570
-
571
- ## 10.12.0-beta.1 - 2024-02-29
572
-
573
- - [#1352](https://github.com/stripe/stripe-ruby/pull/1352) Update generated code for beta
574
- Release specs are identical.
575
- - [#1350](https://github.com/stripe/stripe-ruby/pull/1350) Update generated code for beta
576
-
577
- - [#1341](https://github.com/stripe/stripe-ruby/pull/1341) Update generated code for beta
578
- - Remove support for resource `Entitlements.Event`
579
- - [#1343](https://github.com/stripe/stripe-ruby/pull/1343) Add a helper to add a beta version
356
+ * [#1359](https://github.com/stripe/stripe-ruby/pull/1359) Update generated code
357
+ * Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
358
+ * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PersonalizationDesign`
359
+ * Add support for `list` and `retrieve` methods on resource `PhysicalBundle`
360
+ * [#1354](https://github.com/stripe/stripe-ruby/pull/1354) Refactor after SDK based generation pattern
361
+ * [#1347](https://github.com/stripe/stripe-ruby/pull/1347) Reorder methods with lexographical sort
362
+ * [#1355](https://github.com/stripe/stripe-ruby/pull/1355) Disable Metrics/ClassLength
363
+ * [#1351](https://github.com/stripe/stripe-ruby/pull/1351) Update CHANGELOG.md
580
364
 
581
365
  ## 10.11.0 - 2024-02-29
582
-
583
- - [#1348](https://github.com/stripe/stripe-ruby/pull/1348) Use sorbet gem instead of sorbet-static
584
- - [#1342](https://github.com/stripe/stripe-ruby/pull/1342) Update generated code
585
- - Add `list_refunds` and `retrieve_refund` methods on resource `Charge`.
586
- - [#1345](https://github.com/stripe/stripe-ruby/pull/1345) Update README to use add_beta_version
587
-
588
- ## 10.11.0-beta.1 - 2024-02-22
589
-
590
- - [#1335](https://github.com/stripe/stripe-ruby/pull/1335) Update generated code for beta
366
+ * [#1348](https://github.com/stripe/stripe-ruby/pull/1348) Use sorbet gem instead of sorbet-static
367
+ * [#1342](https://github.com/stripe/stripe-ruby/pull/1342) Update generated code
368
+ * Add `list_refunds` and `retrieve_refund` methods on resource `Charge`.
369
+ * [#1345](https://github.com/stripe/stripe-ruby/pull/1345) Update README to use add_beta_version
591
370
 
592
371
  ## 10.10.0 - 2024-02-22
593
-
594
- - [#1336](https://github.com/stripe/stripe-ruby/pull/1336) Update generated code
372
+ * [#1336](https://github.com/stripe/stripe-ruby/pull/1336) Update generated code
595
373
  - Add `InvoiceLineItem.update` method.
596
- - [#1334](https://github.com/stripe/stripe-ruby/pull/1334) Add TaxIds API
597
- - Add support for `all`, `create`, and `retrieve` methods on resource `TaxId`
598
- - 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.
599
- - 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.
600
-
601
- ## 10.10.0-beta.1 - 2024-02-16
602
-
603
- - [#1332](https://github.com/stripe/stripe-ruby/pull/1332) Update generated code for beta
604
- - Add support for `decrement_authorization` method on resource `PaymentIntent`
605
- - [#1328](https://github.com/stripe/stripe-ruby/pull/1328) Update generated code for beta
374
+ * [#1334](https://github.com/stripe/stripe-ruby/pull/1334) Add TaxIds API
375
+ * Add support for `all`, `create`, and `retrieve` methods on resource `TaxId`
376
+ * 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.
377
+ * 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.
606
378
 
607
379
  ## 10.9.0 - 2024-02-15
608
-
609
- - [#1329](https://github.com/stripe/stripe-ruby/pull/1329) Update generated code
610
- - Fixed bug where `TaxId` resource `delete` method sent request to wrong URL (https://github.com/stripe/stripe-ruby/issues/1333)
611
- - [#1324](https://github.com/stripe/stripe-ruby/pull/1324) Start running Sorbet in CI
612
- - [#1327](https://github.com/stripe/stripe-ruby/pull/1327) Add methods for dynamically referenced constants
613
-
614
- ## 10.9.0-beta.1 - 2024-02-08
615
-
616
- - [#1321](https://github.com/stripe/stripe-ruby/pull/1321) Update generated code for beta
617
- - Release specs are identical.
380
+ * [#1329](https://github.com/stripe/stripe-ruby/pull/1329) Update generated code
381
+ * Fixed bug where `TaxId` resource `delete` method sent request to wrong URL (https://github.com/stripe/stripe-ruby/issues/1333)
382
+ * [#1324](https://github.com/stripe/stripe-ruby/pull/1324) Start running Sorbet in CI
383
+ * [#1327](https://github.com/stripe/stripe-ruby/pull/1327) Add methods for dynamically referenced constants
618
384
 
619
385
  ## 10.8.0 - 2024-02-08
620
-
621
- - [#1322](https://github.com/stripe/stripe-ruby/pull/1322) Update generated code
622
- - [#1323](https://github.com/stripe/stripe-ruby/pull/1323) Extract other CRUDL api operations from mixins
623
- - Extract more CRUDL operations, namely `create`, `delete`, `update`, and `list` into the resources. These methods will no longer rely on the APIOperation mixins.
624
- - [#1314](https://github.com/stripe/stripe-ruby/pull/1314) Update mocha gem to 1.16
625
-
626
- ## 10.8.0-beta.1 - 2024-02-01
627
-
628
- - [#1318](https://github.com/stripe/stripe-ruby/pull/1318) Update generated code for beta
629
- - Add support for new resources `Entitlements.Event` and `Entitlements.Feature`
630
- - Add support for `create` method on resource `Event`
631
- - Add support for `create` and `list` methods on resource `Feature`
386
+ * [#1322](https://github.com/stripe/stripe-ruby/pull/1322) Update generated code
387
+ * [#1323](https://github.com/stripe/stripe-ruby/pull/1323) Extract other CRUDL api operations from mixins
388
+ * Extract more CRUDL operations, namely `create`, `delete`, `update`, and `list` into the resources. These methods will no longer rely on the APIOperation mixins.
389
+ * [#1314](https://github.com/stripe/stripe-ruby/pull/1314) Update mocha gem to 1.16
632
390
 
633
391
  ## 10.7.1 - 2024-02-05
634
-
635
- - [#1320](https://github.com/stripe/stripe-ruby/pull/1320) Remove spurious \_search deprecation messages (https://github.com/stripe/stripe-ruby/issues/1319)
392
+ * [#1320](https://github.com/stripe/stripe-ruby/pull/1320) Remove spurious _search deprecation messages (https://github.com/stripe/stripe-ruby/issues/1319)
636
393
 
637
394
  ## 10.7.0 - 2024-02-01
638
-
639
- - [#1317](https://github.com/stripe/stripe-ruby/pull/1317) Remove list method in child resources
640
- - Removes list method mixin from child resources, as these methods always return `InvalidRequestError` and never succeed
641
- - [#1311](https://github.com/stripe/stripe-ruby/pull/1311) Use the deprecation gem in search and clean up usage of the gem
642
-
643
- ## 10.7.0-beta.3 - 2024-01-25
644
-
645
- - [#1313](https://github.com/stripe/stripe-ruby/pull/1313) Update generated code for beta
646
- - Add support for `create_preview` method on resource `Invoice`
647
- - [#1307](https://github.com/stripe/stripe-ruby/pull/1307) Beta: report raw request usage
648
-
649
- ## 10.7.0-beta.2 - 2024-01-19
650
-
651
- - [#1307](https://github.com/stripe/stripe-ruby/pull/1307) Beta: report raw request usage
652
-
653
- ## 10.7.0-beta.1 - 2024-01-12
654
-
655
- - [#1309](https://github.com/stripe/stripe-ruby/pull/1309) Update generated code for beta
656
- - [#1305](https://github.com/stripe/stripe-ruby/pull/1305) Update generated code for beta
395
+ * [#1317](https://github.com/stripe/stripe-ruby/pull/1317) Remove list method in child resources
396
+ * Removes list method mixin from child resources, as these methods always return `InvalidRequestError` and never succeed
397
+ * [#1311](https://github.com/stripe/stripe-ruby/pull/1311) Use the deprecation gem in search and clean up usage of the gem
657
398
 
658
399
  ## 10.6.0 - 2024-01-12
659
-
660
- - [#1310](https://github.com/stripe/stripe-ruby/pull/1310) Update generated code
661
- - Add support for new resource `CustomerSession`
662
- - Add support for `create` method on resource `CustomerSession`
663
-
664
- ## 10.6.0-beta.1 - 2024-01-04
665
-
666
- - [#1302](https://github.com/stripe/stripe-ruby/pull/1302) Update generated code for beta
667
- - Updated stable APIs to the latest version
400
+ * [#1310](https://github.com/stripe/stripe-ruby/pull/1310) Update generated code
401
+ * Add support for new resource `CustomerSession`
402
+ * Add support for `create` method on resource `CustomerSession`
668
403
 
669
404
  ## 10.5.0 - 2024-01-04
670
-
671
- - [#1306](https://github.com/stripe/stripe-ruby/pull/1306) Update generated code
672
- - Add support for `retrieve` method on resource `Tax.Registration`
673
-
674
- ## 10.5.0-beta.1 - 2023-12-22
675
-
676
- - [#1302](https://github.com/stripe/stripe-ruby/pull/1302) Update generated code for beta
405
+ * [#1306](https://github.com/stripe/stripe-ruby/pull/1306) Update generated code
406
+ * Add support for `retrieve` method on resource `Tax.Registration`
677
407
 
678
408
  ## 10.4.0 - 2023-12-22
679
-
680
- - [#1303](https://github.com/stripe/stripe-ruby/pull/1303) Update generated code
681
- - Add support for new resource `FinancialConnections.Transaction`
682
- - Add support for `list` and `retrieve` methods on resource `Transaction`
683
- - Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
684
- - [#1304](https://github.com/stripe/stripe-ruby/pull/1304) Add support for updatable singleton resources
685
-
686
- ## 10.4.0-beta.1 - 2023-12-14
687
-
688
- Updated stable APIs to the latest version
409
+ * [#1303](https://github.com/stripe/stripe-ruby/pull/1303) Update generated code
410
+ * Add support for new resource `FinancialConnections.Transaction`
411
+ * Add support for `list` and `retrieve` methods on resource `Transaction`
412
+ * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
413
+ * [#1304](https://github.com/stripe/stripe-ruby/pull/1304) Add support for updatable singleton resources
689
414
 
690
415
  ## 10.3.0 - 2023-12-14
691
-
692
- - [#1294](https://github.com/stripe/stripe-ruby/pull/1294) Support sending parameters inside singleton retrieve
693
-
694
- ## 10.3.0-beta.1 - 2023-11-30
695
-
696
- - [#1298](https://github.com/stripe/stripe-ruby/pull/1298) Update generated code for beta
697
- - [#1296](https://github.com/stripe/stripe-ruby/pull/1296) Merge master into beta
416
+ * [#1294](https://github.com/stripe/stripe-ruby/pull/1294) Support sending parameters inside singleton retrieve
698
417
 
699
418
  ## 10.2.0 - 2023-11-30
419
+ * [#1292](https://github.com/stripe/stripe-ruby/pull/1292) Update generated code
420
+ * Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
421
+ * Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resource `Order`
422
+ * Add support for `list` and `retrieve` methods on resources `Product` and `Supplier`
423
+ * [#1295](https://github.com/stripe/stripe-ruby/pull/1295) Upgrade rubocop
424
+ * [#1291](https://github.com/stripe/stripe-ruby/pull/1291) Update generated code
700
425
 
701
- - [#1292](https://github.com/stripe/stripe-ruby/pull/1292) Update generated code
702
- - Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
703
- - Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resource `Order`
704
- - Add support for `list` and `retrieve` methods on resources `Product` and `Supplier`
705
- - [#1295](https://github.com/stripe/stripe-ruby/pull/1295) Upgrade rubocop
706
- - [#1291](https://github.com/stripe/stripe-ruby/pull/1291) Update generated code
707
-
708
- - [#1290](https://github.com/stripe/stripe-ruby/pull/1290) Update generated code
709
-
710
- - [#1288](https://github.com/stripe/stripe-ruby/pull/1288) Update generated code
426
+ * [#1290](https://github.com/stripe/stripe-ruby/pull/1290) Update generated code
711
427
 
712
- ## 10.2.0-beta.1 - 2023-11-02
428
+ * [#1288](https://github.com/stripe/stripe-ruby/pull/1288) Update generated code
713
429
 
714
- - [#1287](https://github.com/stripe/stripe-ruby/pull/1287) Update generated code for beta
715
- - Add support for `attach_payment_intent` method on resource `Invoice`
716
- - [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
717
430
 
718
431
  ## 10.1.0 - 2023-11-02
719
-
720
- - [#1286](https://github.com/stripe/stripe-ruby/pull/1286) Update generated code
721
- - Add support for new resource `Tax.Registration`
722
- - Add support for `create`, `list`, and `update` methods on resource `Registration`
723
-
724
- ## 10.1.0-beta.2 - 2023-10-26
725
-
726
- - [#1285](https://github.com/stripe/stripe-ruby/pull/1285) Update generated code for beta
727
- - Add support for new resource `Margin`
728
- - Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Margin`
729
-
730
- ## 10.1.0-beta.1 - 2023-10-17
731
-
732
- - [#1284](https://github.com/stripe/stripe-ruby/pull/1284) Update generated code for beta
733
- - Update pinned API version to `2023-10-16`
734
- - [#1282](https://github.com/stripe/stripe-ruby/pull/1282) Update generated code for beta
432
+ * [#1286](https://github.com/stripe/stripe-ruby/pull/1286) Update generated code
433
+ * Add support for new resource `Tax.Registration`
434
+ * Add support for `create`, `list`, and `update` methods on resource `Registration`
735
435
 
736
436
  ## 10.0.0 - 2023-10-16
737
-
738
- - This release changes the pinned API version to `2023-10-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-10-16) and carefully review the API changes before upgrading `stripe-ruby`.
739
- - [#1283](https://github.com/stripe/stripe-ruby/pull/1283) Update generated code
437
+ * This release changes the pinned API version to `2023-10-16`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2023-10-16) and carefully review the API changes before upgrading `stripe-ruby`.
438
+ * [#1283](https://github.com/stripe/stripe-ruby/pull/1283) Update generated code
740
439
  - Updated pinned API version
741
- - [#1281](https://github.com/stripe/stripe-ruby/pull/1281) Update generated code
742
- - Documentation only changes
743
-
744
- ## 9.5.0-beta.2 - 2023-10-12
745
-
746
- - [#1280](https://github.com/stripe/stripe-ruby/pull/1280) Update generated code for beta
747
- - Add support for new resources `AccountNotice` and `Issuing.CreditUnderwritingRecord`
748
- - Add support for `list`, `retrieve`, and `update` methods on resource `AccountNotice`
749
- - Add support for `correct`, `create_from_application`, `create_from_proactive_review`, `list`, `report_decision`, and `retrieve` methods on resource `CreditUnderwritingRecord`
750
-
751
- ## 9.5.0-beta.1 - 2023-10-05
752
-
753
- - [#1278](https://github.com/stripe/stripe-ruby/pull/1278) Update generated code for beta
754
- - Add support for `mark_draft` and `mark_stale` methods on resource `Quote`
755
- - Remove support for `draft_quote` and `mark_stale_quote` methods on resource `Quote`
756
- - Rename `preview_invoice_lines` to `list_preview_invoice_lines` on resource `Quote`
440
+ * [#1281](https://github.com/stripe/stripe-ruby/pull/1281) Update generated code
441
+ * Documentation only changes
757
442
 
758
443
  ## 9.4.0 - 2023-10-05
759
-
760
- - [#1277](https://github.com/stripe/stripe-ruby/pull/1277) Update generated code
761
- - Add support for new resources `Issuing.Token`
762
- - Add support for `list`, `retrieve`, and `update` methods on resource `Token`
763
-
764
- ## 9.4.0-beta.3 - 2023-09-28
765
-
766
- - [#1276](https://github.com/stripe/stripe-ruby/pull/1276) Update generated code for beta
767
- - Rename resources `Issuing.CardDesign` and `Issuing.CardBundle` to `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
768
-
769
- ## 9.4.0-beta.2 - 2023-09-21
770
-
771
- - [#1273](https://github.com/stripe/stripe-ruby/pull/1273) Update generated code for beta
772
-
773
- ## 9.4.0-beta.1 - 2023-09-14
774
-
775
- - Updated stable APIs to the latest version
444
+ * [#1277](https://github.com/stripe/stripe-ruby/pull/1277) Update generated code
445
+ * Add support for new resources `Issuing.Token`
446
+ * Add support for `list`, `retrieve`, and `update` methods on resource `Token`
776
447
 
777
448
  ## 9.3.0 - 2023-09-14
778
-
779
- - [#1272](https://github.com/stripe/stripe-ruby/pull/1272) Update generated code
780
- - Add support for new resource `PaymentMethodConfiguration`
781
- - Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
782
- - [#1271](https://github.com/stripe/stripe-ruby/pull/1271) Update generated code
783
- - Add support for `capture`, `create`, `expire`, `increment`, and `reverse` test helper methods on resource `Issuing.Authorization`
784
- - Add support for `create_force_capture`, `create_unlinked_refund`, and `refund` test helper methods on resource `Issuing.Transaction`
785
-
786
- ## 9.3.0-beta.1 - 2023-09-07
787
-
788
- - [#1269](https://github.com/stripe/stripe-ruby/pull/1269) Update generated code for beta
789
- - Release specs are identical.
790
- - [#1268](https://github.com/stripe/stripe-ruby/pull/1268) Update generated code for beta
791
- - Remove support for `submit_card` test helper method on resource `Issuing.Card`
792
- - [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
793
- - Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
794
- - [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
795
- - Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
796
- - [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
797
-
798
- - [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
799
-
800
- - [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
801
- - Add support for `submit_card` test helper method on resource `Issuing.Card`
802
- - [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
449
+ * [#1272](https://github.com/stripe/stripe-ruby/pull/1272) Update generated code
450
+ * Add support for new resource `PaymentMethodConfiguration`
451
+ * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
452
+ * [#1271](https://github.com/stripe/stripe-ruby/pull/1271) Update generated code
453
+ * Add support for `capture`, `create`, `expire`, `increment`, and `reverse` test helper methods on resource `Issuing.Authorization`
454
+ * Add support for `create_force_capture`, `create_unlinked_refund`, and `refund` test helper methods on resource `Issuing.Transaction`
803
455
 
804
456
  ## 9.2.0 - 2023-09-07
805
-
806
- - [#1267](https://github.com/stripe/stripe-ruby/pull/1267) Update generated code
807
- - Add support for new resource `PaymentMethodDomain`
808
- - Add support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `PaymentMethodDomain`
809
-
810
- ## 9.2.0-beta.1 - 2023-08-31
811
-
812
- - [#1265](https://github.com/stripe/stripe-ruby/pull/1265) Update generated code for beta
813
- - Rename `Quote.preview_invoices` to `QuotePreviewInvoice.list` and `Quote.preview_schedules` to `QuotePreviewSchedules.list`
457
+ * [#1267](https://github.com/stripe/stripe-ruby/pull/1267) Update generated code
458
+ * Add support for new resource `PaymentMethodDomain`
459
+ * Add support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `PaymentMethodDomain`
814
460
 
815
461
  ## 9.1.0 - 2023-08-31
462
+ * [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
463
+ * Add support for new resource `AccountSession`
464
+ * Add support for `create` method on resource `AccountSession`
465
+ * [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
816
466
 
817
- - [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
818
- - Add support for new resource `AccountSession`
819
- - Add support for `create` method on resource `AccountSession`
820
- - [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
821
467
 
822
468
  ## 9.0.0 - 2023-08-16
823
-
824
469
  **⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️**
825
470
 
826
- - [#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
471
+ * [#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
827
472
 
828
473
  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).
829
474
 
@@ -834,7 +479,6 @@ Updated stable APIs to the latest version
834
479
  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.
835
480
 
836
481
  You can read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more detailed instructions.
837
-
838
482
  2. **(Alternative option) Specify a version other than `2023-08-16` when initializing `stripe-ruby`.**
839
483
 
840
484
  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:
@@ -849,294 +493,106 @@ Updated stable APIs to the latest version
849
493
 
850
494
  Read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more details.
851
495
 
852
- Going forward, each major release of this library will be _pinned_ by default to the latest Stripe API Version at the time of release.
496
+ Going forward, each major release of this library will be *pinned* by default to the latest Stripe API Version at the time of release.
853
497
 
854
498
  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.
855
499
 
856
- ## 9.0.0-beta.1 - 2023-08-24
857
-
858
- - [#1264](https://github.com/stripe/stripe-ruby/pull/1264) Update generated code for beta
859
- - Add support for new resources `QuotePreviewInvoice` and `QuotePreviewSchedule`
860
- - [#1259](https://github.com/stripe/stripe-ruby/pull/1259) Update generated code for beta
861
-
862
- ## 8.8.0-beta.1 - 2023-08-10
863
-
864
- - [#1257](https://github.com/stripe/stripe-ruby/pull/1257) Update generated code for beta
865
- - Updated stable APIs to the latest version
866
-
867
500
  ## 8.7.0 - 2023-08-10
868
-
869
- - [#1256](https://github.com/stripe/stripe-ruby/pull/1256) Update generated code
501
+ * [#1256](https://github.com/stripe/stripe-ruby/pull/1256) Update generated code
870
502
  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.
871
503
 
872
- ## 8.7.0-beta.3 - 2023-08-03
873
-
874
- - [#1254](https://github.com/stripe/stripe-ruby/pull/1254) Update generated code for beta
875
- - Add support for `submit_card` test helper method on resource `Issuing.Card`
876
- - [#1252](https://github.com/stripe/stripe-ruby/pull/1252) Remove developer_message support
877
-
878
- ## 8.7.0-beta.2 - 2023-07-28
879
-
880
- - [#1251](https://github.com/stripe/stripe-ruby/pull/1251) Update generated code for beta
881
- - Add support for new resource `Tax.Form`
882
- - Add support for `list`, `pdf`, and `retrieve` methods on resource `Form`
883
- - [#1249](https://github.com/stripe/stripe-ruby/pull/1249) Update generated code for beta
884
- - [#1246](https://github.com/stripe/stripe-ruby/pull/1246) Update generated code for beta
885
-
886
- ## 8.7.0-beta.1 - 2023-07-13
887
-
888
- - [#1245](https://github.com/stripe/stripe-ruby/pull/1245) Update generated code for beta
889
- Release specs are identical.
890
- - [#1243](https://github.com/stripe/stripe-ruby/pull/1243) Update generated code for beta
891
- - Add support for new resource `PaymentMethodConfiguration`
892
- - Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
893
- - [#1239](https://github.com/stripe/stripe-ruby/pull/1239) Update generated code for beta
894
-
895
504
  ## 8.6.0 - 2023-07-13
505
+ * [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
506
+ * Add support for new resource `Tax.Settings`
507
+ * Add support for `retrieve` and `update` methods on resource `Settings`
508
+ * [#1241](https://github.com/stripe/stripe-ruby/pull/1241) Update generated code
896
509
 
897
- - [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
898
- - Add support for new resource `Tax.Settings`
899
- - Add support for `retrieve` and `update` methods on resource `Settings`
900
- - [#1241](https://github.com/stripe/stripe-ruby/pull/1241) Update generated code
510
+ * [#1209](https://github.com/stripe/stripe-ruby/pull/1209) Update shoulda-context version
511
+ * [#1235](https://github.com/stripe/stripe-ruby/pull/1235) Allow "error" string as log level
512
+ * [#1238](https://github.com/stripe/stripe-ruby/pull/1238) Update log level error message to include `error`
513
+ * [#1231](https://github.com/stripe/stripe-ruby/pull/1231) fix: variable typo in README for instrumentation
514
+ * [#1234](https://github.com/stripe/stripe-ruby/pull/1234) Update generated code
901
515
 
902
- - [#1209](https://github.com/stripe/stripe-ruby/pull/1209) Update shoulda-context version
903
- - [#1235](https://github.com/stripe/stripe-ruby/pull/1235) Allow "error" string as log level
904
- - [#1238](https://github.com/stripe/stripe-ruby/pull/1238) Update log level error message to include `error`
905
- - [#1231](https://github.com/stripe/stripe-ruby/pull/1231) fix: variable typo in README for instrumentation
906
- - [#1234](https://github.com/stripe/stripe-ruby/pull/1234) Update generated code
516
+ * [#1230](https://github.com/stripe/stripe-ruby/pull/1230) Update generated code
517
+ * Release specs are identical.
518
+ * [#1226](https://github.com/stripe/stripe-ruby/pull/1226) Update generated code
907
519
 
908
- - [#1230](https://github.com/stripe/stripe-ruby/pull/1230) Update generated code
909
- - Release specs are identical.
910
- - [#1226](https://github.com/stripe/stripe-ruby/pull/1226) Update generated code
520
+ * [#1223](https://github.com/stripe/stripe-ruby/pull/1223) Update generated code
911
521
 
912
- - [#1223](https://github.com/stripe/stripe-ruby/pull/1223) Update generated code
913
-
914
- - [#1225](https://github.com/stripe/stripe-ruby/pull/1225) Downgrade jaro_winkler
915
- - [#1219](https://github.com/stripe/stripe-ruby/pull/1219) Update generated code
522
+ * [#1225](https://github.com/stripe/stripe-ruby/pull/1225) Downgrade jaro_winkler
523
+ * [#1219](https://github.com/stripe/stripe-ruby/pull/1219) Update generated code
916
524
 
917
525
  Documentation updates.
526
+ * [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
918
527
 
919
- - [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
920
-
921
- - [#1208](https://github.com/stripe/stripe-ruby/pull/1208) Update generated code
922
-
923
- - [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
924
-
925
- ## 8.6.0-beta.6 - 2023-06-22
926
-
927
- - [#1237](https://github.com/stripe/stripe-ruby/pull/1237) Update generated code for beta
928
- - Add support for new resource `CustomerSession`
929
- - Add support for `create` method on resource `CustomerSession`
930
- - [#1233](https://github.com/stripe/stripe-ruby/pull/1233) Update generated code for beta
931
- - [#1229](https://github.com/stripe/stripe-ruby/pull/1229) Update generated code for beta
932
-
933
- ## 8.6.0-beta.5 - 2023-06-01
528
+ * [#1208](https://github.com/stripe/stripe-ruby/pull/1208) Update generated code
934
529
 
935
- - [#1227](https://github.com/stripe/stripe-ruby/pull/1227) Update generated code for beta
936
- - [#1228](https://github.com/stripe/stripe-ruby/pull/1228) Document raw_request
937
- - [#1222](https://github.com/stripe/stripe-ruby/pull/1222) Update generated code for beta
938
- - [#1224](https://github.com/stripe/stripe-ruby/pull/1224) Handle developer message in preview error responses
530
+ * [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
939
531
 
940
- ## 8.6.0-beta.4 - 2023-05-19
941
-
942
- - [#1220](https://github.com/stripe/stripe-ruby/pull/1220) Update generated code for beta
943
- - Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
944
- - [#1217](https://github.com/stripe/stripe-ruby/pull/1217) Add raw_request
945
- - [#1216](https://github.com/stripe/stripe-ruby/pull/1216) Update generated code for beta
946
- - [#1214](https://github.com/stripe/stripe-ruby/pull/1214) Update generated code for beta
947
-
948
- ## 8.6.0-beta.3 - 2023-04-17
949
-
950
- - [#1211](https://github.com/stripe/stripe-ruby/pull/1211) Update generated code for beta
951
- - [#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
952
-
953
- ## 8.6.0-beta.2 - 2023-04-13
954
-
955
- - [#1206](https://github.com/stripe/stripe-ruby/pull/1206) Update generated code for beta
956
- - Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
957
- - [#1205](https://github.com/stripe/stripe-ruby/pull/1205) Update generated code for beta
958
-
959
- ## 8.6.0-beta.1 - 2023-03-30
960
-
961
- - [#1202](https://github.com/stripe/stripe-ruby/pull/1202) Update generated code for beta
962
532
 
963
533
  ## 8.5.0 - 2023-03-30
964
-
965
- - [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
966
- - Remove support for `create` method on resource `Tax.Transaction`
967
- - 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.
968
- - [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
969
-
970
- ## 8.5.0-beta.1 - 2023-03-23
971
-
972
- - [#1194](https://github.com/stripe/stripe-ruby/pull/1194) Update generated code for beta (new)
973
- - Add support for new resources `Tax.CalculationLineItem` and `Tax.TransactionLineItem`
974
- - Add support for `collect_inputs` method on resource `Terminal.Reader`
534
+ * [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
535
+ * Remove support for `create` method on resource `Tax.Transaction`
536
+ * 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.
537
+ * [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
975
538
 
976
539
  ## 8.4.0 - 2023-03-23
977
-
978
- - [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
979
- - Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
980
- - Add support for `create` and `list_line_items` methods on resource `Calculation`
981
- - Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
982
- - [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
983
-
984
- ## 8.4.0-beta.4 - 2023-03-16
985
-
986
- - [#1189](https://github.com/stripe/stripe-ruby/pull/1189) Update generated code for beta (new)
987
- - Add support for `create_from_calculation` method on resource `Tax.Transaction`
988
- - [#1188](https://github.com/stripe/stripe-ruby/pull/1188) Update generated code for beta (new)
989
- - Remove support for resources `Capital.FinancingOffer` and `Capital.FinancingSummary`
990
- - Remove support for `list`, `mark_delivered`, and `retrieve` methods on resource `FinancingOffer`
991
- - Remove support for `retrieve` method on resource `FinancingSummary`
992
- - [#1187](https://github.com/stripe/stripe-ruby/pull/1187) Merge upstream master
993
-
994
- ## 8.4.0-beta.3 - 2023-03-09
995
-
996
- - [#1184](https://github.com/stripe/stripe-ruby/pull/1184) API Updates for beta branch
997
- - Updated stable APIs to the latest version
998
- - Remove support for `list_transactions` method on resource `Tax.Transaction`
999
-
1000
- ## 8.4.0-beta.2 - 2023-03-03
1001
-
1002
- - [#1183](https://github.com/stripe/stripe-ruby/pull/1183) API Updates for beta branch
1003
- - Updated stable APIs to the latest version
1004
- - Add support for new resources `Issuing.CardBundle` and `Issuing.CardDesign`
1005
- - Add support for `list` and `retrieve` methods on resource `CardBundle`
1006
- - Add support for `list`, `retrieve`, and `update` methods on resource `CardDesign`
1007
-
1008
- ## 8.4.0-beta.1 - 2023-02-23
1009
-
1010
- - [#1182](https://github.com/stripe/stripe-ruby/pull/1182) API Updates for beta branch
1011
- - Updated stable APIs to the latest version
540
+ * [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
541
+ * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
542
+ * Add support for `create` and `list_line_items` methods on resource `Calculation`
543
+ * Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
544
+ * [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
1012
545
 
1013
546
  ## 8.3.0 - 2023-02-16
1014
-
1015
- - [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
1016
- - Add support for `refund_payment` method on resource `Terminal.Reader`
1017
-
1018
- ## 8.3.0-beta.1 - 2023-02-02
1019
-
1020
- - [#1174](https://github.com/stripe/stripe-ruby/pull/1174) API Updates for beta branch
1021
- - Updated stable APIs to the latest version
1022
- - Add support for new resource `FinancialConnections.Transaction`
1023
- - Add support for `list` method on resource `Transaction`
547
+ * [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
548
+ * Add support for `refund_payment` method on resource `Terminal.Reader`
1024
549
 
1025
550
  ## 8.2.0 - 2023-02-02
1026
-
1027
- - [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
1028
- - Add support for `resume` method on resource `Subscription`
1029
- - [#1171](https://github.com/stripe/stripe-ruby/pull/1171) Remove unused `partial` param from `initialize_from`
1030
-
1031
- ## 8.2.0-beta.3 - 2023-01-26
1032
-
1033
- - [#1172](https://github.com/stripe/stripe-ruby/pull/1172) API Updates for beta branch
1034
- - Updated stable APIs to the latest version
1035
- - Add support for `list_transactions` method on resource `Tax.Transaction`
1036
-
1037
- ## 8.2.0-beta.2 - 2023-01-19
1038
-
1039
- - [#1170](https://github.com/stripe/stripe-ruby/pull/1170) API Updates for beta branch
1040
- - Updated stable APIs to the latest version
1041
- - Add support for `Tax.Settings` resource.
1042
-
1043
- ## 8.2.0-beta.1 - 2023-01-12
1044
-
1045
- - [#1167](https://github.com/stripe/stripe-ruby/pull/1167) API Updates for beta branch
1046
- - Updated stable APIs to the latest version
1047
- - Change `quote.draft_quote` implementation to from calling `POST /v1/quotes/{quote}/draft` to `POST /v1/quotes/{quote}/mark_draft`
1048
- - Add support for `Tax::Register` resource
551
+ * [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
552
+ * Add support for `resume` method on resource `Subscription`
553
+ * [#1171](https://github.com/stripe/stripe-ruby/pull/1171) Remove unused `partial` param from `initialize_from`
1049
554
 
1050
555
  ## 8.1.0 - 2023-01-12
1051
-
1052
- - [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
1053
-
1054
- ## 8.1.0-beta.4 - 2023-01-05
1055
-
1056
- - [#1164](https://github.com/stripe/stripe-ruby/pull/1164) API Updates for beta branch
1057
- - Updated stable APIs to the latest version
1058
- - Add support for `mark_stale_quote` method on resource `Quote`
1059
-
1060
- ## 8.1.0-beta.3 - 2022-12-22
1061
-
1062
- - [#1158](https://github.com/stripe/stripe-ruby/pull/1158) API Updates for beta branch
1063
- - Updated stable APIs to the latest version
1064
- - Move `TaxCalculation` and `TaxTransaction` to `Tax::Calculation` and `Tax::Transaction`.
1065
-
1066
- ## 8.1.0-beta.2 - 2022-12-15
1067
-
1068
- - [#1156](https://github.com/stripe/stripe-ruby/pull/1156) API Updates for beta branch
1069
- - Updated stable APIs to the latest version
1070
- - Add support for new resources `TaxCalculation`, and `TaxTransaction`
1071
- - Add support for `create` and `list_line_items` methods on resource `TaxCalculation`
1072
- - Add support for `create_reversal`, `create`, and `retrieve` methods on resource `TaxTransaction`
1073
- - [#1155](https://github.com/stripe/stripe-ruby/pull/1155) API Updates for beta branch
1074
- - Updated stable APIs to the latest version
1075
- - Add support for new resource `QuoteLine`.
1076
-
1077
- ## 8.1.0-beta.1 - 2022-12-08
1078
-
1079
- - [#1153](https://github.com/stripe/stripe-ruby/pull/1153) API Updates for beta branch
1080
- - Updated stable APIs to the latest version
1081
- - [#1146](https://github.com/stripe/stripe-ruby/pull/1146) API Updates for beta branch
1082
- - Updated stable APIs to the latest version
556
+ * [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
1083
557
 
1084
558
  ## 8.0.0 - 2022-11-16
1085
-
1086
- - [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
559
+ * [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
1087
560
 
1088
561
  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://stripe.com/docs/upgrades#2022-11-15.
1089
562
 
1090
563
  "⚠️" symbol highlights breaking changes.
1091
564
 
1092
- ## 7.2.0-beta.5 - 2022-11-02
1093
-
1094
- - [#1139](https://github.com/stripe/stripe-ruby/pull/1139) API Updates for beta branch
1095
- - Updated beta APIs to the latest stable version
1096
- - [#1135](https://github.com/stripe/stripe-ruby/pull/1135) API Updates for beta branch
1097
- - Updated stable APIs to the latest version
1098
-
1099
- ## 7.2.0-beta.4 - 2022-10-07
1100
-
1101
- - [#999](https://github.com/stripe/stripe-ruby/pull/999) DESCRIBE CHANGES HERE (try to use the same style, tense, etc. as the other entries)
565
+ ### Deprecated
566
+ - The `save` method is deprecated. Prefer the static `update` method that doesn't require retrieval of the resource to update it.
567
+ ``` ruby
568
+ # before
569
+ refund = Stripe::Refund.retrieve("re_123")
570
+ refund.description = "Refund description"
571
+ refund.save
1102
572
 
1103
- ## 7.2.0-beta.3 - 2022-09-26
573
+ # after
574
+ Stripe::Refund.update("re_123", description: "Refund description")
575
+ ```
1104
576
 
1105
- - [#1129](https://github.com/stripe/stripe-ruby/pull/1129) API Updates for beta branch
1106
- - Updated stable APIs to the latest version
1107
- - Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
577
+ ### ⚠️ Removed
578
+ - Removed deprecated `Sku` resource.
579
+ - Removed deprecated `Orders` resource.
580
+ - Removed deprecated `delete` method on `Subscription` resource. Please use `cancel` method instead.
581
+ ```ruby
582
+ # before
583
+ Stripe::Subscription::delete("sub_12345")
1108
584
 
1109
- ## 7.2.0-beta.2 - 2022-08-26
585
+ # after
586
+ Stripe::Subscription::cancel("sub_12345")
587
+ ```
1110
588
 
1111
- - [#1127](https://github.com/stripe/stripe-ruby/pull/1127) API Updates for beta branch
1112
- - Updated stable APIs to the latest version
1113
- - Add support for the beta [Gift Card API](https://stripe.com/docs/gift-cards).
1114
-
1115
- ## 7.2.0-beta.1 - 2022-08-23
1116
-
1117
- - [#1122](https://github.com/stripe/stripe-ruby/pull/1122) API Updates for beta branch
1118
- - Updated stable APIs to the latest version
1119
- - `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)
1120
589
 
1121
590
  ## 7.1.0 - 2022-08-19
1122
-
1123
- - [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
1124
- - Add support for new resource `CustomerCashBalanceTransaction`
1125
- - [#1118](https://github.com/stripe/stripe-ruby/pull/1118) Update AllowedChars in rubocop config
1126
- - [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
1127
- - [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
1128
-
1129
- ## 7.1.0-beta.2 - 2022-08-11
1130
-
1131
- - [#1113](https://github.com/stripe/stripe-ruby/pull/1113) API Updates for beta branch
1132
- - Updated stable APIs to the latest version
1133
- - Add `refund_payment` method to Terminal resource
1134
-
1135
- ## 7.1.0-beta.1 - 2022-08-03
1136
-
1137
- - [#1107](https://github.com/stripe/stripe-ruby/pull/1107) API Updates for beta branch
1138
- - Updated stable APIs to the latest version
1139
- - Added the `Order` resource support
591
+ * [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
592
+ * Add support for new resource `CustomerCashBalanceTransaction`
593
+ * [#1118](https://github.com/stripe/stripe-ruby/pull/1118) Update AllowedChars in rubocop config
594
+ * [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
595
+ * [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
1140
596
 
1141
597
  ## 7.0.0 - 2022-08-02
1142
598
 
@@ -1144,1394 +600,1100 @@ Breaking changes that arose during code generation of the library that we postpo
1144
600
 
1145
601
  "⚠️" symbol highlights breaking changes.
1146
602
 
1147
- - [#1106](https://github.com/stripe/stripe-ruby/pull/1106) API Updates
1148
- - [#1092](https://github.com/stripe/stripe-ruby/pull/1092) API Updates
1149
- - [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
1150
- - [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
1151
-
1152
- ## 6.6.0-beta.1 - 2022-07-22
1153
-
1154
- - [#1100](https://github.com/stripe/stripe-ruby/pull/1100) API Updates for beta branch
1155
- - Updated stable APIs to the latest version
1156
- - Add `QuotePhase` resource
1157
- - [#1097](https://github.com/stripe/stripe-ruby/pull/1097) API Updates for beta branch
1158
- - Updated stable APIs to the latest version
1159
- - Add `SubscriptionSchedule.amend` method.
1160
- - [#1093](https://github.com/stripe/stripe-ruby/pull/1093) API Updates for beta branch
1161
- - Include `server_side_confirmation_beta=v1` beta
1162
- - Add `secretKeyConfirmation` to `PaymentIntent`
1163
- - [#1085](https://github.com/stripe/stripe-ruby/pull/1085) API Updates for beta branch
1164
- - Updated stable APIs to the latest version
1165
- - [#1075](https://github.com/stripe/stripe-ruby/pull/1075) Use the generated API version
603
+ * [#1106](https://github.com/stripe/stripe-ruby/pull/1106) API Updates
604
+ * [#1092](https://github.com/stripe/stripe-ruby/pull/1092) API Updates
605
+ * [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
606
+ * [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
1166
607
 
1167
- ## 6.5.0 - 2022-06-29
608
+ ### ⚠️ Changed
609
+ * `retrieve_cash_balance` and `update_cash_balance` methods on `Customer` resource no longer requires the second argument to always be `nil`. The methods now now take in `customer_id`, `params`, and `opts` parameters.
610
+ * Update default bundle of CA certificates to April 26, 2022.
1168
611
 
1169
- - [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
1170
- - Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
1171
- - [#1076](https://github.com/stripe/stripe-ruby/pull/1076) fix: Update logging to coerce ASCII-8BIT into UTF-8.
612
+ ### Deprecated
613
+ * Deprecate `delete` method on `Subscription` resource. Please use `cancel` method instead.
1172
614
 
1173
- ## 6.4.0 - 2022-06-17
615
+ ### ⚠️ Removed
616
+ * Remove `details` method from `Issuing.Card` resource. The method was not supported.
617
+ * Remove `Issuing.CardDetails` resource. Read more at https://stripe.com/docs/issuing/cards/virtual.
618
+ * Remove `create` method from `ReportType` resource. The method was not supported.
619
+ * Remove `usage_record_summaries` method from `SubscriptionItem` resource. Please use `list_usage_record_summaries` method instead.
620
+ * Remove `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Issuing::CardDetails`, `Recipient`, ` RecipientTransfer`, and `ThreeDSecure` resources. The resources were deprecated or no longer in use.
621
+ * Remove ability to list `Card` resource for a `Recipient`.
622
+ * Remove `cancel` method from `Transfer` resource. The method was deprecated.
1174
623
 
1175
- - [#1073](https://github.com/stripe/stripe-ruby/pull/1073) API Updates
1176
- - Add support for `fund_cash_balance` test helper method on resource `Customer`
1177
- - [#1074](https://github.com/stripe/stripe-ruby/pull/1074) Support updating pre-release versions
1178
- - [#1072](https://github.com/stripe/stripe-ruby/pull/1072) Trigger workflows on beta branches
1179
- - [#1071](https://github.com/stripe/stripe-ruby/pull/1071) Use request_stripe_object for all requests
1180
- - [#1070](https://github.com/stripe/stripe-ruby/pull/1070) API Updates
624
+ ## 6.5.0 - 2022-06-29
625
+ * [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
626
+ * Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
627
+ * [#1076](https://github.com/stripe/stripe-ruby/pull/1076) fix: Update logging to coerce ASCII-8BIT into UTF-8.
1181
628
 
1182
- Switch from using meta-programing to generating explicit methods for custom methods.
629
+ ## 6.4.0 - 2022-06-17
630
+ * [#1073](https://github.com/stripe/stripe-ruby/pull/1073) API Updates
631
+ * Add support for `fund_cash_balance` test helper method on resource `Customer`
632
+ * [#1074](https://github.com/stripe/stripe-ruby/pull/1074) Support updating pre-release versions
633
+ * [#1072](https://github.com/stripe/stripe-ruby/pull/1072) Trigger workflows on beta branches
634
+ * [#1071](https://github.com/stripe/stripe-ruby/pull/1071) Use request_stripe_object for all requests
635
+ * [#1070](https://github.com/stripe/stripe-ruby/pull/1070) API Updates
1183
636
 
1184
- - [#1069](https://github.com/stripe/stripe-ruby/pull/1069) chore: Stop special implementation of Account.persons method.
637
+ Switch from using meta-programing to generating explicit methods for custom methods.
638
+ * [#1069](https://github.com/stripe/stripe-ruby/pull/1069) chore: Stop special implementation of Account.persons method.
1185
639
 
1186
640
  ## 6.3.0 - 2022-06-08
1187
-
1188
- - [#1063](https://github.com/stripe/stripe-ruby/pull/1063) fix: Update cash balance methods to no longer require nested ID.
641
+ * [#1063](https://github.com/stripe/stripe-ruby/pull/1063) fix: Update cash balance methods to no longer require nested ID.
1189
642
 
1190
643
  ## 6.2.0 - 2022-05-23
1191
-
1192
- - [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
1193
- - Add support for new resource `Apps.Secret`
644
+ * [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
645
+ * Add support for new resource `Apps.Secret`
1194
646
 
1195
647
  ## 6.1.0 - 2022-05-19
648
+ * [#1057](https://github.com/stripe/stripe-ruby/pull/1057) API Updates
649
+ * 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`
650
+ * Add support for `retrieve_payment_method` method on resource `Customer`
651
+ * Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
1196
652
 
1197
- - [#1057](https://github.com/stripe/stripe-ruby/pull/1057) API Updates
1198
- - 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`
1199
- - Add support for `retrieve_payment_method` method on resource `Customer`
1200
- - Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
1201
653
 
1202
- ## 6.0.0 - 2022-05-09
1203
654
 
1204
- - [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
655
+ ## 6.0.0 - 2022-05-09
656
+ * [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
1205
657
  Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-Guide-for-v6) contains more information.
1206
658
 
1207
659
  (⚠️ = breaking changes):
1208
-
1209
- - ⚠️ Replace the legacy `Order` API with the new `Order` API.
1210
- - New methods: `cancel`, `list_line_items`, `reopen`, and `submit`
1211
- - Removed methods: `pay` and `return_order`
1212
- - Removed resources: `OrderItem` and `OrderReturn`
1213
- - ⚠️ Rename `FinancialConnections::Account.refresh` to `FinancialConnections::Account.refresh_account
660
+ * ⚠️ Replace the legacy `Order` API with the new `Order` API.
661
+ * New methods: `cancel`, `list_line_items`, `reopen`, and `submit`
662
+ * Removed methods: `pay` and `return_order`
663
+ * Removed resources: `OrderItem` and `OrderReturn`
664
+ * ⚠️ Rename `FinancialConnections::Account.refresh` to `FinancialConnections::Account.refresh_account
1214
665
 
1215
666
  ## 5.55.0 - 2022-05-05
667
+ * [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
668
+ * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
1216
669
 
1217
- - [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
1218
- - Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
1219
670
 
1220
671
  ## 5.54.0 - 2022-05-03
1221
-
1222
- - [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
1223
- - Add support for new resource `CashBalance`
672
+ * [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
673
+ * Add support for new resource `CashBalance`
1224
674
 
1225
675
  ## 5.53.0 - 2022-04-21
1226
-
1227
- - [#1050](https://github.com/stripe/stripe-ruby/pull/1050) API Updates
1228
- - Add support for `expire` test helper method on resource `Refund`
676
+ * [#1050](https://github.com/stripe/stripe-ruby/pull/1050) API Updates
677
+ * Add support for `expire` test helper method on resource `Refund`
1229
678
 
1230
679
  ## 5.52.0 - 2022-04-18
1231
-
1232
- - [#1046](https://github.com/stripe/stripe-ruby/pull/1046) [#1047](https://github.com/stripe/stripe-ruby/pull/1047) API Updates
1233
- - Add support for new resources `FundingInstructions` and `Terminal.Configuration`
680
+ * [#1046](https://github.com/stripe/stripe-ruby/pull/1046) [#1047](https://github.com/stripe/stripe-ruby/pull/1047) API Updates
681
+ * Add support for new resources `FundingInstructions` and `Terminal.Configuration`
1234
682
 
1235
683
  ## 5.51.0 - 2022-04-15
1236
-
1237
- - [#1046](https://github.com/stripe/stripe-ruby/pull/1046) This release was incomplete and was yanked from RubyGems immediately after it was published.
684
+ * [#1046](https://github.com/stripe/stripe-ruby/pull/1046) This release was incomplete and was yanked from RubyGems immediately after it was published.
1238
685
 
1239
686
  ## 5.50.0 - 2022-04-13
1240
-
1241
- - [#1045](https://github.com/stripe/stripe-ruby/pull/1045) API Updates
1242
- - Add support for `increment_authorization` method on resource `PaymentIntent`
687
+ * [#1045](https://github.com/stripe/stripe-ruby/pull/1045) API Updates
688
+ * Add support for `increment_authorization` method on resource `PaymentIntent`
1243
689
 
1244
690
  ## 5.49.0 - 2022-04-08
1245
-
1246
- - [#1043](https://github.com/stripe/stripe-ruby/pull/1043) API Updates
1247
- - Add support for `apply_customer_balance` method on resource `PaymentIntent`
691
+ * [#1043](https://github.com/stripe/stripe-ruby/pull/1043) API Updates
692
+ * Add support for `apply_customer_balance` method on resource `PaymentIntent`
1248
693
 
1249
694
  ## 5.48.0 - 2022-03-30
1250
-
1251
- - [#1041](https://github.com/stripe/stripe-ruby/pull/1041) API Updates
1252
- - Add support for `cancel_action`, `process_payment_intent`, `process_setup_intent`, and `set_reader_display` methods on resource `Terminal.Reader`
695
+ * [#1041](https://github.com/stripe/stripe-ruby/pull/1041) API Updates
696
+ * Add support for `cancel_action`, `process_payment_intent`, `process_setup_intent`, and `set_reader_display` methods on resource `Terminal.Reader`
1253
697
 
1254
698
  ## 5.47.0 - 2022-03-29
699
+ * [#1040](https://github.com/stripe/stripe-ruby/pull/1040) API Updates
700
+ * Add support for Search API
701
+ * Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
1255
702
 
1256
- - [#1040](https://github.com/stripe/stripe-ruby/pull/1040) API Updates
1257
-
1258
- - Add support for Search API
1259
- - Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
1260
-
1261
- - [#1034](https://github.com/stripe/stripe-ruby/pull/1034) Add supporting classes for test helper generation
703
+ * [#1034](https://github.com/stripe/stripe-ruby/pull/1034) Add supporting classes for test helper generation
1262
704
 
1263
705
  ## 5.46.0 - 2022-03-23
1264
-
1265
- - [#1039](https://github.com/stripe/stripe-ruby/pull/1039) API Updates
1266
- - Add support for `cancel` method on resource `Refund`
1267
- - [#992](https://github.com/stripe/stripe-ruby/pull/992) Add support for Search API
706
+ * [#1039](https://github.com/stripe/stripe-ruby/pull/1039) API Updates
707
+ * Add support for `cancel` method on resource `Refund`
708
+ * [#992](https://github.com/stripe/stripe-ruby/pull/992) Add support for Search API
1268
709
 
1269
710
  ## 5.45.0 - 2022-03-01
1270
-
1271
- - [#1035](https://github.com/stripe/stripe-ruby/pull/1035) API Updates
1272
- - Add support for new resource `TestHelpers.TestClock`
711
+ * [#1035](https://github.com/stripe/stripe-ruby/pull/1035) API Updates
712
+ * Add support for new resource `TestHelpers.TestClock`
1273
713
 
1274
714
  ## 5.44.0 - 2022-02-16
1275
-
1276
- - [#1032](https://github.com/stripe/stripe-ruby/pull/1032) API Updates
1277
- - Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`
715
+ * [#1032](https://github.com/stripe/stripe-ruby/pull/1032) API Updates
716
+ * Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`
1278
717
 
1279
718
  ## 5.43.0 - 2022-01-20
1280
-
1281
- - [#1031](https://github.com/stripe/stripe-ruby/pull/1031) API Updates
1282
- - Add support for new resource `PaymentLink`
719
+ * [#1031](https://github.com/stripe/stripe-ruby/pull/1031) API Updates
720
+ * Add support for new resource `PaymentLink`
1283
721
 
1284
722
  ## 5.42.0 - 2021-12-13
1285
-
1286
- - [#1022](https://github.com/stripe/stripe-ruby/pull/1022) Add connection manager logging and include object IDs in logging.
723
+ * [#1022](https://github.com/stripe/stripe-ruby/pull/1022) Add connection manager logging and include object IDs in logging.
1287
724
 
1288
725
  ## 5.41.0 - 2021-11-16
1289
-
1290
- - [#1017](https://github.com/stripe/stripe-ruby/pull/1017) API Updates
1291
- - Add support for new resource `ShippingRate`
726
+ * [#1017](https://github.com/stripe/stripe-ruby/pull/1017) API Updates
727
+ * Add support for new resource `ShippingRate`
1292
728
 
1293
729
  ## 5.40.0 - 2021-11-11
1294
-
1295
- - [#1015](https://github.com/stripe/stripe-ruby/pull/1015) API Updates
1296
- - Add support for `expire` method on resource `Checkout.Session`
1297
- - [#1013](https://github.com/stripe/stripe-ruby/pull/1013) Add tests for child resources.
1298
- - [#1012](https://github.com/stripe/stripe-ruby/pull/1012) Add tests for namespaced resources.
1299
- - [#1011](https://github.com/stripe/stripe-ruby/pull/1011) codegen: 3 more files
730
+ * [#1015](https://github.com/stripe/stripe-ruby/pull/1015) API Updates
731
+ * Add support for `expire` method on resource `Checkout.Session`
732
+ * [#1013](https://github.com/stripe/stripe-ruby/pull/1013) Add tests for child resources.
733
+ * [#1012](https://github.com/stripe/stripe-ruby/pull/1012) Add tests for namespaced resources.
734
+ * [#1011](https://github.com/stripe/stripe-ruby/pull/1011) codegen: 3 more files
1300
735
 
1301
736
  ## 5.39.0 - 2021-10-11
1302
-
1303
- - [#1010](https://github.com/stripe/stripe-ruby/pull/1010) API Updates
1304
- - Add support for `list_payment_methods` method on resource `Customer`
737
+ * [#1010](https://github.com/stripe/stripe-ruby/pull/1010) API Updates
738
+ * Add support for `list_payment_methods` method on resource `Customer`
1305
739
 
1306
740
  ## 5.38.0 - 2021-08-10
1307
-
1308
- - [#993](https://github.com/stripe/stripe-ruby/pull/993) Add `request_id` to RequestEndEvent
1309
- - [#991](https://github.com/stripe/stripe-ruby/pull/991) Codegen more files
1310
- - [#989](https://github.com/stripe/stripe-ruby/pull/989) Remove unused API error types from docs.
741
+ * [#993](https://github.com/stripe/stripe-ruby/pull/993) Add `request_id` to RequestEndEvent
742
+ * [#991](https://github.com/stripe/stripe-ruby/pull/991) Codegen more files
743
+ * [#989](https://github.com/stripe/stripe-ruby/pull/989) Remove unused API error types from docs.
1311
744
 
1312
745
  ## 5.37.0 - 2021-07-14
1313
-
1314
- - [#988](https://github.com/stripe/stripe-ruby/pull/988) API Updates
1315
- - Add support for `list_computed_upfront_line_items` method on resource `Quote`
746
+ * [#988](https://github.com/stripe/stripe-ruby/pull/988) API Updates
747
+ * Add support for `list_computed_upfront_line_items` method on resource `Quote`
1316
748
 
1317
749
  ## 5.36.0 - 2021-07-09
1318
-
1319
- - [#987](https://github.com/stripe/stripe-ruby/pull/987) Add support for `Quote` API
750
+ * [#987](https://github.com/stripe/stripe-ruby/pull/987) Add support for `Quote` API
1320
751
 
1321
752
  ## 5.35.0 - 2021-06-30
1322
-
1323
- - [#985](https://github.com/stripe/stripe-ruby/pull/985) Update normalize_opts to use dup instead of clone.
1324
- - [#982](https://github.com/stripe/stripe-ruby/pull/982) Deprecate travis
1325
- - [#983](https://github.com/stripe/stripe-ruby/pull/983) Add support for making a request and receiving the response as a stream.
753
+ * [#985](https://github.com/stripe/stripe-ruby/pull/985) Update normalize_opts to use dup instead of clone.
754
+ * [#982](https://github.com/stripe/stripe-ruby/pull/982) Deprecate travis
755
+ * [#983](https://github.com/stripe/stripe-ruby/pull/983) Add support for making a request and receiving the response as a stream.
1326
756
 
1327
757
  ## 5.34.0 - 2021-06-04
1328
-
1329
- - [#981](https://github.com/stripe/stripe-ruby/pull/981) API Updates
1330
- - Add support for `TaxCode` API.
758
+ * [#981](https://github.com/stripe/stripe-ruby/pull/981) API Updates
759
+ * Add support for `TaxCode` API.
1331
760
 
1332
761
  ## 5.33.0 - 2021-05-19
1333
-
1334
- - [#979](https://github.com/stripe/stripe-ruby/pull/979) Add support for the Identify VerificationSession and VerificationReport APIs
762
+ * [#979](https://github.com/stripe/stripe-ruby/pull/979) Add support for the Identify VerificationSession and VerificationReport APIs
1335
763
 
1336
764
  ## 5.32.1 - 2021-04-05
1337
-
1338
- - Correct use of regexp `match` in gemspec for old versions of Ruby
765
+ * Correct use of regexp `match` in gemspec for old versions of Ruby
1339
766
 
1340
767
  ## 5.32.0 - 2021-04-05
1341
-
1342
- - [#973](https://github.com/stripe/stripe-ruby/pull/973) Reduce packed gem size
768
+ * [#973](https://github.com/stripe/stripe-ruby/pull/973) Reduce packed gem size
1343
769
 
1344
770
  ## 5.31.0 - 2021-04-02
1345
-
1346
- - [#968](https://github.com/stripe/stripe-ruby/pull/968) Allow StripeClient to be configured per instance
1347
- - [#971](https://github.com/stripe/stripe-ruby/pull/971) On config change, only clear connection managers for changed config
1348
- - [#972](https://github.com/stripe/stripe-ruby/pull/972) Rename `Stripe.configuration` to `Stripe.config`
1349
- - [#970](https://github.com/stripe/stripe-ruby/pull/970) Reserve some critical field names when adding `StripeObject` accessors
1350
- - [#967](https://github.com/stripe/stripe-ruby/pull/967) CI: github actions
771
+ * [#968](https://github.com/stripe/stripe-ruby/pull/968) Allow StripeClient to be configured per instance
772
+ * [#971](https://github.com/stripe/stripe-ruby/pull/971) On config change, only clear connection managers for changed config
773
+ * [#972](https://github.com/stripe/stripe-ruby/pull/972) Rename `Stripe.configuration` to `Stripe.config`
774
+ * [#970](https://github.com/stripe/stripe-ruby/pull/970) Reserve some critical field names when adding `StripeObject` accessors
775
+ * [#967](https://github.com/stripe/stripe-ruby/pull/967) CI: github actions
1351
776
 
1352
777
  ## 5.30.0 - 2021-02-22
1353
-
1354
- - [#965](https://github.com/stripe/stripe-ruby/pull/965) Add support for the Billing Portal Configuration API
778
+ * [#965](https://github.com/stripe/stripe-ruby/pull/965) Add support for the Billing Portal Configuration API
1355
779
 
1356
780
  ## 5.29.1 - 2021-02-09
1357
-
1358
- - [#964](https://github.com/stripe/stripe-ruby/pull/964) Fix return value of `Customer#delete_discount`
781
+ * [#964](https://github.com/stripe/stripe-ruby/pull/964) Fix return value of `Customer#delete_discount`
1359
782
 
1360
783
  ## 5.29.0 - 2021-01-05
1361
-
1362
- - [#952](https://github.com/stripe/stripe-ruby/pull/952) Allow client_id configuration on instance config
784
+ * [#952](https://github.com/stripe/stripe-ruby/pull/952) Allow client_id configuration on instance config
1363
785
 
1364
786
  ## 5.28.0 - 2020-10-14
1365
-
1366
- - [#950](https://github.com/stripe/stripe-ruby/pull/950) Add configuration option for `write_timeout` for connections on Ruby 2.6+
787
+ * [#950](https://github.com/stripe/stripe-ruby/pull/950) Add configuration option for `write_timeout` for connections on Ruby 2.6+
1367
788
 
1368
789
  ## 5.27.0 - 2020-10-14
1369
-
1370
- - [#951](https://github.com/stripe/stripe-ruby/pull/951) Add support for the Payout Reverse API
790
+ * [#951](https://github.com/stripe/stripe-ruby/pull/951) Add support for the Payout Reverse API
1371
791
 
1372
792
  ## 5.26.0 - 2020-09-29
1373
-
1374
- - [#949](https://github.com/stripe/stripe-ruby/pull/949) Add support for the `SetupAttempt` resource and List API
793
+ * [#949](https://github.com/stripe/stripe-ruby/pull/949) Add support for the `SetupAttempt` resource and List API
1375
794
 
1376
795
  ## 5.25.0 - 2020-09-02
1377
-
1378
- - [#944](https://github.com/stripe/stripe-ruby/pull/944) Add support for the Issuing Dispute Submit API
796
+ * [#944](https://github.com/stripe/stripe-ruby/pull/944) Add support for the Issuing Dispute Submit API
1379
797
 
1380
798
  ## 5.24.0 - 2020-08-26
1381
-
1382
- - [#939](https://github.com/stripe/stripe-ruby/pull/939) Extract configurations into separate object
1383
- - [#940](https://github.com/stripe/stripe-ruby/pull/940) Fix typo in documentation of `stripe_object.rb`
799
+ * [#939](https://github.com/stripe/stripe-ruby/pull/939) Extract configurations into separate object
800
+ * [#940](https://github.com/stripe/stripe-ruby/pull/940) Fix typo in documentation of `stripe_object.rb`
1384
801
 
1385
802
  ## 5.23.1 - 2020-08-05
1386
-
1387
- - [#936](https://github.com/stripe/stripe-ruby/pull/936) Rename API resource's `request` method
803
+ * [#936](https://github.com/stripe/stripe-ruby/pull/936) Rename API resource's `request` method
1388
804
 
1389
805
  ## 5.23.0 - 2020-08-05
1390
-
1391
- - [#937](https://github.com/stripe/stripe-ruby/pull/937) Add support for the `PromotionCode` resource and APIs
806
+ * [#937](https://github.com/stripe/stripe-ruby/pull/937) Add support for the `PromotionCode` resource and APIs
1392
807
 
1393
808
  ## 5.22.0 - 2020-05-11
1394
-
1395
- - [#918](https://github.com/stripe/stripe-ruby/pull/918) Add support for the `LineItem` resource and APIs
809
+ * [#918](https://github.com/stripe/stripe-ruby/pull/918) Add support for the `LineItem` resource and APIs
1396
810
 
1397
811
  ## 5.21.0 - 2020-04-29
1398
-
1399
- - [#917](https://github.com/stripe/stripe-ruby/pull/917) Add support for the `Price` resource and APIs
812
+ * [#917](https://github.com/stripe/stripe-ruby/pull/917) Add support for the `Price` resource and APIs
1400
813
 
1401
814
  ## 5.20.0 - 2020-04-27
1402
-
1403
- - [#916](https://github.com/stripe/stripe-ruby/pull/916) Add new `.generate_header` method for webhooks
815
+ * [#916](https://github.com/stripe/stripe-ruby/pull/916) Add new `.generate_header` method for webhooks
1404
816
 
1405
817
  ## 5.19.0 - 2020-04-24
1406
-
1407
- - [#915](https://github.com/stripe/stripe-ruby/pull/915) Expose `Stripe::Webhook.compute_signature` publicly
818
+ * [#915](https://github.com/stripe/stripe-ruby/pull/915) Expose `Stripe::Webhook.compute_signature` publicly
1408
819
 
1409
820
  ## 5.18.0 - 2020-04-22
1410
-
1411
- - [#911](https://github.com/stripe/stripe-ruby/pull/911) Add support for `BillingPortal` namespace and `Session` resource and APIs
821
+ * [#911](https://github.com/stripe/stripe-ruby/pull/911) Add support for `BillingPortal` namespace and `Session` resource and APIs
1412
822
 
1413
823
  ## 5.17.0 - 2020-02-26
1414
-
1415
- - [#907](https://github.com/stripe/stripe-ruby/pull/907) Add `StripeError#idempotent_replayed?`
824
+ * [#907](https://github.com/stripe/stripe-ruby/pull/907) Add `StripeError#idempotent_replayed?`
1416
825
 
1417
826
  ## 5.16.0 - 2020-02-26
1418
-
1419
- - [#906](https://github.com/stripe/stripe-ruby/pull/906) Add support for listing Checkout sessions
1420
- - [#903](https://github.com/stripe/stripe-ruby/pull/903) Upgrade to Rubocop 0.80
827
+ * [#906](https://github.com/stripe/stripe-ruby/pull/906) Add support for listing Checkout sessions
828
+ * [#903](https://github.com/stripe/stripe-ruby/pull/903) Upgrade to Rubocop 0.80
1421
829
 
1422
830
  ## 5.15.0 - 2020-02-10
1423
-
1424
- - [#902](https://github.com/stripe/stripe-ruby/pull/902) Add `request_begin` instrumentation callback
831
+ * [#902](https://github.com/stripe/stripe-ruby/pull/902) Add `request_begin` instrumentation callback
1425
832
 
1426
833
  ## 5.14.0 - 2020-01-14
1427
-
1428
- - [#896](https://github.com/stripe/stripe-ruby/pull/896) Add support for `CreditNoteLineItem`
1429
- - [#894](https://github.com/stripe/stripe-ruby/pull/894) Clean up test output by capturing `$stderr` when we expect warnings
1430
- - [#892](https://github.com/stripe/stripe-ruby/pull/892) Explicitly pass a parameter as hash to be more ruby 2.7 friendly
1431
- - [#893](https://github.com/stripe/stripe-ruby/pull/893) Upgrade Rubocop to 0.79
834
+ * [#896](https://github.com/stripe/stripe-ruby/pull/896) Add support for `CreditNoteLineItem`
835
+ * [#894](https://github.com/stripe/stripe-ruby/pull/894) Clean up test output by capturing `$stderr` when we expect warnings
836
+ * [#892](https://github.com/stripe/stripe-ruby/pull/892) Explicitly pass a parameter as hash to be more ruby 2.7 friendly
837
+ * [#893](https://github.com/stripe/stripe-ruby/pull/893) Upgrade Rubocop to 0.79
1432
838
 
1433
839
  ## 5.13.0 - 2020-01-08
1434
-
1435
- - [#891](https://github.com/stripe/stripe-ruby/pull/891) Fix most Ruby 2.7 warnings
840
+ * [#891](https://github.com/stripe/stripe-ruby/pull/891) Fix most Ruby 2.7 warnings
1436
841
 
1437
842
  ## 5.12.1 - 2020-01-06
1438
-
1439
- - [#890](https://github.com/stripe/stripe-ruby/pull/890) Override API key with `client_secret` in `OAuth.token`
843
+ * [#890](https://github.com/stripe/stripe-ruby/pull/890) Override API key with `client_secret` in `OAuth.token`
1440
844
 
1441
845
  ## 5.12.0 - 2020-01-02
1442
-
1443
- - [#889](https://github.com/stripe/stripe-ruby/pull/889) Add support for retrieve source transaction API method
846
+ * [#889](https://github.com/stripe/stripe-ruby/pull/889) Add support for retrieve source transaction API method
1444
847
 
1445
848
  ## 5.11.0 - 2019-11-26
1446
-
1447
- - [#885](https://github.com/stripe/stripe-ruby/pull/885) Add support for `CreditNote` preview
849
+ * [#885](https://github.com/stripe/stripe-ruby/pull/885) Add support for `CreditNote` preview
1448
850
 
1449
851
  ## 5.10.0 - 2019-11-08
1450
-
1451
- - [#882](https://github.com/stripe/stripe-ruby/pull/882) Add list_usage_record_summaries and list_source_transactions
852
+ * [#882](https://github.com/stripe/stripe-ruby/pull/882) Add list_usage_record_summaries and list_source_transactions
1452
853
 
1453
854
  ## 5.9.0 - 2019-11-07
1454
-
1455
- - [#870](https://github.com/stripe/stripe-ruby/pull/870) Add request instrumentation callback (see `README.md` for usage example)
855
+ * [#870](https://github.com/stripe/stripe-ruby/pull/870) Add request instrumentation callback (see `README.md` for usage example)
1456
856
 
1457
857
  ## 5.8.0 - 2019-11-05
1458
-
1459
- - [#879](https://github.com/stripe/stripe-ruby/pull/879) Add support for `Mandate`
1460
- - [#876](https://github.com/stripe/stripe-ruby/pull/876) Add additional per-request configuration documentation
1461
- - [#874](https://github.com/stripe/stripe-ruby/pull/874) Raise an error when requests params are invalid
1462
- - [#873](https://github.com/stripe/stripe-ruby/pull/873) Contributor Covenant
858
+ * [#879](https://github.com/stripe/stripe-ruby/pull/879) Add support for `Mandate`
859
+ * [#876](https://github.com/stripe/stripe-ruby/pull/876) Add additional per-request configuration documentation
860
+ * [#874](https://github.com/stripe/stripe-ruby/pull/874) Raise an error when requests params are invalid
861
+ * [#873](https://github.com/stripe/stripe-ruby/pull/873) Contributor Covenant
1463
862
 
1464
863
  ## 5.7.1 - 2019-10-15
1465
-
1466
- - [#869](https://github.com/stripe/stripe-ruby/pull/869) Fixes the misnamed `connection_base=` setter to be named `connect_base=`
864
+ * [#869](https://github.com/stripe/stripe-ruby/pull/869) Fixes the misnamed `connection_base=` setter to be named `connect_base=`
1467
865
 
1468
866
  ## 5.7.0 - 2019-10-10
1469
-
1470
- - [#865](https://github.com/stripe/stripe-ruby/pull/865) Support backwards pagination with list's `#auto_paging_each`
867
+ * [#865](https://github.com/stripe/stripe-ruby/pull/865) Support backwards pagination with list's `#auto_paging_each`
1471
868
 
1472
869
  ## 5.6.0 - 2019-10-04
1473
-
1474
- - [#861](https://github.com/stripe/stripe-ruby/pull/861) Nicer error when specifying non-nil non-string opt value
870
+ * [#861](https://github.com/stripe/stripe-ruby/pull/861) Nicer error when specifying non-nil non-string opt value
1475
871
 
1476
872
  ## 5.5.0 - 2019-10-03
1477
-
1478
- - [#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
873
+ * [#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
1479
874
 
1480
875
  ## 5.4.1 - 2019-10-01
1481
-
1482
- - [#858](https://github.com/stripe/stripe-ruby/pull/858) Drop Timecop dependency
876
+ * [#858](https://github.com/stripe/stripe-ruby/pull/858) Drop Timecop dependency
1483
877
 
1484
878
  ## 5.4.0 - 2019-10-01
1485
-
1486
- - [#857](https://github.com/stripe/stripe-ruby/pull/857) Move to monotonic time for duration calculations
879
+ * [#857](https://github.com/stripe/stripe-ruby/pull/857) Move to monotonic time for duration calculations
1487
880
 
1488
881
  ## 5.3.0 - 2019-10-01
1489
-
1490
- - [#853](https://github.com/stripe/stripe-ruby/pull/853) Support `Stripe-Should-Retry` header
882
+ * [#853](https://github.com/stripe/stripe-ruby/pull/853) Support `Stripe-Should-Retry` header
1491
883
 
1492
884
  ## 5.2.0 - 2019-09-19
1493
-
1494
- - [#851](https://github.com/stripe/stripe-ruby/pull/851) Introduce system for garbage collecting connection managers
885
+ * [#851](https://github.com/stripe/stripe-ruby/pull/851) Introduce system for garbage collecting connection managers
1495
886
 
1496
887
  ## 5.1.1 - 2019-09-04
1497
-
1498
- - [#845](https://github.com/stripe/stripe-ruby/pull/845) Transfer the request_id from the http_headers to error.
888
+ * [#845](https://github.com/stripe/stripe-ruby/pull/845) Transfer the request_id from the http_headers to error.
1499
889
 
1500
890
  ## 5.1.0 - 2019-08-27
1501
-
1502
- - [#841](https://github.com/stripe/stripe-ruby/pull/841) Retry requests on a 429 that's a lock timeout
891
+ * [#841](https://github.com/stripe/stripe-ruby/pull/841) Retry requests on a 429 that's a lock timeout
1503
892
 
1504
893
  ## 5.0.1 - 2019-08-20
1505
-
1506
- - [#836](https://github.com/stripe/stripe-ruby/pull/836) Increase connection keep alive timeout to 30 seconds
894
+ * [#836](https://github.com/stripe/stripe-ruby/pull/836) Increase connection keep alive timeout to 30 seconds
1507
895
 
1508
896
  ## 5.0.0 - 2019-08-20
1509
-
1510
897
  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.
1511
898
 
1512
899
  Pull requests included in this release (cf. [#815](https://github.com/stripe/stripe-ruby/pull/815)) (⚠️ = breaking changes):
1513
-
1514
- - ⚠️ [#813](https://github.com/stripe/stripe-ruby/pull/813): Convert library to use built-in `Net::HTTP`
1515
- - ⚠️ [#816](https://github.com/stripe/stripe-ruby/pull/816): Make `code` argument in `CardError` named instead of positional.
1516
- - ⚠️ [#817](https://github.com/stripe/stripe-ruby/pull/817): Drop support for very old Ruby versions.
1517
- - [#818](https://github.com/stripe/stripe-ruby/pull/818): Bump Rubocop to latest version
1518
- - [#819](https://github.com/stripe/stripe-ruby/pull/819): Ruby minimum version increase followup
1519
- - ⚠️ [#820](https://github.com/stripe/stripe-ruby/pull/820): Remove old deprecated methods
1520
- - ⚠️ [#823](https://github.com/stripe/stripe-ruby/pull/823): Remove all alias for list methods
1521
- - ⚠️ [#826](https://github.com/stripe/stripe-ruby/pull/826): Remove `UsageRecord.create` method
1522
- - ⚠️ [#827](https://github.com/stripe/stripe-ruby/pull/827): Remove `IssuerFraudRecord`
1523
- - [#811](https://github.com/stripe/stripe-ruby/pull/811): Add `ErrorObject` to `StripeError` exceptions
1524
- - [#828](https://github.com/stripe/stripe-ruby/pull/828): Tweak retry logic to be a little more like stripe-node
1525
- - [#829](https://github.com/stripe/stripe-ruby/pull/829): Reset connections when connection-changing configuration changes (optional)
1526
- - [#830](https://github.com/stripe/stripe-ruby/pull/830): Fix inverted sign for 500 retries
1527
- - ⚠️[#831](https://github.com/stripe/stripe-ruby/pull/831): Remove a few more very old deprecated methods
1528
- - [#832](https://github.com/stripe/stripe-ruby/pull/832): Minor cleanup in `StripeClient`
1529
- - [#833](https://github.com/stripe/stripe-ruby/pull/833): Do better bookkeeping when tracking state in `Thread.current`
1530
- - [#834](https://github.com/stripe/stripe-ruby/pull/834): Add `Invoice.list_upcoming_line_items` method
900
+ * ⚠️ [#813](https://github.com/stripe/stripe-ruby/pull/813): Convert library to use built-in `Net::HTTP`
901
+ * ⚠️ [#816](https://github.com/stripe/stripe-ruby/pull/816): Make `code` argument in `CardError` named instead of positional.
902
+ * ⚠️ [#817](https://github.com/stripe/stripe-ruby/pull/817): Drop support for very old Ruby versions.
903
+ * [#818](https://github.com/stripe/stripe-ruby/pull/818): Bump Rubocop to latest version
904
+ * [#819](https://github.com/stripe/stripe-ruby/pull/819): Ruby minimum version increase followup
905
+ * ⚠️ [#820](https://github.com/stripe/stripe-ruby/pull/820): Remove old deprecated methods
906
+ * ⚠️ [#823](https://github.com/stripe/stripe-ruby/pull/823): Remove all alias for list methods
907
+ * ⚠️ [#826](https://github.com/stripe/stripe-ruby/pull/826): Remove `UsageRecord.create` method
908
+ * ⚠️ [#827](https://github.com/stripe/stripe-ruby/pull/827): Remove `IssuerFraudRecord`
909
+ * [#811](https://github.com/stripe/stripe-ruby/pull/811): Add `ErrorObject` to `StripeError` exceptions
910
+ * [#828](https://github.com/stripe/stripe-ruby/pull/828): Tweak retry logic to be a little more like stripe-node
911
+ * [#829](https://github.com/stripe/stripe-ruby/pull/829): Reset connections when connection-changing configuration changes (optional)
912
+ * [#830](https://github.com/stripe/stripe-ruby/pull/830): Fix inverted sign for 500 retries
913
+ * ⚠️[#831](https://github.com/stripe/stripe-ruby/pull/831): Remove a few more very old deprecated methods
914
+ * [#832](https://github.com/stripe/stripe-ruby/pull/832): Minor cleanup in `StripeClient`
915
+ * [#833](https://github.com/stripe/stripe-ruby/pull/833): Do better bookkeeping when tracking state in `Thread.current`
916
+ * [#834](https://github.com/stripe/stripe-ruby/pull/834): Add `Invoice.list_upcoming_line_items` method
1531
917
 
1532
918
  ## 4.24.0 - 2019-08-12
1533
-
1534
- - [#825](https://github.com/stripe/stripe-ruby/pull/825) Add `SubscriptionItem.create_usage_record` method
919
+ * [#825](https://github.com/stripe/stripe-ruby/pull/825) Add `SubscriptionItem.create_usage_record` method
1535
920
  - This release also removed the `SubscriptionSchedule.revisions` method. This should have been included in the previous release (4.23.0)
1536
921
 
1537
922
  ## 4.23.0 - 2019-08-09
1538
-
1539
- - [#824](https://github.com/stripe/stripe-ruby/pull/824) Remove SubscriptionScheduleRevision
923
+ * [#824](https://github.com/stripe/stripe-ruby/pull/824) Remove SubscriptionScheduleRevision
1540
924
  - This is technically a breaking change. We've chosen to release it as a minor vesion bump because the associated API is unused.
1541
925
 
1542
926
  ## 4.22.1 - 2019-08-09
1543
-
1544
- - [#808](https://github.com/stripe/stripe-ruby/pull/808) Unify request/response handling
927
+ * [#808](https://github.com/stripe/stripe-ruby/pull/808) Unify request/response handling
1545
928
 
1546
929
  ## 4.22.0 - 2019-07-30
1547
-
1548
- - [#821](https://github.com/stripe/stripe-ruby/pull/821) Listing `BalanceTransaction` objects now uses `/v1/balance_transactions` instead of `/v1/balance/history`
930
+ * [#821](https://github.com/stripe/stripe-ruby/pull/821) Listing `BalanceTransaction` objects now uses `/v1/balance_transactions` instead of `/v1/balance/history`
1549
931
 
1550
932
  ## 4.21.3 - 2019-07-15
1551
-
1552
- - [#810](https://github.com/stripe/stripe-ruby/pull/810) Better error message when passing non-string to custom method
933
+ * [#810](https://github.com/stripe/stripe-ruby/pull/810) Better error message when passing non-string to custom method
1553
934
 
1554
935
  ## 4.21.2 - 2019-07-05
1555
-
1556
- - [#806](https://github.com/stripe/stripe-ruby/pull/806) Revert back to `initialize_from` from `Util.convert_to_stripe_object`
936
+ * [#806](https://github.com/stripe/stripe-ruby/pull/806) Revert back to `initialize_from` from `Util.convert_to_stripe_object`
1557
937
 
1558
938
  ## 4.21.1 - 2019-07-04
1559
-
1560
- - [#807](https://github.com/stripe/stripe-ruby/pull/807) Add gem metadata
939
+ * [#807](https://github.com/stripe/stripe-ruby/pull/807) Add gem metadata
1561
940
 
1562
941
  ## 4.21.0 - 2019-06-28
1563
-
1564
- - [#803](https://github.com/stripe/stripe-ruby/pull/803) Add support for the `SetupIntent` resource and APIs
942
+ * [#803](https://github.com/stripe/stripe-ruby/pull/803) Add support for the `SetupIntent` resource and APIs
1565
943
 
1566
944
  ## 4.20.1 - 2019-06-28
1567
-
1568
- - [#805](https://github.com/stripe/stripe-ruby/pull/805) Fix formatting in `ConnectionFailed` error message
945
+ * [#805](https://github.com/stripe/stripe-ruby/pull/805) Fix formatting in `ConnectionFailed` error message
1569
946
 
1570
947
  ## 4.20.0 - 2019-06-24
1571
-
1572
- - [#800](https://github.com/stripe/stripe-ruby/pull/800) Enable request latency telemetry by default
948
+ * [#800](https://github.com/stripe/stripe-ruby/pull/800) Enable request latency telemetry by default
1573
949
 
1574
950
  ## 4.19.0 - 2019-06-17
1575
-
1576
- - [#770](https://github.com/stripe/stripe-ruby/pull/770) Add support for `CustomerBalanceTransaction` resource and APIs
951
+ * [#770](https://github.com/stripe/stripe-ruby/pull/770) Add support for `CustomerBalanceTransaction` resource and APIs
1577
952
 
1578
953
  ## 4.18.1 - 2019-05-27
1579
-
1580
- - [#789](https://github.com/stripe/stripe-ruby/pull/789) Allow `Order#pay` to be called without arguments
954
+ * [#789](https://github.com/stripe/stripe-ruby/pull/789) Allow `Order#pay` to be called without arguments
1581
955
 
1582
956
  ## 4.18.0 - 2019-05-23
1583
-
1584
- - [#783](https://github.com/stripe/stripe-ruby/pull/783) Add support for `radar.early_fraud_warning` resource
957
+ * [#783](https://github.com/stripe/stripe-ruby/pull/783) Add support for `radar.early_fraud_warning` resource
1585
958
 
1586
959
  ## 4.17.0 - 2019-05-14
1587
-
1588
- - [#779](https://github.com/stripe/stripe-ruby/pull/779) Add support for the Capability resource and APIs
960
+ * [#779](https://github.com/stripe/stripe-ruby/pull/779) Add support for the Capability resource and APIs
1589
961
 
1590
962
  ## 4.16.0 - 2019-04-24
1591
-
1592
- - [#760](https://github.com/stripe/stripe-ruby/pull/760) Add support for the `TaxRate` resource and APIs
963
+ * [#760](https://github.com/stripe/stripe-ruby/pull/760) Add support for the `TaxRate` resource and APIs
1593
964
 
1594
965
  ## 4.15.0 - 2019-04-22
1595
-
1596
- - [#762](https://github.com/stripe/stripe-ruby/pull/762) Add support for the `TaxId` resource and APIs
966
+ * [#762](https://github.com/stripe/stripe-ruby/pull/762) Add support for the `TaxId` resource and APIs
1597
967
 
1598
968
  ## 4.14.0 - 2019-04-18
1599
-
1600
- - [#758](https://github.com/stripe/stripe-ruby/pull/758) Add support for the `CreditNote` resource and APIs
969
+ * [#758](https://github.com/stripe/stripe-ruby/pull/758) Add support for the `CreditNote` resource and APIs
1601
970
 
1602
971
  ## 4.13.0 - 2019-04-16
1603
-
1604
- - [#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`)
972
+ * [#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`)
1605
973
 
1606
974
  ## 4.12.0 - 2019-04-02
1607
-
1608
- - [#752](https://github.com/stripe/stripe-ruby/pull/752) Add `.delete` class method on deletable API resources
1609
- - [#754](https://github.com/stripe/stripe-ruby/pull/754) Add class methods for all custom API requests (e.g. `Charge.capture`)
975
+ * [#752](https://github.com/stripe/stripe-ruby/pull/752) Add `.delete` class method on deletable API resources
976
+ * [#754](https://github.com/stripe/stripe-ruby/pull/754) Add class methods for all custom API requests (e.g. `Charge.capture`)
1610
977
 
1611
978
  ## 4.11.0 - 2019-03-26
1612
-
1613
- - [#753](https://github.com/stripe/stripe-ruby/pull/753) Add a global proxy configuration parameter
979
+ * [#753](https://github.com/stripe/stripe-ruby/pull/753) Add a global proxy configuration parameter
1614
980
 
1615
981
  ## 4.10.0 - 2019-03-18
1616
-
1617
- - [#745](https://github.com/stripe/stripe-ruby/pull/745) Add support for the `PaymentMethod` resource and APIs
1618
- - [#747](https://github.com/stripe/stripe-ruby/pull/747) Add support for retrieving a Checkout `Session`
1619
- - [#748](https://github.com/stripe/stripe-ruby/pull/748) Add support for deleting a Terminal `Location` and `Reader`
982
+ * [#745](https://github.com/stripe/stripe-ruby/pull/745) Add support for the `PaymentMethod` resource and APIs
983
+ * [#747](https://github.com/stripe/stripe-ruby/pull/747) Add support for retrieving a Checkout `Session`
984
+ * [#748](https://github.com/stripe/stripe-ruby/pull/748) Add support for deleting a Terminal `Location` and `Reader`
1620
985
 
1621
986
  ## 4.9.1 - 2019-03-18
1622
-
1623
- - [#750](https://github.com/stripe/stripe-ruby/pull/750) Catch error and warn if unable to remove a method
987
+ * [#750](https://github.com/stripe/stripe-ruby/pull/750) Catch error and warn if unable to remove a method
1624
988
 
1625
989
  ## 4.9.0 - 2019-02-12
1626
-
1627
- - [#739](https://github.com/stripe/stripe-ruby/pull/739) Add support for `SubscriptionSchedule` and `SubscriptionScheduleRevision`
990
+ * [#739](https://github.com/stripe/stripe-ruby/pull/739) Add support for `SubscriptionSchedule` and `SubscriptionScheduleRevision`
1628
991
 
1629
992
  ## 4.8.1 - 2019-02-11
1630
-
1631
- - [#743](https://github.com/stripe/stripe-ruby/pull/743) Fix bug in file uploading introduced in #741
993
+ * [#743](https://github.com/stripe/stripe-ruby/pull/743) Fix bug in file uploading introduced in #741
1632
994
 
1633
995
  ## 4.8.0 - 2019-02-03
1634
-
1635
- - [#741](https://github.com/stripe/stripe-ruby/pull/741) Use `FaradayStripeEncoder` to encode all parameter styles
996
+ * [#741](https://github.com/stripe/stripe-ruby/pull/741) Use `FaradayStripeEncoder` to encode all parameter styles
1636
997
 
1637
998
  ## 4.7.1 - 2019-02-01
1638
-
1639
- - [#740](https://github.com/stripe/stripe-ruby/pull/740) Fix query encoding for integer-indexed maps
999
+ * [#740](https://github.com/stripe/stripe-ruby/pull/740) Fix query encoding for integer-indexed maps
1640
1000
 
1641
1001
  ## 4.7.0 - 2019-01-23
1642
-
1643
- - [#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.
1002
+ * [#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.
1644
1003
 
1645
1004
  ## 4.6.0 - 2019-01-21
1646
-
1647
- - [#736](https://github.com/stripe/stripe-ruby/pull/736) Properly serialize `individual` on `Account` objects
1005
+ * [#736](https://github.com/stripe/stripe-ruby/pull/736) Properly serialize `individual` on `Account` objects
1648
1006
 
1649
1007
  ## 4.5.0 - 2019-01-02
1650
-
1651
- - [#719](https://github.com/stripe/stripe-ruby/pull/719) Generate OAuth authorize URLs for Express accounts as well as standard
1008
+ * [#719](https://github.com/stripe/stripe-ruby/pull/719) Generate OAuth authorize URLs for Express accounts as well as standard
1652
1009
 
1653
1010
  ## 4.4.1 - 2018-12-31
1654
-
1655
- - [#718](https://github.com/stripe/stripe-ruby/pull/718) Fix an error message typo
1011
+ * [#718](https://github.com/stripe/stripe-ruby/pull/718) Fix an error message typo
1656
1012
 
1657
1013
  ## 4.4.0 - 2018-12-21
1658
-
1659
- - [#716](https://github.com/stripe/stripe-ruby/pull/716) Add support for the `CheckoutSession` resource
1014
+ * [#716](https://github.com/stripe/stripe-ruby/pull/716) Add support for the `CheckoutSession` resource
1660
1015
 
1661
1016
  ## 4.3.0 - 2018-12-10
1662
-
1663
- - [#711](https://github.com/stripe/stripe-ruby/pull/711) Add support for account links
1017
+ * [#711](https://github.com/stripe/stripe-ruby/pull/711) Add support for account links
1664
1018
 
1665
1019
  ## 4.2.0 - 2018-11-28
1666
-
1667
- - [#705](https://github.com/stripe/stripe-ruby/pull/705) Add support for the `Review` APIs
1020
+ * [#705](https://github.com/stripe/stripe-ruby/pull/705) Add support for the `Review` APIs
1668
1021
 
1669
1022
  ## 4.1.0 - 2018-11-27
1670
-
1671
- - [#695](https://github.com/stripe/stripe-ruby/pull/695) Add support for `ValueList` and `ValueListItem` for Radar
1023
+ * [#695](https://github.com/stripe/stripe-ruby/pull/695) Add support for `ValueList` and `ValueListItem` for Radar
1672
1024
 
1673
1025
  ## 4.0.3 - 2018-11-19
1674
-
1675
- - [#703](https://github.com/stripe/stripe-ruby/pull/703) Don't use `Net::HTTP::Persistent` on Windows where it's not well supported
1026
+ * [#703](https://github.com/stripe/stripe-ruby/pull/703) Don't use `Net::HTTP::Persistent` on Windows where it's not well supported
1676
1027
 
1677
1028
  ## 4.0.2 - 2018-11-16
1678
-
1679
- - [#701](https://github.com/stripe/stripe-ruby/pull/701) Require minimum Faraday 0.13 for proper support of persistent connections
1029
+ * [#701](https://github.com/stripe/stripe-ruby/pull/701) Require minimum Faraday 0.13 for proper support of persistent connections
1680
1030
 
1681
1031
  ## 4.0.1 - 2018-11-15
1682
-
1683
- - [#699](https://github.com/stripe/stripe-ruby/pull/699) Only send telemetry if `Request-Id` was present in the response
1032
+ * [#699](https://github.com/stripe/stripe-ruby/pull/699) Only send telemetry if `Request-Id` was present in the response
1684
1033
 
1685
1034
  ## 4.0.0 - 2018-11-15
1686
-
1687
- - [#698](https://github.com/stripe/stripe-ruby/pull/698) Use persistent connections by default through `Net::HTTP::Persistent`
1688
- - [#698](https://github.com/stripe/stripe-ruby/pull/698) Drop support for Ruby 2.0 (which we consider a breaking change here)
1035
+ * [#698](https://github.com/stripe/stripe-ruby/pull/698) Use persistent connections by default through `Net::HTTP::Persistent`
1036
+ * [#698](https://github.com/stripe/stripe-ruby/pull/698) Drop support for Ruby 2.0 (which we consider a breaking change here)
1689
1037
 
1690
1038
  ## 3.31.1 - 2018-11-12
1691
-
1692
- - [#697](https://github.com/stripe/stripe-ruby/pull/697) Send telemetry in milliseconds specifically
1039
+ * [#697](https://github.com/stripe/stripe-ruby/pull/697) Send telemetry in milliseconds specifically
1693
1040
 
1694
1041
  ## 3.31.0 - 2018-11-12
1695
-
1696
- - [#696](https://github.com/stripe/stripe-ruby/pull/696) Add configurable telemetry to gather information on client-side request latency
1042
+ * [#696](https://github.com/stripe/stripe-ruby/pull/696) Add configurable telemetry to gather information on client-side request latency
1697
1043
 
1698
1044
  ## 3.30.0 - 2018-11-08
1699
-
1700
- - [#693](https://github.com/stripe/stripe-ruby/pull/693) Add new API endpoints for the `Invoice` resource.
1045
+ * [#693](https://github.com/stripe/stripe-ruby/pull/693) Add new API endpoints for the `Invoice` resource.
1701
1046
 
1702
1047
  ## 3.29.0 - 2018-10-30
1703
-
1704
- - [#692](https://github.com/stripe/stripe-ruby/pull/692) Add support for the `Person` resource
1705
- - [#694](https://github.com/stripe/stripe-ruby/pull/694) Add support for the `WebhookEndpoint` resource
1048
+ * [#692](https://github.com/stripe/stripe-ruby/pull/692) Add support for the `Person` resource
1049
+ * [#694](https://github.com/stripe/stripe-ruby/pull/694) Add support for the `WebhookEndpoint` resource
1706
1050
 
1707
1051
  ## 3.28.0 - 2018-09-24
1708
-
1709
- - [#690](https://github.com/stripe/stripe-ruby/pull/690) Add support for Stripe Terminal
1052
+ * [#690](https://github.com/stripe/stripe-ruby/pull/690) Add support for Stripe Terminal
1710
1053
 
1711
1054
  ## 3.27.0 - 2018-09-24
1712
-
1713
- - [#689](https://github.com/stripe/stripe-ruby/pull/689) Rename `FileUpload` to `File`
1055
+ * [#689](https://github.com/stripe/stripe-ruby/pull/689) Rename `FileUpload` to `File`
1714
1056
 
1715
1057
  ## 3.26.1 - 2018-09-14
1716
-
1717
- - [#688](https://github.com/stripe/stripe-ruby/pull/688) Fix hash equality on `StripeObject`
1058
+ * [#688](https://github.com/stripe/stripe-ruby/pull/688) Fix hash equality on `StripeObject`
1718
1059
 
1719
1060
  ## 3.26.0 - 2018-09-05
1720
-
1721
- - [#681](https://github.com/stripe/stripe-ruby/pull/681) Add support for reporting resources
1061
+ * [#681](https://github.com/stripe/stripe-ruby/pull/681) Add support for reporting resources
1722
1062
 
1723
1063
  ## 3.25.0 - 2018-08-28
1724
-
1725
- - [#678](https://github.com/stripe/stripe-ruby/pull/678) Allow payment intent `#cancel`, `#capture`, and `#confirm` to take their own parameters
1064
+ * [#678](https://github.com/stripe/stripe-ruby/pull/678) Allow payment intent `#cancel`, `#capture`, and `#confirm` to take their own parameters
1726
1065
 
1727
1066
  ## 3.24.0 - 2018-08-27
1728
-
1729
- - [#675](https://github.com/stripe/stripe-ruby/pull/675) Remove support for `BitcoinReceiver` write-actions
1067
+ * [#675](https://github.com/stripe/stripe-ruby/pull/675) Remove support for `BitcoinReceiver` write-actions
1730
1068
 
1731
1069
  ## 3.23.0 - 2018-08-23
1732
-
1733
- - [#676](https://github.com/stripe/stripe-ruby/pull/676) Add support for usage record summaries
1070
+ * [#676](https://github.com/stripe/stripe-ruby/pull/676) Add support for usage record summaries
1734
1071
 
1735
1072
  ## 3.22.0 - 2018-08-15
1736
-
1737
- - [#674](https://github.com/stripe/stripe-ruby/pull/674) Use integer-indexed encoding for all arrays
1073
+ * [#674](https://github.com/stripe/stripe-ruby/pull/674) Use integer-indexed encoding for all arrays
1738
1074
 
1739
1075
  ## 3.21.0 - 2018-08-03
1740
-
1741
- - [#671](https://github.com/stripe/stripe-ruby/pull/671) Add cancel support for topups
1076
+ * [#671](https://github.com/stripe/stripe-ruby/pull/671) Add cancel support for topups
1742
1077
 
1743
1078
  ## 3.20.0 - 2018-08-03
1744
-
1745
- - [#669](https://github.com/stripe/stripe-ruby/pull/669) Add support for file links
1079
+ * [#669](https://github.com/stripe/stripe-ruby/pull/669) Add support for file links
1746
1080
 
1747
1081
  ## 3.19.0 - 2018-07-27
1748
-
1749
- - [#666](https://github.com/stripe/stripe-ruby/pull/666) Add support for scheduled query runs (`Stripe::Sigma::ScheduledQueryRun`) for Sigma
1082
+ * [#666](https://github.com/stripe/stripe-ruby/pull/666) Add support for scheduled query runs (`Stripe::Sigma::ScheduledQueryRun`) for Sigma
1750
1083
 
1751
1084
  ## 3.18.0 - 2018-07-26
1752
-
1753
- - [#665](https://github.com/stripe/stripe-ruby/pull/665) Add support for Stripe Issuing
1085
+ * [#665](https://github.com/stripe/stripe-ruby/pull/665) Add support for Stripe Issuing
1754
1086
 
1755
1087
  ## 3.17.2 - 2018-07-19
1756
-
1757
- - [#664](https://github.com/stripe/stripe-ruby/pull/664) Don't colorize log output being sent to a configured logger
1088
+ * [#664](https://github.com/stripe/stripe-ruby/pull/664) Don't colorize log output being sent to a configured logger
1758
1089
 
1759
1090
  ## 3.17.1 - 2018-07-19
1760
-
1761
- - [#663](https://github.com/stripe/stripe-ruby/pull/663) Internal improvements to `ApiResource.class_url`
1091
+ * [#663](https://github.com/stripe/stripe-ruby/pull/663) Internal improvements to `ApiResource.class_url`
1762
1092
 
1763
1093
  ## 3.17.0 - 2018-06-28
1764
-
1765
- - [#658](https://github.com/stripe/stripe-ruby/pull/658) Add support for `partner_id` from `Stripe.set_app_info`
1094
+ * [#658](https://github.com/stripe/stripe-ruby/pull/658) Add support for `partner_id` from `Stripe.set_app_info`
1766
1095
 
1767
1096
  ## 3.16.0 - 2018-06-28
1768
-
1769
- - [#657](https://github.com/stripe/stripe-ruby/pull/657) Add support for payment intents
1097
+ * [#657](https://github.com/stripe/stripe-ruby/pull/657) Add support for payment intents
1770
1098
 
1771
1099
  ## 3.15.0 - 2018-05-10
1772
-
1773
- - [#649](https://github.com/stripe/stripe-ruby/pull/649) Freeze all string literals
1100
+ * [#649](https://github.com/stripe/stripe-ruby/pull/649) Freeze all string literals
1774
1101
 
1775
1102
  ## 3.14.0 - 2018-05-09
1776
-
1777
- - [#645](https://github.com/stripe/stripe-ruby/pull/645) Add support for issuer fraud records
1103
+ * [#645](https://github.com/stripe/stripe-ruby/pull/645) Add support for issuer fraud records
1778
1104
 
1779
1105
  ## 3.13.1 - 2018-05-07
1780
-
1781
- - [#647](https://github.com/stripe/stripe-ruby/pull/647) Merge query parameters coming from path with `params` argument
1106
+ * [#647](https://github.com/stripe/stripe-ruby/pull/647) Merge query parameters coming from path with `params` argument
1782
1107
 
1783
1108
  ## 3.13.0 - 2018-04-11
1784
-
1785
- - [#498](https://github.com/stripe/stripe-ruby/pull/498) Add support for flexible billing primitives
1109
+ * [#498](https://github.com/stripe/stripe-ruby/pull/498) Add support for flexible billing primitives
1786
1110
 
1787
1111
  ## 3.12.1 - 2018-04-05
1788
-
1789
- - [#636](https://github.com/stripe/stripe-ruby/pull/636) Fix a warning for uninitialized instance variable `@additive_params`
1112
+ * [#636](https://github.com/stripe/stripe-ruby/pull/636) Fix a warning for uninitialized instance variable `@additive_params`
1790
1113
 
1791
1114
  ## 3.12.0 - 2018-04-05
1792
-
1793
- - [#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
1115
+ * [#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
1794
1116
 
1795
1117
  ## 3.11.0 - 2018-02-26
1796
-
1797
- - [#628](https://github.com/stripe/stripe-ruby/pull/628) Add support for `code` attribute on all Stripe exceptions
1118
+ * [#628](https://github.com/stripe/stripe-ruby/pull/628) Add support for `code` attribute on all Stripe exceptions
1798
1119
 
1799
1120
  ## 3.10.0 - 2018-02-21
1800
-
1801
- - [#627](https://github.com/stripe/stripe-ruby/pull/627) Add support for topups
1121
+ * [#627](https://github.com/stripe/stripe-ruby/pull/627) Add support for topups
1802
1122
 
1803
1123
  ## 3.9.2 - 2018-02-12
1804
-
1805
- - [#625](https://github.com/stripe/stripe-ruby/pull/625) Skip calling `to_hash` for `nil`
1124
+ * [#625](https://github.com/stripe/stripe-ruby/pull/625) Skip calling `to_hash` for `nil`
1806
1125
 
1807
1126
  ## 3.9.1 - 2017-12-15
1808
-
1809
- - [#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)
1127
+ * [#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)
1810
1128
 
1811
1129
  ## 3.9.0 - 2017-12-08
1812
-
1813
- - [#613](https://github.com/stripe/stripe-ruby/pull/613) Introduce new `IdempotencyError` type for idempotency-specific failures
1130
+ * [#613](https://github.com/stripe/stripe-ruby/pull/613) Introduce new `IdempotencyError` type for idempotency-specific failures
1814
1131
 
1815
1132
  ## 3.8.2 - 2017-12-07
1816
-
1817
- - [#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)
1133
+ * [#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)
1818
1134
 
1819
1135
  ## 3.8.1 - 2017-12-06
1820
-
1821
- - [#611](https://github.com/stripe/stripe-ruby/pull/611) Support `Tempfile` (as well as `File`) in file uploads
1136
+ * [#611](https://github.com/stripe/stripe-ruby/pull/611) Support `Tempfile` (as well as `File`) in file uploads
1822
1137
 
1823
1138
  ## 3.8.0 - 2017-10-31
1824
-
1825
- - [#606](https://github.com/stripe/stripe-ruby/pull/606) Support for exchange rates APIs
1139
+ * [#606](https://github.com/stripe/stripe-ruby/pull/606) Support for exchange rates APIs
1826
1140
 
1827
1141
  ## 3.7.0 - 2017-10-26
1828
-
1829
- - [#603](https://github.com/stripe/stripe-ruby/pull/603) Support for listing source transactions
1142
+ * [#603](https://github.com/stripe/stripe-ruby/pull/603) Support for listing source transactions
1830
1143
 
1831
1144
  ## 3.6.0 - 2017-10-17
1832
-
1833
- - [#597](https://github.com/stripe/stripe-ruby/pull/597) Add static methods to manipulate resources from parent
1834
- - `Account` gains methods for external accounts and login links (e.g. `.create_account`, `create_login_link`)
1835
- - `ApplicationFee` gains methods for refunds
1836
- - `Customer` gains methods for sources
1837
- - `Transfer` gains methods for reversals
1145
+ * [#597](https://github.com/stripe/stripe-ruby/pull/597) Add static methods to manipulate resources from parent
1146
+ * `Account` gains methods for external accounts and login links (e.g. `.create_account`, `create_login_link`)
1147
+ * `ApplicationFee` gains methods for refunds
1148
+ * `Customer` gains methods for sources
1149
+ * `Transfer` gains methods for reversals
1838
1150
 
1839
1151
  ## 3.5.3 - 2017-10-16
1840
-
1841
- - [#594](https://github.com/stripe/stripe-ruby/pull/594) Make sure that `StripeObject`'s `#deep_copy` maintains original class
1842
- - [#595](https://github.com/stripe/stripe-ruby/pull/595) Allow `Object#method` to be called on `StripeObject` even if it conflicts with an accessor
1843
- - [#596](https://github.com/stripe/stripe-ruby/pull/596) Encode arrays as integer-indexed hashes where appropriate
1844
- - [#598](https://github.com/stripe/stripe-ruby/pull/598) Don't persist `idempotency_key` opt between requests
1152
+ * [#594](https://github.com/stripe/stripe-ruby/pull/594) Make sure that `StripeObject`'s `#deep_copy` maintains original class
1153
+ * [#595](https://github.com/stripe/stripe-ruby/pull/595) Allow `Object#method` to be called on `StripeObject` even if it conflicts with an accessor
1154
+ * [#596](https://github.com/stripe/stripe-ruby/pull/596) Encode arrays as integer-indexed hashes where appropriate
1155
+ * [#598](https://github.com/stripe/stripe-ruby/pull/598) Don't persist `idempotency_key` opt between requests
1845
1156
 
1846
1157
  ## 3.5.2 - 2017-10-13
1847
-
1848
- - [#592](https://github.com/stripe/stripe-ruby/pull/592) Bring back `Marshal.dump/load` support with custom marshal encoder/decoder
1158
+ * [#592](https://github.com/stripe/stripe-ruby/pull/592) Bring back `Marshal.dump/load` support with custom marshal encoder/decoder
1849
1159
 
1850
1160
  ## 3.5.1 - 2017-10-12
1851
-
1852
- - [#591](https://github.com/stripe/stripe-ruby/pull/591) Use thread-local `StripeClient` instances for thread safety
1161
+ * [#591](https://github.com/stripe/stripe-ruby/pull/591) Use thread-local `StripeClient` instances for thread safety
1853
1162
 
1854
1163
  ## 3.5.0 - 2017-10-11
1855
-
1856
- - [#589](https://github.com/stripe/stripe-ruby/pull/589) Rename source `delete` to `detach` (and deprecate the former)
1164
+ * [#589](https://github.com/stripe/stripe-ruby/pull/589) Rename source `delete` to `detach` (and deprecate the former)
1857
1165
 
1858
1166
  ## 3.4.1 - 2017-10-05
1859
-
1860
- - [#586](https://github.com/stripe/stripe-ruby/pull/586) Log query strings as well as form bodies with STRIPE_LOG
1861
- - [#588](https://github.com/stripe/stripe-ruby/pull/588) Require minimum Faraday 0.10 for bug fix in parameter encoding
1167
+ * [#586](https://github.com/stripe/stripe-ruby/pull/586) Log query strings as well as form bodies with STRIPE_LOG
1168
+ * [#588](https://github.com/stripe/stripe-ruby/pull/588) Require minimum Faraday 0.10 for bug fix in parameter encoding
1862
1169
 
1863
1170
  ## 3.4.0 - 2017-09-20
1864
-
1865
- - Mark legacy Bitcoin API as deprecated, and remove corresponding tests
1866
- - Mark recipients API as deprecated, and remove recipient card tests
1171
+ * Mark legacy Bitcoin API as deprecated, and remove corresponding tests
1172
+ * Mark recipients API as deprecated, and remove recipient card tests
1867
1173
 
1868
1174
  ## 3.3.2 - 2017-09-20
1869
-
1870
- - Correct minimum required Ruby version in gemspec (it's 2.0.0)
1175
+ * Correct minimum required Ruby version in gemspec (it's 2.0.0)
1871
1176
 
1872
1177
  ## 3.3.1 - 2017-08-18
1873
-
1874
- - Only parse webhook payload after verification to decrease likelihood of
1178
+ * Only parse webhook payload after verification to decrease likelihood of
1875
1179
  attack
1876
1180
 
1877
1181
  ## 3.3.0 - 2017-08-11
1878
-
1879
- - Add support for standard library logger interface with `Stripe.logger`
1880
- - Error logs now go to stderr if using `Stripe.log_level`/`STRIPE_LOG`
1881
- - `Stripe.log_level`/`STRIPE_LOG` now support `Stipe::LEVEL_ERROR`
1182
+ * Add support for standard library logger interface with `Stripe.logger`
1183
+ * Error logs now go to stderr if using `Stripe.log_level`/`STRIPE_LOG`
1184
+ * `Stripe.log_level`/`STRIPE_LOG` now support `Stipe::LEVEL_ERROR`
1882
1185
 
1883
1186
  ## 3.2.0 - 2017-08-03
1884
-
1885
- - Add logging for request retry account and `Stripe-Account` header
1187
+ * Add logging for request retry account and `Stripe-Account` header
1886
1188
 
1887
1189
  ## 3.1.0 - 2017-08-03
1888
-
1889
- - Implement request logging with `Stripe.log_level` and `STRIPE_LOG`
1190
+ * Implement request logging with `Stripe.log_level` and `STRIPE_LOG`
1890
1191
 
1891
1192
  ## 3.0.3 - 2017-07-28
1892
-
1893
- - Revert `nil` to empty string coercion from 3.0.2
1894
- - Handle `invalid_client` OAuth error code
1895
- - Improve safety of error handling logic safer for unrecognized OAuth error codes
1193
+ * Revert `nil` to empty string coercion from 3.0.2
1194
+ * Handle `invalid_client` OAuth error code
1195
+ * Improve safety of error handling logic safer for unrecognized OAuth error codes
1896
1196
 
1897
1197
  ## 3.0.2 - 2017-07-12
1898
-
1899
1198
  **Important:** This version is non-functional and has been yanked in favor of 3.0.3.
1900
-
1901
- - Convert `nil` to empty string when serializing parameters (instead of opaquely dropping it) -- NOTE: this change has since been reverted
1199
+ * Convert `nil` to empty string when serializing parameters (instead of opaquely dropping it) -- NOTE: this change has since been reverted
1902
1200
 
1903
1201
  ## 3.0.1 - 2017-07-11
1904
-
1905
- - Properties set with an API resource will now serialize that resource's ID if possible
1906
- - API resources will throw an ArgumentError on save if a property has been with an API resource that cannot be serialized
1202
+ * Properties set with an API resource will now serialize that resource's ID if possible
1203
+ * API resources will throw an ArgumentError on save if a property has been with an API resource that cannot be serialized
1907
1204
 
1908
1205
  ## 3.0.0 - 2017-06-27
1909
-
1910
- - `#pay` on invoice now takes params as well as opts
1206
+ * `#pay` on invoice now takes params as well as opts
1911
1207
 
1912
1208
  ## 2.12.0 - 2017-06-20
1913
-
1914
- - Add support for ephemeral keys
1209
+ * Add support for ephemeral keys
1915
1210
 
1916
1211
  ## 2.11.0 - 2017-05-26
1917
-
1918
- - Warn when keys that look like opts are included as parameters
1212
+ * Warn when keys that look like opts are included as parameters
1919
1213
 
1920
1214
  ## 2.10.0 - 2017-05-25
1921
-
1922
- - Add support for account login links
1215
+ * Add support for account login links
1923
1216
 
1924
1217
  ## 2.9.0 - 2017-05-18
1925
-
1926
- - Support for OAuth operations in `Stripe::OAuth`
1218
+ * Support for OAuth operations in `Stripe::OAuth`
1927
1219
 
1928
1220
  ## 2.8.0 - 2017-04-28
1929
-
1930
- - Support for checking webhook signatures
1221
+ * Support for checking webhook signatures
1931
1222
 
1932
1223
  ## 2.7.0 - 2017-04-26
1933
-
1934
- - Add model `InvoiceLineItem`
1224
+ * Add model `InvoiceLineItem`
1935
1225
 
1936
1226
  ## 2.6.0 - 2017-04-26
1937
-
1938
- - Add `OBJECT_NAME` constants to all API resources
1227
+ * Add `OBJECT_NAME` constants to all API resources
1939
1228
 
1940
1229
  ## 2.5.0 - 2017-04-24
1941
-
1942
- - Make `opts` argument in `Util.convert_to_stripe_object` optional
1230
+ * Make `opts` argument in `Util.convert_to_stripe_object` optional
1943
1231
 
1944
1232
  ## 2.4.0 - 2017-04-18
1945
-
1946
- - Add `Stripe.set_app_info` for use by plugin creators
1233
+ * Add `Stripe.set_app_info` for use by plugin creators
1947
1234
 
1948
1235
  ## 2.3.0 - 2017-04-14
1949
-
1950
- - Add question mark accessor when assigning boolean value to undefined field
1236
+ * Add question mark accessor when assigning boolean value to undefined field
1951
1237
 
1952
1238
  ## 2.2.1 - 2017-04-07
1953
-
1954
- - Declare minimum required Faraday as 0.9
1239
+ * Declare minimum required Faraday as 0.9
1955
1240
 
1956
1241
  ## 2.2.0 - 2017-04-06
1957
-
1958
- - Add support for payouts and recipient transfers
1242
+ * Add support for payouts and recipient transfers
1959
1243
 
1960
1244
  ## 2.1.0 - 2017-03-17
1961
-
1962
- - Support for detaching sources from customers
1245
+ * Support for detaching sources from customers
1963
1246
 
1964
1247
  ## 2.0.3 - 2017-03-16
1965
-
1966
- - Fix marshalling of `StripeObjects` that have an embedded client
1248
+ * Fix marshalling of `StripeObjects` that have an embedded client
1967
1249
 
1968
1250
  ## 2.0.2 - 2017-03-16
1969
-
1970
- - Fix bad field reference when recovering from a JSON parsing problem
1251
+ * Fix bad field reference when recovering from a JSON parsing problem
1971
1252
 
1972
1253
  ## 2.0.1 - 2017-02-22
1973
-
1974
- - Fix multipart parameter encoding to repair broken file uploads
1254
+ * Fix multipart parameter encoding to repair broken file uploads
1975
1255
 
1976
1256
  ## 2.0.0 - 2017-02-14
1977
-
1978
- - Drop support for Ruby 1.9
1979
- - Allow HTTP client that makes Stripe calls to be configured via Faraday
1980
- - Drop RestClient
1981
- - Switch to OpenAPI 2.0 spec and generated fixtures in test suite
1982
- - Switch to Webmock in test suite
1257
+ * Drop support for Ruby 1.9
1258
+ * Allow HTTP client that makes Stripe calls to be configured via Faraday
1259
+ * Drop RestClient
1260
+ * Switch to OpenAPI 2.0 spec and generated fixtures in test suite
1261
+ * Switch to Webmock in test suite
1983
1262
 
1984
1263
  ## 1.58.0 - 2017-01-19
1985
-
1986
- - Remove erroneously added list methods for `Source` model
1264
+ * Remove erroneously added list methods for `Source` model
1987
1265
 
1988
1266
  ## 1.57.1 - 2016-11-28
1989
-
1990
- - Disallow sending protected fields along with API resource `.update`
1267
+ * Disallow sending protected fields along with API resource `.update`
1991
1268
 
1992
1269
  ## 1.57.0 - 2016-11-21
1993
-
1994
- - Add retrieve method for 3-D Secure resources
1270
+ * Add retrieve method for 3-D Secure resources
1995
1271
 
1996
1272
  ## 1.56.2 - 2016-11-17
1997
-
1998
- - Improve `StripeObject`'s `#to_s` to better handle how embedded objects are displayed
1273
+ * Improve `StripeObject`'s `#to_s` to better handle how embedded objects are displayed
1999
1274
 
2000
1275
  ## 1.56.1 - 2016-11-09
2001
-
2002
- - Fix (fairly serious) memory like in `StripeObject`
1276
+ * Fix (fairly serious) memory like in `StripeObject`
2003
1277
 
2004
1278
  ## 1.56.0 - 2016-10-24
2005
-
2006
- - Add accessors for new fields added in `#update_attributes`
2007
- - Handle multi-plan subscriptions through new subscription items
2008
- - Handle 403 status codes from the API
1279
+ * Add accessors for new fields added in `#update_attributes`
1280
+ * Handle multi-plan subscriptions through new subscription items
1281
+ * Handle 403 status codes from the API
2009
1282
 
2010
1283
  ## 1.55.1 - 2016-10-24
2011
-
2012
1284
  Identical to 1.56.0 above. I incorrectly cut a patch-level release.
2013
1285
 
2014
1286
  ## 1.55.0 - 2016-09-15
2015
-
2016
- - Add support for Apple Pay domains
1287
+ * Add support for Apple Pay domains
2017
1288
 
2018
1289
  ## 1.54.0 - 2016-09-01
2019
-
2020
- - Whitelist errors that should be retried; scope to known socket and HTTP errors
1290
+ * Whitelist errors that should be retried; scope to known socket and HTTP errors
2021
1291
 
2022
1292
  ## 1.53.0 - 2016-08-31
2023
-
2024
- - Relax version constraint on rest-client (and by extension mime-types) for users on Ruby 2+
1293
+ * Relax version constraint on rest-client (and by extension mime-types) for users on Ruby 2+
2025
1294
 
2026
1295
  ## 1.52.0 - 2016-08-30
2027
-
2028
- - Make sure `Subscription`'s `source` is saved with its parent
1296
+ * Make sure `Subscription`'s `source` is saved with its parent
2029
1297
 
2030
1298
  ## 1.51.1 - 2016-08-30
2031
-
2032
- - Make sure `Account`'s `external_account` is saved with its parent
1299
+ * Make sure `Account`'s `external_account` is saved with its parent
2033
1300
 
2034
1301
  ## 1.51.0 - 2016-08-26
2035
-
2036
- - Error when an array of maps is detected that cannot be accurately encoded
2037
- - Start using strings for header names instead of symbols for better clarity
1302
+ * Error when an array of maps is detected that cannot be accurately encoded
1303
+ * Start using strings for header names instead of symbols for better clarity
2038
1304
 
2039
1305
  ## 1.50.1 - 2016-08-25
2040
-
2041
- - Fix encoding of arrays of maps where maps unequal sets of keys
1306
+ * Fix encoding of arrays of maps where maps unequal sets of keys
2042
1307
 
2043
1308
  ## 1.50.0 - 2016-08-15
2044
-
2045
- - Allow sources to be created
1309
+ * Allow sources to be created
2046
1310
 
2047
1311
  ## 1.49.0 - 2016-07-28
2048
-
2049
- - Add top-level `Source` model
1312
+ * Add top-level `Source` model
2050
1313
 
2051
1314
  ## 1.48.0 - 2016-07-12
2052
-
2053
- - Add `ThreeDSecure` model for 3-D secure payments
1315
+ * Add `ThreeDSecure` model for 3-D secure payments
2054
1316
 
2055
1317
  ## 1.47.0 - 2016-07-11
2056
-
2057
- - Allow rest-client version 2.0+ to be used with the gem
1318
+ * Allow rest-client version 2.0+ to be used with the gem
2058
1319
 
2059
1320
  ## 1.46.0 - 2016-07-07
2060
-
2061
- - Allow retry when a 409 conflict is encountered
1321
+ * Allow retry when a 409 conflict is encountered
2062
1322
 
2063
1323
  ## 1.45.0 - 2016-07-07
2064
-
2065
- - Do not send subresources when updating except when explicitly told to do so (see #433)
1324
+ * Do not send subresources when updating except when explicitly told to do so (see #433)
2066
1325
 
2067
1326
  ## 1.44.0 - 2016-06-29
2068
-
2069
- - Add `update` class method to all resources that can be updated
1327
+ * Add `update` class method to all resources that can be updated
2070
1328
 
2071
1329
  ## 1.43.1 - 2016-06-17
2072
-
2073
- - Fix type of resource returned from `Order#return_order`
1330
+ * Fix type of resource returned from `Order#return_order`
2074
1331
 
2075
1332
  ## 1.43.0 - 2016-05-20
2076
-
2077
- - Allow Relay orders to be returned and add associated types
2078
- - Support Alipay account retrieval and deletion
1333
+ * Allow Relay orders to be returned and add associated types
1334
+ * Support Alipay account retrieval and deletion
2079
1335
 
2080
1336
  ## 1.42.0 - 2016-05-04
2081
-
2082
- - Add support for the new /v1/subscriptions endpoint (retrieve, list, create, update, and delete)
1337
+ * Add support for the new /v1/subscriptions endpoint (retrieve, list, create, update, and delete)
2083
1338
 
2084
1339
  ## 1.41.0 - 2016-04-13
2085
-
2086
- - Add global `stripe_account` option that adds a `Stripe-Account` header to all requests
1340
+ * Add global `stripe_account` option that adds a `Stripe-Account` header to all requests
2087
1341
 
2088
1342
  ## 1.40.0 - 2016-04-06
2089
-
2090
- - Fix bug that omitted subresources from serialization
1343
+ * Fix bug that omitted subresources from serialization
2091
1344
 
2092
1345
  ## 1.39.0 - 2016-03-31
2093
-
2094
- - Update CA cert bundle for compatibility with OpenSSL versions below 1.0.1
1346
+ * Update CA cert bundle for compatibility with OpenSSL versions below 1.0.1
2095
1347
 
2096
1348
  ## 1.38.0 - 2016-03-18
2097
-
2098
- - Allow `opts` to be passed to an API resource's `#save` method
1349
+ * Allow `opts` to be passed to an API resource's `#save` method
2099
1350
 
2100
1351
  ## 1.37.0 - 2016-03-14
2101
-
2102
- - Add `Account#reject` to support the new API feature
1352
+ * Add `Account#reject` to support the new API feature
2103
1353
 
2104
1354
  ## 1.36.2 - 2016-03-14
2105
-
2106
- - Fix reference to non-existent `#url` in `ListObject`
1355
+ * Fix reference to non-existent `#url` in `ListObject`
2107
1356
 
2108
1357
  ## 1.36.1 - 2016-03-04
2109
-
2110
- - Fix serialization when subhash given to `#save` or `#update_attributes`
1358
+ * Fix serialization when subhash given to `#save` or `#update_attributes`
2111
1359
 
2112
1360
  ## 1.36.0 - 2016-02-08
2113
-
2114
- - Add `CountrySpec` model for looking up country payment information
1361
+ * Add `CountrySpec` model for looking up country payment information
2115
1362
 
2116
1363
  ## 1.35.1 - 2016-02-03
2117
-
2118
- - Add compatibility layer for old API versions on `Charge#refund`
1364
+ * Add compatibility layer for old API versions on `Charge#refund`
2119
1365
 
2120
1366
  ## 1.35.0 - 2016-02-01
2121
-
2122
- - Allow CA cert bundle location to be configured
2123
- - Updated bundled CA certs
1367
+ * Allow CA cert bundle location to be configured
1368
+ * Updated bundled CA certs
2124
1369
 
2125
1370
  ## 1.34.0 - 2016-01-25
2126
-
2127
- - Add support for deleting products and SKUs
1371
+ * Add support for deleting products and SKUs
2128
1372
 
2129
1373
  ## 1.33.1 - 2016-01-21
2130
-
2131
- - Pass through arguments of `Charge#refund`
1374
+ * Pass through arguments of `Charge#refund`
2132
1375
 
2133
1376
  ## 1.33.0 - 2016-01-19
2134
-
2135
- - Re-implement `Charge#refund` helper to use the modern endpoint suggested by docs
1377
+ * Re-implement `Charge#refund` helper to use the modern endpoint suggested by docs
2136
1378
 
2137
1379
  ## 1.32.1 - 2016-01-07
2138
-
2139
- - Fix bug where ivar left uninitialized in StripeObject could error on serialization
2140
- - Fix bug where a nil customer from API could error Bitcoin model on refresh
1380
+ * Fix bug where ivar left uninitialized in StripeObject could error on serialization
1381
+ * Fix bug where a nil customer from API could error Bitcoin model on refresh
2141
1382
 
2142
1383
  ## 1.32.0 - 2016-01-05
2143
-
2144
- - Add configuration to optionally retry network failures
2145
- - Use modern API endpoint for producing application fee refunds
1384
+ * Add configuration to optionally retry network failures
1385
+ * Use modern API endpoint for producing application fee refunds
2146
1386
 
2147
1387
  ## 1.31.0 - 2015-10-29
2148
-
2149
- - Add BankAccount#verify convenience method
1388
+ * Add BankAccount#verify convenience method
2150
1389
 
2151
1390
  ## 1.30.3 - 2015-10-28
2152
-
2153
- - Fix bug where arrays that were not `additional_owners` were not properly encoded for requests
1391
+ * Fix bug where arrays that were not `additional_owners` were not properly encoded for requests
2154
1392
 
2155
1393
  ## 1.30.2 - 2015-10-12
2156
-
2157
- - Fix bug where `opts` didn't properly propagate to descendant `StripeObjects`
1394
+ * Fix bug where `opts` didn't properly propagate to descendant `StripeObjects`
2158
1395
 
2159
1396
  ## 1.30.1 - 2015-10-10
2160
-
2161
- - Fix bug that prevent lists of hashes from being URI-encoded properly
2162
- - Fix bug where filter conditions were not making it past the first instantiated `ListObject`
1397
+ * Fix bug that prevent lists of hashes from being URI-encoded properly
1398
+ * Fix bug where filter conditions were not making it past the first instantiated `ListObject`
2163
1399
 
2164
1400
  ## 1.30.0 - 2015-10-09
2165
-
2166
- - Add `StripeObject#deleted?` for a reliable way to check whether an object is alive
2167
- - Deprecate `StripeObject#refresh_from`
2168
- - New parameter encoding scheme that doesn't use `URI.escape`
1401
+ * Add `StripeObject#deleted?` for a reliable way to check whether an object is alive
1402
+ * Deprecate `StripeObject#refresh_from`
1403
+ * New parameter encoding scheme that doesn't use `URI.escape`
2169
1404
 
2170
1405
  ## 1.29.1 - 2015-10-06
2171
-
2172
- - Fix bug where ampersands were not being properly encoded
1406
+ * Fix bug where ampersands were not being properly encoded
2173
1407
 
2174
1408
  ## 1.29.0 - 2015-10-05
2175
-
2176
- - Add pagination helpers `#auto_paging_each`, `#previous_page`, and `#next_page`
1409
+ * Add pagination helpers `#auto_paging_each`, `#previous_page`, and `#next_page`
2177
1410
 
2178
1411
  ## 1.28.1 - 2015-10-05
2179
-
2180
- - Fix URI being referenced by file upload resources
1412
+ * Fix URI being referenced by file upload resources
2181
1413
 
2182
1414
  ## 1.28.0 - 2015-10-05
2183
-
2184
- - Make StripeObject's #save "upsert"-like; creates an object if new
2185
- - Add #update_attributes to StripeObject for safe mass assignment
2186
- - Properly mass assign attributes on calls to #save
2187
- - Add question mark helpers for boolean fields (e.g. #paid? as well as old #paid)
2188
- - Fix a bug that broke the API for StripeObject initialization
2189
- - Remove use of deprecated URI.escape
1415
+ * Make StripeObject's #save "upsert"-like; creates an object if new
1416
+ * Add #update_attributes to StripeObject for safe mass assignment
1417
+ * Properly mass assign attributes on calls to #save
1418
+ * Add question mark helpers for boolean fields (e.g. #paid? as well as old #paid)
1419
+ * Fix a bug that broke the API for StripeObject initialization
1420
+ * Remove use of deprecated URI.escape
2190
1421
 
2191
1422
  ## 1.27.2 - 2015-09-25
2192
-
2193
- - Correct the URLs used to fetch Bitcoin transactions.
1423
+ * Correct the URLs used to fetch Bitcoin transactions.
2194
1424
 
2195
1425
  ## 1.27.1 - 2015-09-20
2196
-
2197
- - Use hash rockets for backwards compatibility.
1426
+ * Use hash rockets for backwards compatibility.
2198
1427
 
2199
1428
  ## 1.27.0 - 2015-09-14
2200
-
2201
- - Add Orders, Products, and SKUs for Relay
1429
+ * Add Orders, Products, and SKUs for Relay
2202
1430
 
2203
1431
  ## 1.26.0 - 2015-09-11
2204
-
2205
- - Add support for 429 Rate Limited response
1432
+ * Add support for 429 Rate Limited response
2206
1433
 
2207
1434
  ## 1.25.0 - 2015-08-17
2208
-
2209
- - Added support for refund listing and retrieval without an associated charge
1435
+ * Added support for refund listing and retrieval without an associated charge
2210
1436
 
2211
1437
  ## 1.24.0 - 2015-08-03
2212
-
2213
- - Added support for deleting managed accounts
2214
- - Added support for dispute listing and retrieval
2215
- - Bugfix: token objects now are the correct class
1438
+ * Added support for deleting managed accounts
1439
+ * Added support for dispute listing and retrieval
1440
+ * Bugfix: token objects now are the correct class
2216
1441
 
2217
1442
  ## 1.23.0 - 2015-07-06
2218
-
2219
- - Added request IDs and HTTP headers to errors
1443
+ * Added request IDs and HTTP headers to errors
2220
1444
 
2221
1445
  ## 1.22.0 - 2015-06-10
2222
-
2223
- - Added support for bank accounts and debit cards in managed accounts (via the `external_accounts` param)
1446
+ * Added support for bank accounts and debit cards in managed accounts (via the `external_accounts` param)
2224
1447
 
2225
1448
  ## 1.21.0 - 2015-04-14
2226
-
2227
- - Remove TLS cert revocation check (all pre-heartbleed certs have expired)
2228
- - Bugfix: don't unset keys when they don't exist on StripeObject
1449
+ * Remove TLS cert revocation check (all pre-heartbleed certs have expired)
1450
+ * Bugfix: don't unset keys when they don't exist on StripeObject
2229
1451
 
2230
1452
  ## 1.20.4 - 2015-03-26
2231
-
2232
- - Raise an error when explicitly passing nil as the API key on resource methods
2233
- - Fix error when passing an API key to Balance.retrieve (github issue #232)
1453
+ * Raise an error when explicitly passing nil as the API key on resource methods
1454
+ * Fix error when passing an API key to Balance.retrieve (github issue #232)
2234
1455
 
2235
1456
  ## 1.20.3 - 2015-03-13
2236
-
2237
- - Fixed error when updating certain resources (github issue #224)
1457
+ * Fixed error when updating certain resources (github issue #224)
2238
1458
 
2239
1459
  ## 1.20.2 - 2015-03-10
2240
-
2241
- - Added support for updating nested hashes besides `metadata` (which was already supported)
2242
- - Fixed bug in balance retrieval
1460
+ * Added support for updating nested hashes besides `metadata` (which was already supported)
1461
+ * Fixed bug in balance retrieval
2243
1462
 
2244
1463
  ## 1.20.1 - 2015-02-26
2245
-
2246
- - Updated Card to point to customer sources endpoint when customer property is set
1464
+ * Updated Card to point to customer sources endpoint when customer property is set
2247
1465
 
2248
1466
  ## 1.20.0 - 2015-02-19
2249
-
2250
- - Added Update & Delete operations to Bitcoin Receivers
1467
+ * Added Update & Delete operations to Bitcoin Receivers
2251
1468
 
2252
1469
  ## 1.19.1 - 2015-02-18
2253
-
2254
- - Fixed fetching upcoming invoice/paying invoice methods
1470
+ * Fixed fetching upcoming invoice/paying invoice methods
2255
1471
 
2256
1472
  ## 1.19.0 - 2015-02-15
2257
-
2258
- - Support for new Transfers /reversals endpoint
2259
- - Account retrieval now optionally accepts an account ID
2260
- - Better support for passing custom headers, like Stripe-Account, through requests
1473
+ * Support for new Transfers /reversals endpoint
1474
+ * Account retrieval now optionally accepts an account ID
1475
+ * Better support for passing custom headers, like Stripe-Account, through requests
2261
1476
 
2262
1477
  ## 1.18.0 - 2015-01-21
2263
-
2264
- - 1 major enhancement:
2265
- - Added support for making bitcoin charges through BitcoinReceiver source object
1478
+ * 1 major enhancement:
1479
+ * Added support for making bitcoin charges through BitcoinReceiver source object
2266
1480
 
2267
1481
  ## 1.17.3 - 2015-01-12
2268
-
2269
- - 1 bugfix:
2270
- - Fixed API key propagation for ApplicationFee#refund
1482
+ * 1 bugfix:
1483
+ * Fixed API key propagation for ApplicationFee#refund
2271
1484
 
2272
1485
  ## 1.17.2 - 2015-01-08
2273
-
2274
- - 1 bugfix:
2275
- - Fixed API key propagation for child resources
1486
+ * 1 bugfix:
1487
+ * Fixed API key propagation for child resources
2276
1488
 
2277
1489
  ## 1.17.1 - 2015-01-07
2278
-
2279
- - 2 minor enhacements:
2280
- - Fixed dependencies for Ruby versions less than 1.9.3
2281
- - Added deauthorize method to Account object
1490
+ * 2 minor enhacements:
1491
+ * Fixed dependencies for Ruby versions less than 1.9.3
1492
+ * Added deauthorize method to Account object
2282
1493
 
2283
1494
  ## 1.17.0 - 2014-12-15
2284
-
2285
- - 1 major enhacement:
2286
- - File uploads resource was added (for uploading pdf or image documents for disputes)
1495
+ * 1 major enhacement:
1496
+ * File uploads resource was added (for uploading pdf or image documents for disputes)
2287
1497
 
2288
1498
  ## 1.16.1 - 2014-12-19
2289
-
2290
- - 2 minor enhancements:
2291
- - Ability to send idempotent requests
2292
- - Ability to specify stripe account as a header
1499
+ * 2 minor enhancements:
1500
+ * Ability to send idempotent requests
1501
+ * Ability to specify stripe account as a header
2293
1502
 
2294
1503
  ## 1.16.0 - 2014-10-08
2295
-
2296
- - 1 minor enhacement:
2297
- - Coupons now support update operations - useful for manipulating metadata
1504
+ * 1 minor enhacement:
1505
+ * Coupons now support update operations - useful for manipulating metadata
2298
1506
 
2299
1507
  ## 1.15.0 - 2014-07-26
2300
-
2301
- - 1 major enhacement:
2302
- - Application Fee refunds now a list instead of array
1508
+ * 1 major enhacement:
1509
+ * Application Fee refunds now a list instead of array
2303
1510
 
2304
1511
  ## 1.14.0 - 2014-06-17
2305
-
2306
- - 1 major enhancement:
2307
- - Add metadata for refunds and disputes
1512
+ * 1 major enhancement:
1513
+ * Add metadata for refunds and disputes
2308
1514
 
2309
1515
  ## 1.13.0 - 2014-05-28
2310
-
2311
- - 1 major enhancement:
2312
- - Support for canceling transfers
1516
+ * 1 major enhancement:
1517
+ * Support for canceling transfers
2313
1518
 
2314
1519
  ## 1.12.0 - 2014-05-21
2315
-
2316
- - 1 major enhancement:
2317
- - Support for cards for recipients
1520
+ * 1 major enhancement:
1521
+ * Support for cards for recipients
2318
1522
 
2319
1523
  ## 1.11.0 - 2014-04-09
2320
-
2321
- - 2 minor enhancements:
2322
- - Update included ca bundles
2323
- - Implement certificate blacklisting
1524
+ * 2 minor enhancements:
1525
+ * Update included ca bundles
1526
+ * Implement certificate blacklisting
2324
1527
 
2325
1528
  ## 1.10.2 - 2014-02-18
2326
-
2327
- - 1 minor enhancement:
2328
- - Add create_subscription on Customer resources, so you can create
1529
+ * 1 minor enhancement:
1530
+ * Add create_subscription on Customer resources, so you can create
2329
1531
  subscriptions without needing to retrieve the customer first (github
2330
1532
  issue #120)
2331
1533
 
2332
1534
  ## 1.10.1 - 2014-02-03
2333
-
2334
- - 1 bugfix:
2335
- - Fix marshaling of StripeObjects
1535
+ * 1 bugfix:
1536
+ * Fix marshaling of StripeObjects
2336
1537
 
2337
1538
  ## 1.10.0 - 2014-01-29
1539
+ * 2 major enhancements
1540
+ * Support for multiple subscriptions per customer
1541
+ * Testing ruby 2.1.0
2338
1542
 
2339
- - 2 major enhancements
2340
-
2341
- - Support for multiple subscriptions per customer
2342
- - Testing ruby 2.1.0
2343
-
2344
- - 2 minor enhancements
2345
-
2346
- - Replace multi_json with json
2347
- - Allow #save to take opts (for :expand)
1543
+ * 2 minor enhancements
1544
+ * Replace multi_json with json
1545
+ * Allow #save to take opts (for :expand)
2348
1546
 
2349
- - 1 bugfix
2350
- - Fix #try and #respond_to? on StripeObjects
1547
+ * 1 bugfix
1548
+ * Fix #try and #respond_to? on StripeObjects
2351
1549
 
2352
1550
  ## 1.9.9 - 2013-12-02
2353
-
2354
- - 1 major enhancement
2355
- - Add ApplicationFee resource
1551
+ * 1 major enhancement
1552
+ * Add ApplicationFee resource
2356
1553
 
2357
1554
  ## 1.8.9 - 2013-11-14
2358
-
2359
- - 2 bugfixes:
2360
- - Fix gemspec dependencies so the gem doesn't break for Ruby 1.8 users
2361
- - Fix api_resource_test to not use returns as a way of testing rescue behavior
1555
+ * 2 bugfixes:
1556
+ * Fix gemspec dependencies so the gem doesn't break for Ruby 1.8 users
1557
+ * Fix api_resource_test to not use returns as a way of testing rescue behavior
2362
1558
 
2363
1559
  ## 1.8.8 - 2013-10-3
2364
-
2365
- - 1 major enhancement
2366
- - Add support for metadata on resources
1560
+ * 1 major enhancement
1561
+ * Add support for metadata on resources
2367
1562
 
2368
1563
  ## 1.8.7 - 2013-08-18
2369
-
2370
- - 1 minor enhancement
2371
- - Add support for closing disputes.
1564
+ * 1 minor enhancement
1565
+ * Add support for closing disputes.
2372
1566
 
2373
1567
  ## 1.8.6 - 2013-08-13
2374
-
2375
- - 1 major enhancement
2376
- - Add Balance and BalanceTransaction resources
1568
+ * 1 major enhancement
1569
+ * Add Balance and BalanceTransaction resources
2377
1570
 
2378
1571
  ## 1.8.5 - 2013-08-12
2379
-
2380
- - 1 major enhancement
2381
- - 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.
2382
- - Attempting to set an object's id is now an error
1572
+ * 1 major enhancement
1573
+ * 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.
1574
+ * Attempting to set an object's id is now an error
2383
1575
 
2384
1576
  ## 1.8.4 - 2013-07-11
2385
-
2386
- - 1 major enhancement
2387
- - Add support for new cards API (Stripe API version - 2013-07-05)
1577
+ * 1 major enhancement
1578
+ * Add support for new cards API (Stripe API version - 2013-07-05)
2388
1579
 
2389
1580
  ## 1.8.3 - 2013-05-06
2390
-
2391
- - 1 bugfix:
2392
- - Fix handling of per-call API keys (github issue #67)
1581
+ * 1 bugfix:
1582
+ * Fix handling of per-call API keys (github issue #67)
2393
1583
 
2394
1584
  ## 1.8.2 - 2013-05-01
1585
+ * 3 minor enhancements:
1586
+ * Use to_sym instead of type checking for minor performance improvement (github issue #59)
1587
+ * Handle low-memory situations without throwing an exception (github issue #61)
1588
+ * Add an Customer#upcoming_invoice convenience method (github issue #65)
2395
1589
 
2396
- - 3 minor enhancements:
2397
-
2398
- - Use to_sym instead of type checking for minor performance improvement (github issue #59)
2399
- - Handle low-memory situations without throwing an exception (github issue #61)
2400
- - Add an Customer#upcoming_invoice convenience method (github issue #65)
2401
-
2402
- - 1 bugfix:
2403
- - Allow updating resources without first retrieving them (github issue #60)
1590
+ * 1 bugfix:
1591
+ * Allow updating resources without first retrieving them (github issue #60)
2404
1592
 
2405
1593
  ## 1.8.1 - 2013-04-19
2406
-
2407
- - 1 minor enhancement:
2408
- - Add support for specifying an API key when retrieving an upcoming invoice
1594
+ * 1 minor enhancement:
1595
+ * Add support for specifying an API key when retrieving an upcoming invoice
2409
1596
 
2410
1597
  ## 1.8.0 - 2013-04-11
2411
-
2412
- - 1 major enhancement:
2413
- - Add new Recipient resource
2414
- - Allow Transfers to be createable
1598
+ * 1 major enhancement:
1599
+ * Add new Recipient resource
1600
+ * Allow Transfers to be createable
2415
1601
 
2416
1602
  ## 1.7.11 - 2013-02-21
2417
-
2418
- - 1 minor enhancement
2419
- - Add 'id' to the list of permanent attributes
1603
+ * 1 minor enhancement
1604
+ * Add 'id' to the list of permanent attributes
2420
1605
 
2421
1606
  ## 1.7.10 - 2013-02-01
2422
-
2423
- - 1 major enhancement
2424
- - 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
1607
+ * 1 major enhancement
1608
+ * 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
2425
1609
 
2426
1610
  ## 1.7.9 - 2013-01-15
2427
-
2428
- - 1 major enhancement
2429
- - Add support for setting a Stripe API version override.
1611
+ * 1 major enhancement
1612
+ * Add support for setting a Stripe API version override.
2430
1613
 
2431
1614
  ## 1.7.8 - 2012-11-21
2432
-
2433
- - 1 bugfix
2434
- - Relax the version constraint on multi_json (github issue #44)
1615
+ * 1 bugfix
1616
+ * Relax the version constraint on multi_json (github issue #44)
2435
1617
 
2436
1618
  ## 1.7.7 - 2012-11-07
1619
+ * 1 minor enhancement:
1620
+ * Add support for updating charge disputes
2437
1621
 
2438
- - 1 minor enhancement:
2439
-
2440
- - Add support for updating charge disputes
2441
-
2442
- - 1 bugfix
2443
- - Fix Account API resource bug
1622
+ * 1 bugfix
1623
+ * Fix Account API resource bug
2444
1624
 
2445
1625
  ## 1.7.6 - 2012-10-30
2446
-
2447
- - 1 major enhancement
2448
- - Add support for creating invoices
1626
+ * 1 major enhancement
1627
+ * Add support for creating invoices
2449
1628
 
2450
1629
  ## 1.7.5 - 2012-10-25
2451
-
2452
- - 1 major enhancement
2453
- - Add support for new API lists
1630
+ * 1 major enhancement
1631
+ * Add support for new API lists
2454
1632
 
2455
1633
  ## 1.7.4 - 2012-10-08
2456
-
2457
- - 1 bugfix
2458
- - Fix bug introduced in 1.7.3 calling API methods that take no
1634
+ * 1 bugfix
1635
+ * Fix bug introduced in 1.7.3 calling API methods that take no
2459
1636
  arguments, like Stripe::Invoice#pay (github issue #42)
2460
1637
 
2461
1638
  ## 1.7.3 - 2012-09-14
2462
-
2463
- - 2 bugfixes
2464
- - 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.
2465
- - 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)
1639
+ * 2 bugfixes
1640
+ * 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.
1641
+ * 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)
2466
1642
 
2467
1643
  ## 1.7.2 - 2012-08-31
2468
-
2469
- - 1 major enhancement
2470
- - Add support for new pay and update methods for Invoice objects
1644
+ * 1 major enhancement
1645
+ * Add support for new pay and update methods for Invoice objects
2471
1646
 
2472
1647
  ## 1.7.1 - 2012-08-15
2473
-
2474
- - 1 major enhancement
2475
- - Add new Account API resource
1648
+ * 1 major enhancement
1649
+ * Add new Account API resource
2476
1650
 
2477
1651
  ## 1.7.0 - 2012-05-17
1652
+ * 3 major enhancements:
1653
+ * 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)
1654
+ * Add new delete_discount method to Customer objects
1655
+ * Add new Transfer API resource
2478
1656
 
2479
- - 3 major enhancements:
2480
-
2481
- - 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)
2482
- - Add new delete_discount method to Customer objects
2483
- - Add new Transfer API resource
2484
-
2485
- - 2 minor enhancements:
2486
- - 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)
2487
- - Numerous test suite improvements
1657
+ * 2 minor enhancements:
1658
+ * 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)
1659
+ * Numerous test suite improvements
2488
1660
 
2489
1661
  ## 1.6.3 - 2012-03-22
2490
-
2491
- - 1 bugfix:
2492
- - Encode GET query strings ourselves instead of using rest-client to work around a bug
1662
+ * 1 bugfix:
1663
+ * Encode GET query strings ourselves instead of using rest-client to work around a bug
2493
1664
 
2494
1665
  ## 1.6.2 - 2012-02-24
2495
-
2496
- - 1 bugfix:
2497
- - Correct argument handling in StripeObject#as_json
1666
+ * 1 bugfix:
1667
+ * Correct argument handling in StripeObject#as_json
2498
1668
 
2499
1669
  ## 1.6.1 - 2012-02-22
2500
-
2501
- - 1 bugfix:
2502
- - Fix StripeObject#inspect when ActiveSupport 3.0 is loaded
1670
+ * 1 bugfix:
1671
+ * Fix StripeObject#inspect when ActiveSupport 3.0 is loaded
2503
1672
 
2504
1673
  ## 1.6.0 - 2012-02-01
2505
-
2506
- - 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
2507
- - 1.6.0 also contains a new inspect/to_string implementation
1674
+ * 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
1675
+ * 1.6.0 also contains a new inspect/to_string implementation
2508
1676
 
2509
1677
  ## 1.5.0 - 2011-05-09
2510
-
2511
- - 1 major enhancement:
2512
- - Update for new RESTful API
1678
+ * 1 major enhancement:
1679
+ * Update for new RESTful API
2513
1680
 
2514
1681
  ## 1.3.4 - 2011-01-07
2515
-
2516
- - 1 major enhancement:
2517
- - Rename to Stripe
1682
+ * 1 major enhancement:
1683
+ * Rename to Stripe
2518
1684
 
2519
1685
  ## 1.2 - 2010-06-06
2520
-
2521
- - 1 major enhancement:
2522
- - Support for the set_customer_subscription and delete_customer API methods
1686
+ * 1 major enhancement:
1687
+ * Support for the set_customer_subscription and delete_customer API methods
2523
1688
 
2524
1689
  ## 1.1 - 2010-03-14
2525
-
2526
- - 1 major enhancement:
2527
- - Support for recurring billing
1690
+ * 1 major enhancement:
1691
+ * Support for recurring billing
2528
1692
 
2529
1693
  ## 1.0 - 2010-01-05
2530
-
2531
- - 1 major enhancement:
2532
- - Initial release
1694
+ * 1 major enhancement:
1695
+ * Initial release
2533
1696
 
2534
1697
  <!--
2535
1698
  # vim: set tw=0:
2536
1699
  -->
2537
-