stripe 13.4.1 → 13.5.0.pre.beta.1

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