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