stripe 15.0.0 → 15.1.0.pre.beta.2

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