stripe 13.4.0.pre.beta.4 → 13.4.0

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