stripe 15.5.0 → 16.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1252) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +5 -2
  3. data/lib/stripe/api_resource.rb +3 -0
  4. data/lib/stripe/api_version.rb +2 -2
  5. data/lib/stripe/event_types.rb +20 -6
  6. data/lib/stripe/events/unknown_event_notification.rb +19 -0
  7. data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +115 -15
  8. data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +93 -6
  9. data/lib/stripe/events/v2_core_event_destination_ping_event.rb +35 -12
  10. data/lib/stripe/object_types.rb +3 -2
  11. data/lib/stripe/params/account_capability_list_params.rb +13 -0
  12. data/lib/stripe/params/account_capability_retrieve_params.rb +13 -0
  13. data/lib/stripe/params/account_capability_update_params.rb +18 -0
  14. data/lib/stripe/params/account_create_params.rb +2083 -0
  15. data/lib/stripe/params/account_delete_params.rb +6 -0
  16. data/lib/stripe/params/account_external_account_create_params.rb +134 -0
  17. data/lib/stripe/params/account_external_account_delete_params.rb +6 -0
  18. data/lib/stripe/params/account_external_account_list_params.rb +25 -0
  19. data/lib/stripe/params/account_external_account_retrieve_params.rb +13 -0
  20. data/lib/stripe/params/account_external_account_update_params.rb +91 -0
  21. data/lib/stripe/params/account_link_create_params.rb +52 -0
  22. data/lib/stripe/params/account_list_params.rb +42 -0
  23. data/lib/stripe/params/account_login_link_create_params.rb +13 -0
  24. data/lib/stripe/params/account_person_create_params.rb +435 -0
  25. data/lib/stripe/params/account_person_delete_params.rb +6 -0
  26. data/lib/stripe/params/account_person_list_params.rb +61 -0
  27. data/lib/stripe/params/account_person_retrieve_params.rb +13 -0
  28. data/lib/stripe/params/account_person_update_params.rb +435 -0
  29. data/lib/stripe/params/account_persons_params.rb +61 -0
  30. data/lib/stripe/params/account_reject_params.rb +16 -0
  31. data/lib/stripe/params/account_retrieve_current_params.rb +13 -0
  32. data/lib/stripe/params/account_retrieve_params.rb +13 -0
  33. data/lib/stripe/params/account_session_create_params.rb +598 -0
  34. data/lib/stripe/params/account_update_params.rb +2030 -0
  35. data/lib/stripe/params/apple_pay_domain_create_params.rb +16 -0
  36. data/lib/stripe/params/apple_pay_domain_delete_params.rb +6 -0
  37. data/lib/stripe/params/apple_pay_domain_list_params.rb +31 -0
  38. data/lib/stripe/params/apple_pay_domain_retrieve_params.rb +13 -0
  39. data/lib/stripe/params/application_fee_list_params.rb +52 -0
  40. data/lib/stripe/params/application_fee_refund_create_params.rb +19 -0
  41. data/lib/stripe/params/application_fee_refund_list_params.rb +22 -0
  42. data/lib/stripe/params/application_fee_refund_retrieve_params.rb +13 -0
  43. data/lib/stripe/params/application_fee_refund_update_params.rb +16 -0
  44. data/lib/stripe/params/application_fee_retrieve_params.rb +13 -0
  45. data/lib/stripe/params/apps/secret_create_params.rb +38 -0
  46. data/lib/stripe/params/apps/secret_delete_where_params.rb +32 -0
  47. data/lib/stripe/params/apps/secret_find_params.rb +32 -0
  48. data/lib/stripe/params/apps/secret_list_params.rb +38 -0
  49. data/lib/stripe/params/balance_retrieve_params.rb +13 -0
  50. data/lib/stripe/params/balance_settings_retrieve_params.rb +13 -0
  51. data/lib/stripe/params/balance_settings_update_params.rb +67 -0
  52. data/lib/stripe/params/balance_transaction_list_params.rb +64 -0
  53. data/lib/stripe/params/balance_transaction_retrieve_params.rb +13 -0
  54. data/lib/stripe/params/billing/alert_activate_params.rb +15 -0
  55. data/lib/stripe/params/billing/alert_archive_params.rb +15 -0
  56. data/lib/stripe/params/billing/alert_create_params.rb +52 -0
  57. data/lib/stripe/params/billing/alert_deactivate_params.rb +15 -0
  58. data/lib/stripe/params/billing/alert_list_params.rb +37 -0
  59. data/lib/stripe/params/billing/alert_retrieve_params.rb +15 -0
  60. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +54 -0
  61. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +37 -0
  62. data/lib/stripe/params/billing/credit_balance_transaction_retrieve_params.rb +15 -0
  63. data/lib/stripe/params/billing/credit_grant_create_params.rb +103 -0
  64. data/lib/stripe/params/billing/credit_grant_expire_params.rb +15 -0
  65. data/lib/stripe/params/billing/credit_grant_list_params.rb +33 -0
  66. data/lib/stripe/params/billing/credit_grant_retrieve_params.rb +15 -0
  67. data/lib/stripe/params/billing/credit_grant_update_params.rb +21 -0
  68. data/lib/stripe/params/billing/credit_grant_void_grant_params.rb +15 -0
  69. data/lib/stripe/params/billing/meter_create_params.rb +70 -0
  70. data/lib/stripe/params/billing/meter_deactivate_params.rb +15 -0
  71. data/lib/stripe/params/billing/meter_event_adjustment_create_params.rb +32 -0
  72. data/lib/stripe/params/billing/meter_event_create_params.rb +27 -0
  73. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +45 -0
  74. data/lib/stripe/params/billing/meter_list_params.rb +27 -0
  75. data/lib/stripe/params/billing/meter_reactivate_params.rb +15 -0
  76. data/lib/stripe/params/billing/meter_retrieve_params.rb +15 -0
  77. data/lib/stripe/params/billing/meter_update_params.rb +18 -0
  78. data/lib/stripe/params/billing_portal/configuration_create_params.rb +225 -0
  79. data/lib/stripe/params/billing_portal/configuration_list_params.rb +37 -0
  80. data/lib/stripe/params/billing_portal/configuration_retrieve_params.rb +15 -0
  81. data/lib/stripe/params/billing_portal/configuration_update_params.rb +231 -0
  82. data/lib/stripe/params/billing_portal/session_create_params.rb +179 -0
  83. data/lib/stripe/params/charge_capture_params.rb +57 -0
  84. data/lib/stripe/params/charge_create_params.rb +172 -0
  85. data/lib/stripe/params/charge_list_params.rb +60 -0
  86. data/lib/stripe/params/charge_retrieve_params.rb +13 -0
  87. data/lib/stripe/params/charge_search_params.rb +22 -0
  88. data/lib/stripe/params/charge_update_params.rb +102 -0
  89. data/lib/stripe/params/checkout/session_create_params.rb +2445 -0
  90. data/lib/stripe/params/checkout/session_expire_params.rb +15 -0
  91. data/lib/stripe/params/checkout/session_line_item_list_params.rb +24 -0
  92. data/lib/stripe/params/checkout/session_list_line_items_params.rb +24 -0
  93. data/lib/stripe/params/checkout/session_list_params.rb +83 -0
  94. data/lib/stripe/params/checkout/session_retrieve_params.rb +15 -0
  95. data/lib/stripe/params/checkout/session_update_params.rb +179 -0
  96. data/lib/stripe/params/climate/order_cancel_params.rb +15 -0
  97. data/lib/stripe/params/climate/order_create_params.rb +49 -0
  98. data/lib/stripe/params/climate/order_list_params.rb +24 -0
  99. data/lib/stripe/params/climate/order_retrieve_params.rb +15 -0
  100. data/lib/stripe/params/climate/order_update_params.rb +29 -0
  101. data/lib/stripe/params/climate/product_list_params.rb +24 -0
  102. data/lib/stripe/params/climate/product_retrieve_params.rb +15 -0
  103. data/lib/stripe/params/climate/supplier_list_params.rb +24 -0
  104. data/lib/stripe/params/climate/supplier_retrieve_params.rb +15 -0
  105. data/lib/stripe/params/confirmation_token_create_params.rb +650 -0
  106. data/lib/stripe/params/confirmation_token_retrieve_params.rb +13 -0
  107. data/lib/stripe/params/country_spec_list_params.rb +22 -0
  108. data/lib/stripe/params/country_spec_retrieve_params.rb +13 -0
  109. data/lib/stripe/params/coupon_create_params.rb +80 -0
  110. data/lib/stripe/params/coupon_delete_params.rb +6 -0
  111. data/lib/stripe/params/coupon_list_params.rb +42 -0
  112. data/lib/stripe/params/coupon_retrieve_params.rb +13 -0
  113. data/lib/stripe/params/coupon_update_params.rb +30 -0
  114. data/lib/stripe/params/credit_note_create_params.rb +144 -0
  115. data/lib/stripe/params/credit_note_line_item_list_params.rb +22 -0
  116. data/lib/stripe/params/credit_note_list_params.rb +56 -0
  117. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +156 -0
  118. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +156 -0
  119. data/lib/stripe/params/credit_note_preview_params.rb +144 -0
  120. data/lib/stripe/params/credit_note_retrieve_params.rb +13 -0
  121. data/lib/stripe/params/credit_note_update_params.rb +19 -0
  122. data/lib/stripe/params/credit_note_void_credit_note_params.rb +13 -0
  123. data/lib/stripe/params/customer_balance_transaction_create_params.rb +25 -0
  124. data/lib/stripe/params/customer_balance_transaction_list_params.rb +22 -0
  125. data/lib/stripe/params/customer_balance_transaction_retrieve_params.rb +13 -0
  126. data/lib/stripe/params/customer_balance_transaction_update_params.rb +19 -0
  127. data/lib/stripe/params/customer_cash_balance_retrieve_params.rb +13 -0
  128. data/lib/stripe/params/customer_cash_balance_transaction_list_params.rb +22 -0
  129. data/lib/stripe/params/customer_cash_balance_transaction_retrieve_params.rb +13 -0
  130. data/lib/stripe/params/customer_cash_balance_update_params.rb +24 -0
  131. data/lib/stripe/params/customer_create_funding_instructions_params.rb +46 -0
  132. data/lib/stripe/params/customer_create_params.rb +259 -0
  133. data/lib/stripe/params/customer_delete_discount_params.rb +6 -0
  134. data/lib/stripe/params/customer_delete_params.rb +6 -0
  135. data/lib/stripe/params/customer_fund_cash_balance_params.rb +22 -0
  136. data/lib/stripe/params/customer_funding_instructions_create_params.rb +46 -0
  137. data/lib/stripe/params/customer_list_params.rb +56 -0
  138. data/lib/stripe/params/customer_list_payment_methods_params.rb +35 -0
  139. data/lib/stripe/params/customer_payment_method_list_params.rb +35 -0
  140. data/lib/stripe/params/customer_payment_method_retrieve_params.rb +13 -0
  141. data/lib/stripe/params/customer_payment_source_create_params.rb +22 -0
  142. data/lib/stripe/params/customer_payment_source_delete_params.rb +13 -0
  143. data/lib/stripe/params/customer_payment_source_list_params.rb +25 -0
  144. data/lib/stripe/params/customer_payment_source_retrieve_params.rb +13 -0
  145. data/lib/stripe/params/customer_payment_source_update_params.rb +114 -0
  146. data/lib/stripe/params/customer_payment_source_verify_params.rb +16 -0
  147. data/lib/stripe/params/customer_retrieve_params.rb +13 -0
  148. data/lib/stripe/params/customer_retrieve_payment_method_params.rb +13 -0
  149. data/lib/stripe/params/customer_search_params.rb +22 -0
  150. data/lib/stripe/params/customer_session_create_params.rb +100 -0
  151. data/lib/stripe/params/customer_tax_id_create_params.rb +19 -0
  152. data/lib/stripe/params/customer_tax_id_delete_params.rb +6 -0
  153. data/lib/stripe/params/customer_tax_id_list_params.rb +22 -0
  154. data/lib/stripe/params/customer_tax_id_retrieve_params.rb +13 -0
  155. data/lib/stripe/params/customer_update_params.rb +243 -0
  156. data/lib/stripe/params/dispute_close_params.rb +13 -0
  157. data/lib/stripe/params/dispute_list_params.rb +56 -0
  158. data/lib/stripe/params/dispute_retrieve_params.rb +13 -0
  159. data/lib/stripe/params/dispute_update_params.rb +308 -0
  160. data/lib/stripe/params/entitlements/active_entitlement_list_params.rb +33 -0
  161. data/lib/stripe/params/entitlements/active_entitlement_retrieve_params.rb +15 -0
  162. data/lib/stripe/params/entitlements/feature_create_params.rb +24 -0
  163. data/lib/stripe/params/entitlements/feature_list_params.rb +37 -0
  164. data/lib/stripe/params/entitlements/feature_retrieve_params.rb +15 -0
  165. data/lib/stripe/params/entitlements/feature_update_params.rb +24 -0
  166. data/lib/stripe/params/ephemeral_key_create_params.rb +31 -0
  167. data/lib/stripe/params/ephemeral_key_delete_params.rb +13 -0
  168. data/lib/stripe/params/event_list_params.rb +60 -0
  169. data/lib/stripe/params/event_retrieve_params.rb +13 -0
  170. data/lib/stripe/params/exchange_rate_list_params.rb +22 -0
  171. data/lib/stripe/params/exchange_rate_retrieve_params.rb +13 -0
  172. data/lib/stripe/params/file_create_params.rb +36 -0
  173. data/lib/stripe/params/file_link_create_params.rb +22 -0
  174. data/lib/stripe/params/file_link_list_params.rb +56 -0
  175. data/lib/stripe/params/file_link_retrieve_params.rb +13 -0
  176. data/lib/stripe/params/file_link_update_params.rb +19 -0
  177. data/lib/stripe/params/file_list_params.rb +52 -0
  178. data/lib/stripe/params/file_retrieve_params.rb +13 -0
  179. data/lib/stripe/params/financial_connections/account_disconnect_params.rb +15 -0
  180. data/lib/stripe/params/financial_connections/account_list_owners_params.rb +33 -0
  181. data/lib/stripe/params/financial_connections/account_list_params.rb +48 -0
  182. data/lib/stripe/params/financial_connections/account_owner_list_params.rb +33 -0
  183. data/lib/stripe/params/financial_connections/account_refresh_account_params.rb +18 -0
  184. data/lib/stripe/params/financial_connections/account_refresh_params.rb +18 -0
  185. data/lib/stripe/params/financial_connections/account_retrieve_params.rb +15 -0
  186. data/lib/stripe/params/financial_connections/account_subscribe_params.rb +18 -0
  187. data/lib/stripe/params/financial_connections/account_unsubscribe_params.rb +18 -0
  188. data/lib/stripe/params/financial_connections/session_create_params.rb +65 -0
  189. data/lib/stripe/params/financial_connections/session_retrieve_params.rb +15 -0
  190. data/lib/stripe/params/financial_connections/transaction_list_params.rb +67 -0
  191. data/lib/stripe/params/financial_connections/transaction_retrieve_params.rb +15 -0
  192. data/lib/stripe/params/forwarding/request_create_params.rb +59 -0
  193. data/lib/stripe/params/forwarding/request_list_params.rb +44 -0
  194. data/lib/stripe/params/forwarding/request_retrieve_params.rb +15 -0
  195. data/lib/stripe/params/identity/verification_report_list_params.rb +62 -0
  196. data/lib/stripe/params/identity/verification_report_retrieve_params.rb +15 -0
  197. data/lib/stripe/params/identity/verification_session_cancel_params.rb +15 -0
  198. data/lib/stripe/params/identity/verification_session_create_params.rb +107 -0
  199. data/lib/stripe/params/identity/verification_session_list_params.rb +62 -0
  200. data/lib/stripe/params/identity/verification_session_redact_params.rb +15 -0
  201. data/lib/stripe/params/identity/verification_session_retrieve_params.rb +15 -0
  202. data/lib/stripe/params/identity/verification_session_update_params.rb +69 -0
  203. data/lib/stripe/params/invoice_add_lines_params.rb +231 -0
  204. data/lib/stripe/params/invoice_attach_payment_params.rb +16 -0
  205. data/lib/stripe/params/invoice_create_params.rb +589 -0
  206. data/lib/stripe/params/invoice_create_preview_params.rb +993 -0
  207. data/lib/stripe/params/invoice_delete_params.rb +6 -0
  208. data/lib/stripe/params/invoice_finalize_invoice_params.rb +16 -0
  209. data/lib/stripe/params/invoice_item_create_params.rb +145 -0
  210. data/lib/stripe/params/invoice_item_delete_params.rb +6 -0
  211. data/lib/stripe/params/invoice_item_list_params.rb +60 -0
  212. data/lib/stripe/params/invoice_item_retrieve_params.rb +13 -0
  213. data/lib/stripe/params/invoice_item_update_params.rb +129 -0
  214. data/lib/stripe/params/invoice_line_item_list_params.rb +22 -0
  215. data/lib/stripe/params/invoice_line_item_update_params.rb +217 -0
  216. data/lib/stripe/params/invoice_list_params.rb +86 -0
  217. data/lib/stripe/params/invoice_mark_uncollectible_params.rb +13 -0
  218. data/lib/stripe/params/invoice_pay_params.rb +41 -0
  219. data/lib/stripe/params/invoice_payment_list_params.rb +50 -0
  220. data/lib/stripe/params/invoice_payment_retrieve_params.rb +13 -0
  221. data/lib/stripe/params/invoice_remove_lines_params.rb +30 -0
  222. data/lib/stripe/params/invoice_rendering_template_archive_params.rb +13 -0
  223. data/lib/stripe/params/invoice_rendering_template_list_params.rb +25 -0
  224. data/lib/stripe/params/invoice_rendering_template_retrieve_params.rb +16 -0
  225. data/lib/stripe/params/invoice_rendering_template_unarchive_params.rb +13 -0
  226. data/lib/stripe/params/invoice_retrieve_params.rb +13 -0
  227. data/lib/stripe/params/invoice_search_params.rb +22 -0
  228. data/lib/stripe/params/invoice_send_invoice_params.rb +13 -0
  229. data/lib/stripe/params/invoice_update_lines_params.rb +231 -0
  230. data/lib/stripe/params/invoice_update_params.rb +557 -0
  231. data/lib/stripe/params/invoice_void_invoice_params.rb +13 -0
  232. data/lib/stripe/params/issuing/authorization_approve_params.rb +21 -0
  233. data/lib/stripe/params/issuing/authorization_capture_params.rb +265 -0
  234. data/lib/stripe/params/issuing/authorization_create_params.rb +357 -0
  235. data/lib/stripe/params/issuing/authorization_decline_params.rb +18 -0
  236. data/lib/stripe/params/issuing/authorization_expire_params.rb +15 -0
  237. data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +143 -0
  238. data/lib/stripe/params/issuing/authorization_increment_params.rb +21 -0
  239. data/lib/stripe/params/issuing/authorization_list_params.rb +62 -0
  240. data/lib/stripe/params/issuing/authorization_respond_params.rb +18 -0
  241. data/lib/stripe/params/issuing/authorization_retrieve_params.rb +15 -0
  242. data/lib/stripe/params/issuing/authorization_reverse_params.rb +18 -0
  243. data/lib/stripe/params/issuing/authorization_update_params.rb +18 -0
  244. data/lib/stripe/params/issuing/card_create_params.rb +213 -0
  245. data/lib/stripe/params/issuing/card_deliver_card_params.rb +15 -0
  246. data/lib/stripe/params/issuing/card_fail_card_params.rb +15 -0
  247. data/lib/stripe/params/issuing/card_list_params.rb +78 -0
  248. data/lib/stripe/params/issuing/card_retrieve_params.rb +15 -0
  249. data/lib/stripe/params/issuing/card_return_card_params.rb +15 -0
  250. data/lib/stripe/params/issuing/card_ship_card_params.rb +15 -0
  251. data/lib/stripe/params/issuing/card_submit_card_params.rb +15 -0
  252. data/lib/stripe/params/issuing/card_update_params.rb +181 -0
  253. data/lib/stripe/params/issuing/cardholder_create_params.rb +238 -0
  254. data/lib/stripe/params/issuing/cardholder_list_params.rb +66 -0
  255. data/lib/stripe/params/issuing/cardholder_retrieve_params.rb +15 -0
  256. data/lib/stripe/params/issuing/cardholder_update_params.rb +230 -0
  257. data/lib/stripe/params/issuing/dispute_create_params.rb +297 -0
  258. data/lib/stripe/params/issuing/dispute_list_params.rb +58 -0
  259. data/lib/stripe/params/issuing/dispute_retrieve_params.rb +15 -0
  260. data/lib/stripe/params/issuing/dispute_submit_params.rb +18 -0
  261. data/lib/stripe/params/issuing/dispute_update_params.rb +275 -0
  262. data/lib/stripe/params/issuing/personalization_design_activate_params.rb +15 -0
  263. data/lib/stripe/params/issuing/personalization_design_create_params.rb +75 -0
  264. data/lib/stripe/params/issuing/personalization_design_deactivate_params.rb +15 -0
  265. data/lib/stripe/params/issuing/personalization_design_list_params.rb +52 -0
  266. data/lib/stripe/params/issuing/personalization_design_reject_params.rb +29 -0
  267. data/lib/stripe/params/issuing/personalization_design_retrieve_params.rb +15 -0
  268. data/lib/stripe/params/issuing/personalization_design_update_params.rb +75 -0
  269. data/lib/stripe/params/issuing/physical_bundle_list_params.rb +37 -0
  270. data/lib/stripe/params/issuing/physical_bundle_retrieve_params.rb +15 -0
  271. data/lib/stripe/params/issuing/token_list_params.rb +58 -0
  272. data/lib/stripe/params/issuing/token_retrieve_params.rb +15 -0
  273. data/lib/stripe/params/issuing/token_update_params.rb +18 -0
  274. data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +316 -0
  275. data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +316 -0
  276. data/lib/stripe/params/issuing/transaction_list_params.rb +62 -0
  277. data/lib/stripe/params/issuing/transaction_refund_params.rb +18 -0
  278. data/lib/stripe/params/issuing/transaction_retrieve_params.rb +15 -0
  279. data/lib/stripe/params/issuing/transaction_update_params.rb +18 -0
  280. data/lib/stripe/params/mandate_retrieve_params.rb +13 -0
  281. data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +23 -0
  282. data/lib/stripe/params/payment_intent_cancel_params.rb +16 -0
  283. data/lib/stripe/params/payment_intent_capture_params.rb +54 -0
  284. data/lib/stripe/params/payment_intent_confirm_params.rb +2379 -0
  285. data/lib/stripe/params/payment_intent_create_params.rb +2480 -0
  286. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +48 -0
  287. data/lib/stripe/params/payment_intent_list_params.rb +52 -0
  288. data/lib/stripe/params/payment_intent_retrieve_params.rb +16 -0
  289. data/lib/stripe/params/payment_intent_search_params.rb +22 -0
  290. data/lib/stripe/params/payment_intent_update_params.rb +2353 -0
  291. data/lib/stripe/params/payment_intent_verify_microdeposits_params.rb +19 -0
  292. data/lib/stripe/params/payment_link_create_params.rb +776 -0
  293. data/lib/stripe/params/payment_link_line_item_list_params.rb +22 -0
  294. data/lib/stripe/params/payment_link_list_line_items_params.rb +22 -0
  295. data/lib/stripe/params/payment_link_list_params.rb +25 -0
  296. data/lib/stripe/params/payment_link_retrieve_params.rb +13 -0
  297. data/lib/stripe/params/payment_link_update_params.rb +564 -0
  298. data/lib/stripe/params/payment_method_attach_params.rb +16 -0
  299. data/lib/stripe/params/payment_method_configuration_create_params.rb +1135 -0
  300. data/lib/stripe/params/payment_method_configuration_list_params.rb +31 -0
  301. data/lib/stripe/params/payment_method_configuration_retrieve_params.rb +13 -0
  302. data/lib/stripe/params/payment_method_configuration_update_params.rb +1135 -0
  303. data/lib/stripe/params/payment_method_create_params.rb +583 -0
  304. data/lib/stripe/params/payment_method_detach_params.rb +13 -0
  305. data/lib/stripe/params/payment_method_domain_create_params.rb +19 -0
  306. data/lib/stripe/params/payment_method_domain_list_params.rb +35 -0
  307. data/lib/stripe/params/payment_method_domain_retrieve_params.rb +13 -0
  308. data/lib/stripe/params/payment_method_domain_update_params.rb +16 -0
  309. data/lib/stripe/params/payment_method_domain_validate_params.rb +13 -0
  310. data/lib/stripe/params/payment_method_list_params.rb +35 -0
  311. data/lib/stripe/params/payment_method_retrieve_params.rb +13 -0
  312. data/lib/stripe/params/payment_method_update_params.rb +120 -0
  313. data/lib/stripe/params/payout_cancel_params.rb +13 -0
  314. data/lib/stripe/params/payout_create_params.rb +51 -0
  315. data/lib/stripe/params/payout_list_params.rb +78 -0
  316. data/lib/stripe/params/payout_retrieve_params.rb +13 -0
  317. data/lib/stripe/params/payout_reverse_params.rb +16 -0
  318. data/lib/stripe/params/payout_update_params.rb +16 -0
  319. data/lib/stripe/params/plan_create_params.rb +158 -0
  320. data/lib/stripe/params/plan_delete_params.rb +6 -0
  321. data/lib/stripe/params/plan_list_params.rb +56 -0
  322. data/lib/stripe/params/plan_retrieve_params.rb +13 -0
  323. data/lib/stripe/params/plan_update_params.rb +35 -0
  324. data/lib/stripe/params/price_create_params.rb +278 -0
  325. data/lib/stripe/params/price_list_params.rb +87 -0
  326. data/lib/stripe/params/price_retrieve_params.rb +13 -0
  327. data/lib/stripe/params/price_search_params.rb +22 -0
  328. data/lib/stripe/params/price_update_params.rb +113 -0
  329. data/lib/stripe/params/product_create_params.rb +243 -0
  330. data/lib/stripe/params/product_delete_params.rb +6 -0
  331. data/lib/stripe/params/product_feature_create_params.rb +16 -0
  332. data/lib/stripe/params/product_feature_delete_params.rb +6 -0
  333. data/lib/stripe/params/product_feature_list_params.rb +22 -0
  334. data/lib/stripe/params/product_feature_retrieve_params.rb +13 -0
  335. data/lib/stripe/params/product_list_params.rb +68 -0
  336. data/lib/stripe/params/product_retrieve_params.rb +13 -0
  337. data/lib/stripe/params/product_search_params.rb +22 -0
  338. data/lib/stripe/params/product_update_params.rb +96 -0
  339. data/lib/stripe/params/promotion_code_create_params.rb +91 -0
  340. data/lib/stripe/params/promotion_code_list_params.rb +64 -0
  341. data/lib/stripe/params/promotion_code_retrieve_params.rb +13 -0
  342. data/lib/stripe/params/promotion_code_update_params.rb +38 -0
  343. data/lib/stripe/params/quote_accept_params.rb +13 -0
  344. data/lib/stripe/params/quote_cancel_params.rb +13 -0
  345. data/lib/stripe/params/quote_computed_upfront_line_items_list_params.rb +22 -0
  346. data/lib/stripe/params/quote_create_params.rb +301 -0
  347. data/lib/stripe/params/quote_finalize_quote_params.rb +16 -0
  348. data/lib/stripe/params/quote_line_item_list_params.rb +22 -0
  349. data/lib/stripe/params/quote_list_computed_upfront_line_items_params.rb +22 -0
  350. data/lib/stripe/params/quote_list_line_items_params.rb +22 -0
  351. data/lib/stripe/params/quote_list_params.rb +39 -0
  352. data/lib/stripe/params/quote_pdf_params.rb +13 -0
  353. data/lib/stripe/params/quote_retrieve_params.rb +13 -0
  354. data/lib/stripe/params/quote_update_params.rb +263 -0
  355. data/lib/stripe/params/radar/early_fraud_warning_list_params.rb +58 -0
  356. data/lib/stripe/params/radar/early_fraud_warning_retrieve_params.rb +15 -0
  357. data/lib/stripe/params/radar/value_list_create_params.rb +27 -0
  358. data/lib/stripe/params/radar/value_list_delete_params.rb +8 -0
  359. data/lib/stripe/params/radar/value_list_item_create_params.rb +21 -0
  360. data/lib/stripe/params/radar/value_list_item_delete_params.rb +8 -0
  361. data/lib/stripe/params/radar/value_list_item_list_params.rb +58 -0
  362. data/lib/stripe/params/radar/value_list_item_retrieve_params.rb +15 -0
  363. data/lib/stripe/params/radar/value_list_list_params.rb +58 -0
  364. data/lib/stripe/params/radar/value_list_retrieve_params.rb +15 -0
  365. data/lib/stripe/params/radar/value_list_update_params.rb +24 -0
  366. data/lib/stripe/params/refund_cancel_params.rb +13 -0
  367. data/lib/stripe/params/refund_create_params.rb +59 -0
  368. data/lib/stripe/params/refund_expire_params.rb +13 -0
  369. data/lib/stripe/params/refund_list_params.rb +56 -0
  370. data/lib/stripe/params/refund_retrieve_params.rb +13 -0
  371. data/lib/stripe/params/refund_update_params.rb +16 -0
  372. data/lib/stripe/params/reporting/report_run_create_params.rb +59 -0
  373. data/lib/stripe/params/reporting/report_run_list_params.rb +44 -0
  374. data/lib/stripe/params/reporting/report_run_retrieve_params.rb +15 -0
  375. data/lib/stripe/params/reporting/report_type_list_params.rb +15 -0
  376. data/lib/stripe/params/reporting/report_type_retrieve_params.rb +15 -0
  377. data/lib/stripe/params/review_approve_params.rb +13 -0
  378. data/lib/stripe/params/review_list_params.rb +42 -0
  379. data/lib/stripe/params/review_retrieve_params.rb +13 -0
  380. data/lib/stripe/params/setup_attempt_list_params.rb +55 -0
  381. data/lib/stripe/params/setup_intent_cancel_params.rb +16 -0
  382. data/lib/stripe/params/setup_intent_confirm_params.rb +1050 -0
  383. data/lib/stripe/params/setup_intent_create_params.rb +1130 -0
  384. data/lib/stripe/params/setup_intent_list_params.rb +62 -0
  385. data/lib/stripe/params/setup_intent_retrieve_params.rb +16 -0
  386. data/lib/stripe/params/setup_intent_update_params.rb +1025 -0
  387. data/lib/stripe/params/setup_intent_verify_microdeposits_params.rb +19 -0
  388. data/lib/stripe/params/shipping_rate_create_params.rb +103 -0
  389. data/lib/stripe/params/shipping_rate_list_params.rb +56 -0
  390. data/lib/stripe/params/shipping_rate_retrieve_params.rb +13 -0
  391. data/lib/stripe/params/shipping_rate_update_params.rb +44 -0
  392. data/lib/stripe/params/sigma/scheduled_query_run_list_params.rb +24 -0
  393. data/lib/stripe/params/sigma/scheduled_query_run_retrieve_params.rb +15 -0
  394. data/lib/stripe/params/source_create_params.rb +317 -0
  395. data/lib/stripe/params/source_detach_params.rb +13 -0
  396. data/lib/stripe/params/source_retrieve_params.rb +16 -0
  397. data/lib/stripe/params/source_transaction_list_params.rb +22 -0
  398. data/lib/stripe/params/source_update_params.rb +259 -0
  399. data/lib/stripe/params/source_verify_params.rb +16 -0
  400. data/lib/stripe/params/subscription_cancel_params.rb +33 -0
  401. data/lib/stripe/params/subscription_create_params.rb +704 -0
  402. data/lib/stripe/params/subscription_delete_discount_params.rb +6 -0
  403. data/lib/stripe/params/subscription_item_create_params.rb +134 -0
  404. data/lib/stripe/params/subscription_item_delete_params.rb +19 -0
  405. data/lib/stripe/params/subscription_item_list_params.rb +31 -0
  406. data/lib/stripe/params/subscription_item_retrieve_params.rb +13 -0
  407. data/lib/stripe/params/subscription_item_update_params.rb +134 -0
  408. data/lib/stripe/params/subscription_list_params.rb +129 -0
  409. data/lib/stripe/params/subscription_migrate_params.rb +35 -0
  410. data/lib/stripe/params/subscription_resume_params.rb +27 -0
  411. data/lib/stripe/params/subscription_retrieve_params.rb +13 -0
  412. data/lib/stripe/params/subscription_schedule_cancel_params.rb +19 -0
  413. data/lib/stripe/params/subscription_schedule_create_params.rb +590 -0
  414. data/lib/stripe/params/subscription_schedule_list_params.rb +122 -0
  415. data/lib/stripe/params/subscription_schedule_release_params.rb +16 -0
  416. data/lib/stripe/params/subscription_schedule_retrieve_params.rb +13 -0
  417. data/lib/stripe/params/subscription_schedule_update_params.rb +562 -0
  418. data/lib/stripe/params/subscription_search_params.rb +22 -0
  419. data/lib/stripe/params/subscription_update_params.rb +683 -0
  420. data/lib/stripe/params/tax/calculation_create_params.rb +206 -0
  421. data/lib/stripe/params/tax/calculation_line_item_list_params.rb +24 -0
  422. data/lib/stripe/params/tax/calculation_list_line_items_params.rb +24 -0
  423. data/lib/stripe/params/tax/calculation_retrieve_params.rb +15 -0
  424. data/lib/stripe/params/tax/registration_create_params.rb +2018 -0
  425. data/lib/stripe/params/tax/registration_list_params.rb +27 -0
  426. data/lib/stripe/params/tax/registration_retrieve_params.rb +15 -0
  427. data/lib/stripe/params/tax/registration_update_params.rb +21 -0
  428. data/lib/stripe/params/tax/settings_retrieve_params.rb +15 -0
  429. data/lib/stripe/params/tax/settings_update_params.rb +71 -0
  430. data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +27 -0
  431. data/lib/stripe/params/tax/transaction_create_reversal_params.rb +87 -0
  432. data/lib/stripe/params/tax/transaction_line_item_list_params.rb +24 -0
  433. data/lib/stripe/params/tax/transaction_list_line_items_params.rb +24 -0
  434. data/lib/stripe/params/tax/transaction_retrieve_params.rb +15 -0
  435. data/lib/stripe/params/tax_code_list_params.rb +22 -0
  436. data/lib/stripe/params/tax_code_retrieve_params.rb +13 -0
  437. data/lib/stripe/params/tax_id_create_params.rb +36 -0
  438. data/lib/stripe/params/tax_id_delete_params.rb +6 -0
  439. data/lib/stripe/params/tax_id_list_params.rb +39 -0
  440. data/lib/stripe/params/tax_id_retrieve_params.rb +13 -0
  441. data/lib/stripe/params/tax_rate_create_params.rb +55 -0
  442. data/lib/stripe/params/tax_rate_list_params.rb +56 -0
  443. data/lib/stripe/params/tax_rate_retrieve_params.rb +13 -0
  444. data/lib/stripe/params/tax_rate_update_params.rb +47 -0
  445. data/lib/stripe/params/terminal/configuration_create_params.rb +593 -0
  446. data/lib/stripe/params/terminal/configuration_delete_params.rb +8 -0
  447. data/lib/stripe/params/terminal/configuration_list_params.rb +33 -0
  448. data/lib/stripe/params/terminal/configuration_retrieve_params.rb +15 -0
  449. data/lib/stripe/params/terminal/configuration_update_params.rb +593 -0
  450. data/lib/stripe/params/terminal/connection_token_create_params.rb +18 -0
  451. data/lib/stripe/params/terminal/location_create_params.rb +153 -0
  452. data/lib/stripe/params/terminal/location_delete_params.rb +8 -0
  453. data/lib/stripe/params/terminal/location_list_params.rb +24 -0
  454. data/lib/stripe/params/terminal/location_retrieve_params.rb +15 -0
  455. data/lib/stripe/params/terminal/location_update_params.rb +153 -0
  456. data/lib/stripe/params/terminal/reader_cancel_action_params.rb +15 -0
  457. data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +96 -0
  458. data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +51 -0
  459. data/lib/stripe/params/terminal/reader_confirm_payment_intent_params.rb +29 -0
  460. data/lib/stripe/params/terminal/reader_create_params.rb +27 -0
  461. data/lib/stripe/params/terminal/reader_delete_params.rb +8 -0
  462. data/lib/stripe/params/terminal/reader_list_params.rb +45 -0
  463. data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +72 -0
  464. data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +55 -0
  465. data/lib/stripe/params/terminal/reader_process_setup_intent_params.rb +32 -0
  466. data/lib/stripe/params/terminal/reader_refund_payment_params.rb +53 -0
  467. data/lib/stripe/params/terminal/reader_retrieve_params.rb +15 -0
  468. data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +52 -0
  469. data/lib/stripe/params/terminal/reader_succeed_input_collection_params.rb +18 -0
  470. data/lib/stripe/params/terminal/reader_timeout_input_collection_params.rb +15 -0
  471. data/lib/stripe/params/terminal/reader_update_params.rb +21 -0
  472. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +652 -0
  473. data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +24 -0
  474. data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +267 -0
  475. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +359 -0
  476. data/lib/stripe/params/test_helpers/issuing/authorization_expire_params.rb +17 -0
  477. data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +145 -0
  478. data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +23 -0
  479. data/lib/stripe/params/test_helpers/issuing/authorization_respond_params.rb +20 -0
  480. data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +20 -0
  481. data/lib/stripe/params/test_helpers/issuing/card_deliver_card_params.rb +17 -0
  482. data/lib/stripe/params/test_helpers/issuing/card_fail_card_params.rb +17 -0
  483. data/lib/stripe/params/test_helpers/issuing/card_return_card_params.rb +17 -0
  484. data/lib/stripe/params/test_helpers/issuing/card_ship_card_params.rb +17 -0
  485. data/lib/stripe/params/test_helpers/issuing/card_submit_card_params.rb +17 -0
  486. data/lib/stripe/params/test_helpers/issuing/personalization_design_activate_params.rb +17 -0
  487. data/lib/stripe/params/test_helpers/issuing/personalization_design_deactivate_params.rb +17 -0
  488. data/lib/stripe/params/test_helpers/issuing/personalization_design_reject_params.rb +31 -0
  489. data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +318 -0
  490. data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +318 -0
  491. data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +20 -0
  492. data/lib/stripe/params/test_helpers/refund_expire_params.rb +15 -0
  493. data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +74 -0
  494. data/lib/stripe/params/test_helpers/terminal/reader_succeed_input_collection_params.rb +20 -0
  495. data/lib/stripe/params/test_helpers/terminal/reader_timeout_input_collection_params.rb +17 -0
  496. data/lib/stripe/params/test_helpers/test_clock_advance_params.rb +18 -0
  497. data/lib/stripe/params/test_helpers/test_clock_create_params.rb +21 -0
  498. data/lib/stripe/params/test_helpers/test_clock_delete_params.rb +8 -0
  499. data/lib/stripe/params/test_helpers/test_clock_list_params.rb +24 -0
  500. data/lib/stripe/params/test_helpers/test_clock_retrieve_params.rb +15 -0
  501. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb +28 -0
  502. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_return_inbound_transfer_params.rb +17 -0
  503. data/lib/stripe/params/test_helpers/treasury/inbound_transfer_succeed_params.rb +17 -0
  504. data/lib/stripe/params/test_helpers/treasury/outbound_payment_fail_params.rb +17 -0
  505. data/lib/stripe/params/test_helpers/treasury/outbound_payment_post_params.rb +17 -0
  506. data/lib/stripe/params/test_helpers/treasury/outbound_payment_return_outbound_payment_params.rb +28 -0
  507. data/lib/stripe/params/test_helpers/treasury/outbound_payment_update_params.rb +57 -0
  508. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_fail_params.rb +17 -0
  509. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_post_params.rb +17 -0
  510. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_return_outbound_transfer_params.rb +28 -0
  511. data/lib/stripe/params/test_helpers/treasury/outbound_transfer_update_params.rb +57 -0
  512. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +68 -0
  513. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +68 -0
  514. data/lib/stripe/params/token_create_params.rb +1191 -0
  515. data/lib/stripe/params/token_retrieve_params.rb +13 -0
  516. data/lib/stripe/params/topup_cancel_params.rb +13 -0
  517. data/lib/stripe/params/topup_create_params.rb +43 -0
  518. data/lib/stripe/params/topup_list_params.rb +74 -0
  519. data/lib/stripe/params/topup_retrieve_params.rb +13 -0
  520. data/lib/stripe/params/topup_update_params.rb +19 -0
  521. data/lib/stripe/params/transfer_create_params.rb +47 -0
  522. data/lib/stripe/params/transfer_list_params.rb +56 -0
  523. data/lib/stripe/params/transfer_retrieve_params.rb +13 -0
  524. data/lib/stripe/params/transfer_reversal_create_params.rb +31 -0
  525. data/lib/stripe/params/transfer_reversal_list_params.rb +22 -0
  526. data/lib/stripe/params/transfer_reversal_retrieve_params.rb +13 -0
  527. data/lib/stripe/params/transfer_reversal_update_params.rb +16 -0
  528. data/lib/stripe/params/transfer_update_params.rb +19 -0
  529. data/lib/stripe/params/treasury/credit_reversal_create_params.rb +21 -0
  530. data/lib/stripe/params/treasury/credit_reversal_list_params.rb +41 -0
  531. data/lib/stripe/params/treasury/credit_reversal_retrieve_params.rb +15 -0
  532. data/lib/stripe/params/treasury/debit_reversal_create_params.rb +21 -0
  533. data/lib/stripe/params/treasury/debit_reversal_list_params.rb +45 -0
  534. data/lib/stripe/params/treasury/debit_reversal_retrieve_params.rb +15 -0
  535. data/lib/stripe/params/treasury/financial_account_close_params.rb +32 -0
  536. data/lib/stripe/params/treasury/financial_account_create_params.rb +201 -0
  537. data/lib/stripe/params/treasury/financial_account_features_retrieve_params.rb +15 -0
  538. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +163 -0
  539. data/lib/stripe/params/treasury/financial_account_list_params.rb +54 -0
  540. data/lib/stripe/params/treasury/financial_account_retrieve_features_params.rb +15 -0
  541. data/lib/stripe/params/treasury/financial_account_retrieve_params.rb +15 -0
  542. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +163 -0
  543. data/lib/stripe/params/treasury/financial_account_update_params.rb +216 -0
  544. data/lib/stripe/params/treasury/inbound_transfer_cancel_params.rb +15 -0
  545. data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +45 -0
  546. data/lib/stripe/params/treasury/inbound_transfer_fail_params.rb +26 -0
  547. data/lib/stripe/params/treasury/inbound_transfer_list_params.rb +37 -0
  548. data/lib/stripe/params/treasury/inbound_transfer_retrieve_params.rb +15 -0
  549. data/lib/stripe/params/treasury/inbound_transfer_return_inbound_transfer_params.rb +15 -0
  550. data/lib/stripe/params/treasury/inbound_transfer_succeed_params.rb +15 -0
  551. data/lib/stripe/params/treasury/outbound_payment_cancel_params.rb +15 -0
  552. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +190 -0
  553. data/lib/stripe/params/treasury/outbound_payment_fail_params.rb +15 -0
  554. data/lib/stripe/params/treasury/outbound_payment_list_params.rb +62 -0
  555. data/lib/stripe/params/treasury/outbound_payment_post_params.rb +15 -0
  556. data/lib/stripe/params/treasury/outbound_payment_retrieve_params.rb +15 -0
  557. data/lib/stripe/params/treasury/outbound_payment_return_outbound_payment_params.rb +26 -0
  558. data/lib/stripe/params/treasury/outbound_payment_update_params.rb +55 -0
  559. data/lib/stripe/params/treasury/outbound_transfer_cancel_params.rb +15 -0
  560. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +81 -0
  561. data/lib/stripe/params/treasury/outbound_transfer_fail_params.rb +15 -0
  562. data/lib/stripe/params/treasury/outbound_transfer_list_params.rb +37 -0
  563. data/lib/stripe/params/treasury/outbound_transfer_post_params.rb +15 -0
  564. data/lib/stripe/params/treasury/outbound_transfer_retrieve_params.rb +15 -0
  565. data/lib/stripe/params/treasury/outbound_transfer_return_outbound_transfer_params.rb +26 -0
  566. data/lib/stripe/params/treasury/outbound_transfer_update_params.rb +55 -0
  567. data/lib/stripe/params/treasury/received_credit_create_params.rb +66 -0
  568. data/lib/stripe/params/treasury/received_credit_list_params.rb +49 -0
  569. data/lib/stripe/params/treasury/received_credit_retrieve_params.rb +15 -0
  570. data/lib/stripe/params/treasury/received_debit_create_params.rb +66 -0
  571. data/lib/stripe/params/treasury/received_debit_list_params.rb +37 -0
  572. data/lib/stripe/params/treasury/received_debit_retrieve_params.rb +15 -0
  573. data/lib/stripe/params/treasury/transaction_entry_list_params.rb +84 -0
  574. data/lib/stripe/params/treasury/transaction_entry_retrieve_params.rb +15 -0
  575. data/lib/stripe/params/treasury/transaction_list_params.rb +92 -0
  576. data/lib/stripe/params/treasury/transaction_retrieve_params.rb +15 -0
  577. data/lib/stripe/params/v2/billing/meter_event_adjustment_create_params.rb +31 -0
  578. data/lib/stripe/params/v2/billing/meter_event_create_params.rb +33 -0
  579. data/lib/stripe/params/v2/billing/meter_event_session_create_params.rb +10 -0
  580. data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +41 -0
  581. data/lib/stripe/params/v2/core/event_destination_create_params.rb +79 -0
  582. data/lib/stripe/params/v2/core/event_destination_delete_params.rb +10 -0
  583. data/lib/stripe/params/v2/core/event_destination_disable_params.rb +10 -0
  584. data/lib/stripe/params/v2/core/event_destination_enable_params.rb +10 -0
  585. data/lib/stripe/params/v2/core/event_destination_list_params.rb +20 -0
  586. data/lib/stripe/params/v2/core/event_destination_ping_params.rb +10 -0
  587. data/lib/stripe/params/v2/core/event_destination_retrieve_params.rb +17 -0
  588. data/lib/stripe/params/v2/core/event_destination_update_params.rb +47 -0
  589. data/lib/stripe/params/v2/core/event_list_params.rb +22 -0
  590. data/lib/stripe/params/v2/core/event_retrieve_params.rb +10 -0
  591. data/lib/stripe/params/webhook_endpoint_create_params.rb +39 -0
  592. data/lib/stripe/params/webhook_endpoint_delete_params.rb +6 -0
  593. data/lib/stripe/params/webhook_endpoint_list_params.rb +22 -0
  594. data/lib/stripe/params/webhook_endpoint_retrieve_params.rb +13 -0
  595. data/lib/stripe/params/webhook_endpoint_update_params.rb +35 -0
  596. data/lib/stripe/params.rb +588 -0
  597. data/lib/stripe/request_options.rb +14 -5
  598. data/lib/stripe/resources/account.rb +448 -4265
  599. data/lib/stripe/resources/account_link.rb +8 -47
  600. data/lib/stripe/resources/account_session.rb +340 -657
  601. data/lib/stripe/resources/apple_pay_domain.rb +8 -40
  602. data/lib/stripe/resources/application.rb +8 -0
  603. data/lib/stripe/resources/application_fee.rb +12 -44
  604. data/lib/stripe/resources/application_fee_refund.rb +8 -0
  605. data/lib/stripe/resources/apps/secret.rb +12 -112
  606. data/lib/stripe/resources/balance.rb +159 -0
  607. data/lib/stripe/resources/balance_settings.rb +92 -0
  608. data/lib/stripe/resources/balance_transaction.rb +12 -56
  609. data/lib/stripe/resources/bank_account.rb +40 -0
  610. data/lib/stripe/resources/billing/alert.rb +20 -100
  611. data/lib/stripe/resources/billing/alert_triggered.rb +8 -0
  612. data/lib/stripe/resources/billing/credit_balance_summary.rb +48 -0
  613. data/lib/stripe/resources/billing/credit_balance_transaction.rb +73 -29
  614. data/lib/stripe/resources/billing/credit_grant.rb +42 -151
  615. data/lib/stripe/resources/billing/meter.rb +40 -116
  616. data/lib/stripe/resources/billing/meter_event.rb +8 -20
  617. data/lib/stripe/resources/billing/meter_event_adjustment.rb +12 -22
  618. data/lib/stripe/resources/billing/meter_event_summary.rb +8 -0
  619. data/lib/stripe/resources/billing_portal/configuration.rb +120 -473
  620. data/lib/stripe/resources/billing_portal/session.rb +98 -170
  621. data/lib/stripe/resources/capability.rb +56 -0
  622. data/lib/stripe/resources/card.rb +17 -1
  623. data/lib/stripe/resources/cash_balance.rb +16 -0
  624. data/lib/stripe/resources/charge.rb +958 -414
  625. data/lib/stripe/resources/checkout/session.rb +1039 -2501
  626. data/lib/stripe/resources/climate/order.rb +28 -89
  627. data/lib/stripe/resources/climate/product.rb +13 -15
  628. data/lib/stripe/resources/climate/supplier.rb +13 -15
  629. data/lib/stripe/resources/confirmation_token.rb +895 -683
  630. data/lib/stripe/resources/connect_collection_transfer.rb +8 -0
  631. data/lib/stripe/resources/country_spec.rb +29 -15
  632. data/lib/stripe/resources/coupon.rb +19 -137
  633. data/lib/stripe/resources/credit_note.rb +66 -504
  634. data/lib/stripe/resources/credit_note_line_item.rb +44 -0
  635. data/lib/stripe/resources/customer.rb +81 -675
  636. data/lib/stripe/resources/customer_balance_transaction.rb +8 -0
  637. data/lib/stripe/resources/customer_cash_balance_transaction.rb +108 -0
  638. data/lib/stripe/resources/customer_session.rb +49 -93
  639. data/lib/stripe/resources/discount.rb +24 -4
  640. data/lib/stripe/resources/dispute.rb +159 -365
  641. data/lib/stripe/resources/entitlements/active_entitlement.rb +8 -26
  642. data/lib/stripe/resources/entitlements/active_entitlement_summary.rb +8 -0
  643. data/lib/stripe/resources/entitlements/feature.rb +8 -66
  644. data/lib/stripe/resources/ephemeral_key.rb +8 -8
  645. data/lib/stripe/resources/event.rb +20 -52
  646. data/lib/stripe/resources/exchange_rate.rb +18 -17
  647. data/lib/stripe/resources/file.rb +8 -79
  648. data/lib/stripe/resources/file_link.rb +8 -84
  649. data/lib/stripe/resources/financial_connections/account.rb +66 -110
  650. data/lib/stripe/resources/financial_connections/account_owner.rb +8 -0
  651. data/lib/stripe/resources/financial_connections/account_ownership.rb +8 -0
  652. data/lib/stripe/resources/financial_connections/session.rb +20 -55
  653. data/lib/stripe/resources/financial_connections/transaction.rb +12 -57
  654. data/lib/stripe/resources/forwarding/request.rb +48 -93
  655. data/lib/stripe/resources/funding_instructions.rb +217 -24
  656. data/lib/stripe/resources/identity/verification_report.rb +165 -56
  657. data/lib/stripe/resources/identity/verification_session.rb +124 -237
  658. data/lib/stripe/resources/invoice.rb +489 -2882
  659. data/lib/stripe/resources/invoice_item.rb +69 -309
  660. data/lib/stripe/resources/invoice_line_item.rb +126 -199
  661. data/lib/stripe/resources/invoice_payment.rb +20 -42
  662. data/lib/stripe/resources/invoice_rendering_template.rb +8 -38
  663. data/lib/stripe/resources/issuing/authorization.rb +173 -836
  664. data/lib/stripe/resources/issuing/card.rb +98 -499
  665. data/lib/stripe/resources/issuing/cardholder.rb +108 -514
  666. data/lib/stripe/resources/issuing/dispute.rb +93 -620
  667. data/lib/stripe/resources/issuing/personalization_design.rb +32 -221
  668. data/lib/stripe/resources/issuing/physical_bundle.rb +13 -28
  669. data/lib/stripe/resources/issuing/token.rb +57 -60
  670. data/lib/stripe/resources/issuing/transaction.rb +147 -696
  671. data/lib/stripe/resources/line_item.rb +24 -0
  672. data/lib/stripe/resources/login_link.rb +8 -0
  673. data/lib/stripe/resources/mandate.rb +225 -12
  674. data/lib/stripe/resources/payment_intent.rb +1129 -7346
  675. data/lib/stripe/resources/payment_link.rb +333 -1357
  676. data/lib/stripe/resources/payment_method.rb +807 -784
  677. data/lib/stripe/resources/payment_method_configuration.rb +940 -2311
  678. data/lib/stripe/resources/payment_method_domain.rb +107 -63
  679. data/lib/stripe/resources/payout.rb +12 -150
  680. data/lib/stripe/resources/person.rb +184 -4
  681. data/lib/stripe/resources/plan.rb +20 -235
  682. data/lib/stripe/resources/price.rb +66 -480
  683. data/lib/stripe/resources/product.rb +23 -411
  684. data/lib/stripe/resources/product_feature.rb +8 -0
  685. data/lib/stripe/resources/promotion_code.rb +40 -172
  686. data/lib/stripe/resources/quote.rb +219 -651
  687. data/lib/stripe/resources/radar/early_fraud_warning.rb +8 -51
  688. data/lib/stripe/resources/radar/value_list.rb +8 -92
  689. data/lib/stripe/resources/radar/value_list_item.rb +8 -68
  690. data/lib/stripe/resources/refund.rb +367 -152
  691. data/lib/stripe/resources/reporting/report_run.rb +12 -93
  692. data/lib/stripe/resources/reporting/report_type.rb +8 -8
  693. data/lib/stripe/resources/reserve_transaction.rb +8 -0
  694. data/lib/stripe/resources/reversal.rb +8 -0
  695. data/lib/stripe/resources/review.rb +20 -43
  696. data/lib/stripe/resources/setup_attempt.rb +286 -65
  697. data/lib/stripe/resources/setup_intent.rb +336 -3359
  698. data/lib/stripe/resources/shipping_rate.rb +44 -187
  699. data/lib/stripe/resources/sigma/scheduled_query_run.rb +13 -15
  700. data/lib/stripe/resources/source.rb +268 -583
  701. data/lib/stripe/resources/source_mandate_notification.rb +32 -0
  702. data/lib/stripe/resources/source_transaction.rb +54 -0
  703. data/lib/stripe/resources/subscription.rb +272 -1581
  704. data/lib/stripe/resources/subscription_item.rb +12 -298
  705. data/lib/stripe/resources/subscription_schedule.rb +236 -1282
  706. data/lib/stripe/resources/tax/calculation.rb +111 -220
  707. data/lib/stripe/resources/tax/calculation_line_item.rb +32 -0
  708. data/lib/stripe/resources/tax/registration.rb +1274 -2096
  709. data/lib/stripe/resources/tax/settings.rb +61 -64
  710. data/lib/stripe/resources/tax/transaction.rb +95 -122
  711. data/lib/stripe/resources/tax/transaction_line_item.rb +16 -0
  712. data/lib/stripe/resources/tax_code.rb +8 -17
  713. data/lib/stripe/resources/tax_deducted_at_source.rb +8 -0
  714. data/lib/stripe/resources/tax_id.rb +20 -65
  715. data/lib/stripe/resources/tax_rate.rb +12 -142
  716. data/lib/stripe/resources/terminal/configuration.rb +302 -1173
  717. data/lib/stripe/resources/terminal/connection_token.rb +8 -11
  718. data/lib/stripe/resources/terminal/location.rb +72 -126
  719. data/lib/stripe/resources/terminal/reader.rb +237 -501
  720. data/lib/stripe/resources/test_helpers/test_clock.rb +20 -43
  721. data/lib/stripe/resources/token.rb +8 -1191
  722. data/lib/stripe/resources/topup.rb +8 -132
  723. data/lib/stripe/resources/transfer.rb +8 -109
  724. data/lib/stripe/resources/treasury/credit_reversal.rb +12 -46
  725. data/lib/stripe/resources/treasury/debit_reversal.rb +20 -50
  726. data/lib/stripe/resources/treasury/financial_account.rb +55 -639
  727. data/lib/stripe/resources/treasury/financial_account_features.rb +192 -0
  728. data/lib/stripe/resources/treasury/inbound_transfer.rb +67 -115
  729. data/lib/stripe/resources/treasury/outbound_payment.rb +104 -334
  730. data/lib/stripe/resources/treasury/outbound_transfer.rb +95 -200
  731. data/lib/stripe/resources/treasury/received_credit.rb +78 -101
  732. data/lib/stripe/resources/treasury/received_debit.rb +70 -89
  733. data/lib/stripe/resources/treasury/transaction.rb +32 -82
  734. data/lib/stripe/resources/treasury/transaction_entry.rb +20 -74
  735. data/lib/stripe/resources/v2/billing/meter_event.rb +8 -0
  736. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +16 -0
  737. data/lib/stripe/resources/v2/billing/meter_event_session.rb +8 -0
  738. data/lib/stripe/resources/v2/core/event.rb +67 -0
  739. data/lib/stripe/resources/v2/core/event_destination.rb +119 -0
  740. data/lib/stripe/resources/v2/core/event_notification.rb +62 -0
  741. data/lib/stripe/resources/v2/deleted_object.rb +21 -0
  742. data/lib/stripe/resources/webhook_endpoint.rb +8 -85
  743. data/lib/stripe/resources.rb +4 -2
  744. data/lib/stripe/services/account_capability_service.rb +0 -32
  745. data/lib/stripe/services/account_external_account_service.rb +0 -249
  746. data/lib/stripe/services/account_link_service.rb +0 -48
  747. data/lib/stripe/services/account_login_link_service.rb +0 -9
  748. data/lib/stripe/services/account_person_service.rb +0 -958
  749. data/lib/stripe/services/account_service.rb +0 -4149
  750. data/lib/stripe/services/account_session_service.rb +0 -637
  751. data/lib/stripe/services/apple_pay_domain_service.rb +0 -50
  752. data/lib/stripe/services/application_fee_refund_service.rb +0 -54
  753. data/lib/stripe/services/application_fee_service.rb +0 -57
  754. data/lib/stripe/services/apps/secret_service.rb +0 -116
  755. data/lib/stripe/services/balance_service.rb +0 -9
  756. data/lib/stripe/services/balance_settings_service.rb +30 -0
  757. data/lib/stripe/services/balance_transaction_service.rb +0 -69
  758. data/lib/stripe/services/billing/alert_service.rb +0 -113
  759. data/lib/stripe/services/billing/credit_balance_summary_service.rb +0 -48
  760. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -40
  761. data/lib/stripe/services/billing/credit_grant_service.rb +0 -166
  762. data/lib/stripe/services/billing/meter_event_adjustment_service.rb +0 -26
  763. data/lib/stripe/services/billing/meter_event_service.rb +0 -21
  764. data/lib/stripe/services/billing/meter_event_summary_service.rb +0 -39
  765. data/lib/stripe/services/billing/meter_service.rb +0 -130
  766. data/lib/stripe/services/billing_portal/configuration_service.rb +0 -486
  767. data/lib/stripe/services/billing_portal/session_service.rb +0 -173
  768. data/lib/stripe/services/charge_service.rb +0 -402
  769. data/lib/stripe/services/checkout/session_line_item_service.rb +0 -18
  770. data/lib/stripe/services/checkout/session_service.rb +0 -2494
  771. data/lib/stripe/services/climate/order_service.rb +0 -102
  772. data/lib/stripe/services/climate/product_service.rb +0 -27
  773. data/lib/stripe/services/climate/supplier_service.rb +0 -27
  774. data/lib/stripe/services/confirmation_token_service.rb +0 -9
  775. data/lib/stripe/services/country_spec_service.rb +0 -27
  776. data/lib/stripe/services/coupon_service.rb +0 -151
  777. data/lib/stripe/services/credit_note_line_item_service.rb +0 -18
  778. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -152
  779. data/lib/stripe/services/credit_note_service.rb +0 -365
  780. data/lib/stripe/services/customer_balance_transaction_service.rb +0 -63
  781. data/lib/stripe/services/customer_cash_balance_service.rb +0 -29
  782. data/lib/stripe/services/customer_cash_balance_transaction_service.rb +0 -27
  783. data/lib/stripe/services/customer_funding_instructions_service.rb +0 -42
  784. data/lib/stripe/services/customer_payment_method_service.rb +0 -40
  785. data/lib/stripe/services/customer_payment_source_service.rb +0 -179
  786. data/lib/stripe/services/customer_service.rb +0 -575
  787. data/lib/stripe/services/customer_session_service.rb +0 -96
  788. data/lib/stripe/services/customer_tax_id_service.rb +0 -44
  789. data/lib/stripe/services/dispute_service.rb +0 -374
  790. data/lib/stripe/services/entitlements/active_entitlement_service.rb +0 -36
  791. data/lib/stripe/services/entitlements/feature_service.rb +0 -76
  792. data/lib/stripe/services/ephemeral_key_service.rb +0 -36
  793. data/lib/stripe/services/event_service.rb +0 -65
  794. data/lib/stripe/services/exchange_rate_service.rb +4 -27
  795. data/lib/stripe/services/file_link_service.rb +0 -94
  796. data/lib/stripe/services/file_service.rb +0 -89
  797. data/lib/stripe/services/financial_connections/account_owner_service.rb +0 -27
  798. data/lib/stripe/services/financial_connections/account_service.rb +0 -96
  799. data/lib/stripe/services/financial_connections/session_service.rb +0 -68
  800. data/lib/stripe/services/financial_connections/transaction_service.rb +0 -70
  801. data/lib/stripe/services/forwarding/request_service.rb +0 -106
  802. data/lib/stripe/services/identity/verification_report_service.rb +0 -65
  803. data/lib/stripe/services/identity/verification_session_service.rb +0 -247
  804. data/lib/stripe/services/invoice_item_service.rb +0 -333
  805. data/lib/stripe/services/invoice_line_item_service.rb +0 -221
  806. data/lib/stripe/services/invoice_payment_service.rb +0 -55
  807. data/lib/stripe/services/invoice_rendering_template_service.rb +0 -51
  808. data/lib/stripe/services/invoice_service.rb +0 -2778
  809. data/lib/stripe/services/issuing/authorization_service.rb +0 -104
  810. data/lib/stripe/services/issuing/card_service.rb +0 -463
  811. data/lib/stripe/services/issuing/cardholder_service.rb +0 -525
  812. data/lib/stripe/services/issuing/dispute_service.rb +0 -633
  813. data/lib/stripe/services/issuing/personalization_design_service.rb +0 -193
  814. data/lib/stripe/services/issuing/physical_bundle_service.rb +0 -40
  815. data/lib/stripe/services/issuing/token_service.rb +0 -73
  816. data/lib/stripe/services/issuing/transaction_service.rb +0 -77
  817. data/lib/stripe/services/mandate_service.rb +0 -9
  818. data/lib/stripe/services/payment_intent_service.rb +0 -7332
  819. data/lib/stripe/services/payment_link_line_item_service.rb +0 -18
  820. data/lib/stripe/services/payment_link_service.rb +0 -1352
  821. data/lib/stripe/services/payment_method_configuration_service.rb +0 -2256
  822. data/lib/stripe/services/payment_method_domain_service.rb +0 -76
  823. data/lib/stripe/services/payment_method_service.rb +0 -762
  824. data/lib/stripe/services/payout_service.rb +0 -163
  825. data/lib/stripe/services/plan_service.rb +0 -248
  826. data/lib/stripe/services/price_service.rb +0 -493
  827. data/lib/stripe/services/product_feature_service.rb +0 -41
  828. data/lib/stripe/services/product_service.rb +0 -424
  829. data/lib/stripe/services/promotion_code_service.rb +1 -179
  830. data/lib/stripe/services/quote_computed_upfront_line_items_service.rb +0 -18
  831. data/lib/stripe/services/quote_line_item_service.rb +0 -18
  832. data/lib/stripe/services/quote_service.rb +0 -628
  833. data/lib/stripe/services/radar/early_fraud_warning_service.rb +0 -61
  834. data/lib/stripe/services/radar/value_list_item_service.rb +0 -78
  835. data/lib/stripe/services/radar/value_list_service.rb +0 -102
  836. data/lib/stripe/services/refund_service.rb +0 -137
  837. data/lib/stripe/services/reporting/report_run_service.rb +0 -106
  838. data/lib/stripe/services/reporting/report_type_service.rb +0 -18
  839. data/lib/stripe/services/review_service.rb +0 -56
  840. data/lib/stripe/services/setup_attempt_service.rb +0 -51
  841. data/lib/stripe/services/setup_intent_service.rb +0 -3275
  842. data/lib/stripe/services/shipping_rate_service.rb +0 -200
  843. data/lib/stripe/services/sigma/scheduled_query_run_service.rb +0 -27
  844. data/lib/stripe/services/source_service.rb +0 -601
  845. data/lib/stripe/services/source_transaction_service.rb +0 -18
  846. data/lib/stripe/services/subscription_item_service.rb +0 -311
  847. data/lib/stripe/services/subscription_schedule_service.rb +0 -1295
  848. data/lib/stripe/services/subscription_service.rb +0 -1594
  849. data/lib/stripe/services/tax/calculation_line_item_service.rb +0 -18
  850. data/lib/stripe/services/tax/calculation_service.rb +0 -209
  851. data/lib/stripe/services/tax/registration_service.rb +0 -2063
  852. data/lib/stripe/services/tax/settings_service.rb +0 -74
  853. data/lib/stripe/services/tax/transaction_line_item_service.rb +0 -18
  854. data/lib/stripe/services/tax/transaction_service.rb +0 -111
  855. data/lib/stripe/services/tax_code_service.rb +0 -27
  856. data/lib/stripe/services/tax_id_service.rb +0 -78
  857. data/lib/stripe/services/tax_rate_service.rb +0 -155
  858. data/lib/stripe/services/terminal/configuration_service.rb +0 -1186
  859. data/lib/stripe/services/terminal/connection_token_service.rb +0 -12
  860. data/lib/stripe/services/terminal/location_service.rb +0 -143
  861. data/lib/stripe/services/terminal/reader_service.rb +0 -427
  862. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -641
  863. data/lib/stripe/services/test_helpers/customer_service.rb +0 -18
  864. data/lib/stripe/services/test_helpers/issuing/authorization_service.rb +0 -745
  865. data/lib/stripe/services/test_helpers/issuing/card_service.rb +0 -45
  866. data/lib/stripe/services/test_helpers/issuing/personalization_design_service.rb +0 -41
  867. data/lib/stripe/services/test_helpers/issuing/transaction_service.rb +0 -632
  868. data/lib/stripe/services/test_helpers/refund_service.rb +0 -9
  869. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -87
  870. data/lib/stripe/services/test_helpers/test_clock_service.rb +0 -56
  871. data/lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb +0 -38
  872. data/lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb +0 -87
  873. data/lib/stripe/services/test_helpers/treasury/outbound_transfer_service.rb +0 -87
  874. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +0 -60
  875. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +0 -60
  876. data/lib/stripe/services/token_service.rb +0 -1201
  877. data/lib/stripe/services/topup_service.rb +0 -142
  878. data/lib/stripe/services/transfer_reversal_service.rb +0 -66
  879. data/lib/stripe/services/transfer_service.rb +0 -119
  880. data/lib/stripe/services/treasury/credit_reversal_service.rb +0 -59
  881. data/lib/stripe/services/treasury/debit_reversal_service.rb +0 -63
  882. data/lib/stripe/services/treasury/financial_account_features_service.rb +0 -166
  883. data/lib/stripe/services/treasury/financial_account_service.rb +0 -488
  884. data/lib/stripe/services/treasury/inbound_transfer_service.rb +0 -88
  885. data/lib/stripe/services/treasury/outbound_payment_service.rb +0 -258
  886. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -124
  887. data/lib/stripe/services/treasury/received_credit_service.rb +0 -52
  888. data/lib/stripe/services/treasury/received_debit_service.rb +0 -40
  889. data/lib/stripe/services/treasury/transaction_entry_service.rb +0 -87
  890. data/lib/stripe/services/treasury/transaction_service.rb +0 -95
  891. data/lib/stripe/services/v1_services.rb +2 -1
  892. data/lib/stripe/services/v2/billing/meter_event_adjustment_service.rb +0 -23
  893. data/lib/stripe/services/v2/billing/meter_event_service.rb +0 -25
  894. data/lib/stripe/services/v2/billing/meter_event_session_service.rb +0 -2
  895. data/lib/stripe/services/v2/billing/meter_event_stream_service.rb +0 -33
  896. data/lib/stripe/services/v2/core/event_destination_service.rb +0 -137
  897. data/lib/stripe/services/v2/core/event_service.rb +0 -16
  898. data/lib/stripe/services/webhook_endpoint_service.rb +0 -95
  899. data/lib/stripe/services.rb +1 -0
  900. data/lib/stripe/stripe_client.rb +8 -5
  901. data/lib/stripe/stripe_configuration.rb +1 -6
  902. data/lib/stripe/stripe_context.rb +68 -0
  903. data/lib/stripe/stripe_object.rb +33 -9
  904. data/lib/stripe/util.rb +24 -13
  905. data/lib/stripe/version.rb +1 -1
  906. data/lib/stripe.rb +3 -1
  907. data/rbi/stripe/resources/v2/core/event_notification.rbi +43 -0
  908. data/rbi/stripe/stripe_client.rbi +17 -0
  909. data/rbi/stripe.rbi +132984 -0
  910. metadata +600 -345
  911. data/API_VERSION +0 -1
  912. data/CHANGELOG.md +0 -1769
  913. data/CODE_OF_CONDUCT.md +0 -77
  914. data/CONTRIBUTING.md +0 -25
  915. data/CONTRIBUTORS +0 -3
  916. data/Gemfile +0 -41
  917. data/History.txt +0 -1
  918. data/LICENSE +0 -21
  919. data/Makefile +0 -22
  920. data/OPENAPI_VERSION +0 -1
  921. data/README.md +0 -426
  922. data/Rakefile +0 -34
  923. data/VERSION +0 -1
  924. data/examples/README.md +0 -16
  925. data/examples/example_template.rb +0 -36
  926. data/examples/meter_event_stream.rb +0 -57
  927. data/examples/thinevent_webhook_handler.rb +0 -39
  928. data/justfile +0 -43
  929. data/lib/stripe/resources/v2/event.rb +0 -41
  930. data/lib/stripe/resources/v2/event_destination.rb +0 -73
  931. data/lib/stripe/thin_event.rb +0 -37
  932. data/rbi/stripe/resources/account.rbi +0 -4991
  933. data/rbi/stripe/resources/account_link.rbi +0 -76
  934. data/rbi/stripe/resources/account_session.rbi +0 -1173
  935. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
  936. data/rbi/stripe/resources/application.rbi +0 -20
  937. data/rbi/stripe/resources/application_fee.rbi +0 -118
  938. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  939. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  940. data/rbi/stripe/resources/balance.rbi +0 -230
  941. data/rbi/stripe/resources/balance_transaction.rbi +0 -147
  942. data/rbi/stripe/resources/bank_account.rbi +0 -127
  943. data/rbi/stripe/resources/billing/alert.rbi +0 -201
  944. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  945. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
  946. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
  947. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
  948. data/rbi/stripe/resources/billing/meter.rbi +0 -226
  949. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  950. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  951. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
  952. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -712
  953. data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
  954. data/rbi/stripe/resources/capability.rbi +0 -125
  955. data/rbi/stripe/resources/card.rbi +0 -125
  956. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  957. data/rbi/stripe/resources/charge.rbi +0 -2136
  958. data/rbi/stripe/resources/checkout/session.rbi +0 -4105
  959. data/rbi/stripe/resources/climate/order.rbi +0 -245
  960. data/rbi/stripe/resources/climate/product.rbi +0 -75
  961. data/rbi/stripe/resources/climate/supplier.rbi +0 -72
  962. data/rbi/stripe/resources/confirmation_token.rbi +0 -1818
  963. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  964. data/rbi/stripe/resources/country_spec.rbi +0 -85
  965. data/rbi/stripe/resources/coupon.rbi +0 -250
  966. data/rbi/stripe/resources/credit_note.rbi +0 -752
  967. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
  968. data/rbi/stripe/resources/customer.rbi +0 -993
  969. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
  970. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  971. data/rbi/stripe/resources/customer_session.rbi +0 -200
  972. data/rbi/stripe/resources/discount.rbi +0 -53
  973. data/rbi/stripe/resources/dispute.rbi +0 -761
  974. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
  975. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  976. data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
  977. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  978. data/rbi/stripe/resources/event.rbi +0 -137
  979. data/rbi/stripe/resources/exchange_rate.rbi +0 -66
  980. data/rbi/stripe/resources/file.rbi +0 -143
  981. data/rbi/stripe/resources/file_link.rbi +0 -141
  982. data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
  983. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  984. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  985. data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
  986. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
  987. data/rbi/stripe/resources/forwarding/request.rbi +0 -216
  988. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  989. data/rbi/stripe/resources/identity/verification_report.rbi +0 -360
  990. data/rbi/stripe/resources/identity/verification_session.rbi +0 -564
  991. data/rbi/stripe/resources/invoice.rbi +0 -3894
  992. data/rbi/stripe/resources/invoice_item.rbi +0 -470
  993. data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
  994. data/rbi/stripe/resources/invoice_payment.rbi +0 -121
  995. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
  996. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
  997. data/rbi/stripe/resources/issuing/card.rbi +0 -749
  998. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
  999. data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
  1000. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
  1001. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
  1002. data/rbi/stripe/resources/issuing/token.rbi +0 -226
  1003. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
  1004. data/rbi/stripe/resources/line_item.rbi +0 -72
  1005. data/rbi/stripe/resources/login_link.rbi +0 -19
  1006. data/rbi/stripe/resources/mandate.rbi +0 -191
  1007. data/rbi/stripe/resources/payment_intent.rbi +0 -10011
  1008. data/rbi/stripe/resources/payment_link.rbi +0 -1891
  1009. data/rbi/stripe/resources/payment_method.rbi +0 -1770
  1010. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
  1011. data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
  1012. data/rbi/stripe/resources/payout.rbi +0 -307
  1013. data/rbi/stripe/resources/person.rbi +0 -401
  1014. data/rbi/stripe/resources/plan.rbi +0 -371
  1015. data/rbi/stripe/resources/price.rbi +0 -694
  1016. data/rbi/stripe/resources/product.rbi +0 -553
  1017. data/rbi/stripe/resources/product_feature.rbi +0 -26
  1018. data/rbi/stripe/resources/promotion_code.rbi +0 -264
  1019. data/rbi/stripe/resources/quote.rbi +0 -1137
  1020. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
  1021. data/rbi/stripe/resources/radar/value_list.rbi +0 -168
  1022. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
  1023. data/rbi/stripe/resources/refund.rbi +0 -523
  1024. data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
  1025. data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
  1026. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  1027. data/rbi/stripe/resources/reversal.rbi +0 -51
  1028. data/rbi/stripe/resources/review.rbi +0 -154
  1029. data/rbi/stripe/resources/setup_attempt.rbi +0 -477
  1030. data/rbi/stripe/resources/setup_intent.rbi +0 -3974
  1031. data/rbi/stripe/resources/shipping_rate.rbi +0 -305
  1032. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
  1033. data/rbi/stripe/resources/source.rbi +0 -1496
  1034. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  1035. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  1036. data/rbi/stripe/resources/subscription.rbi +0 -2154
  1037. data/rbi/stripe/resources/subscription_item.rbi +0 -404
  1038. data/rbi/stripe/resources/subscription_schedule.rbi +0 -1795
  1039. data/rbi/stripe/resources/tax/calculation.rbi +0 -478
  1040. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
  1041. data/rbi/stripe/resources/tax/registration.rbi +0 -3216
  1042. data/rbi/stripe/resources/tax/settings.rbi +0 -141
  1043. data/rbi/stripe/resources/tax/transaction.rbi +0 -351
  1044. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  1045. data/rbi/stripe/resources/tax_code.rbi +0 -44
  1046. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  1047. data/rbi/stripe/resources/tax_id.rbi +0 -165
  1048. data/rbi/stripe/resources/tax_rate.rbi +0 -239
  1049. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1647
  1050. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  1051. data/rbi/stripe/resources/terminal/location.rbi +0 -222
  1052. data/rbi/stripe/resources/terminal/reader.rbi +0 -1016
  1053. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
  1054. data/rbi/stripe/resources/token.rbi +0 -1281
  1055. data/rbi/stripe/resources/topup.rbi +0 -222
  1056. data/rbi/stripe/resources/transfer.rbi +0 -199
  1057. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
  1058. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
  1059. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -869
  1060. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
  1061. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
  1062. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
  1063. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
  1064. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
  1065. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
  1066. data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
  1067. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
  1068. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  1069. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  1070. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  1071. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  1072. data/rbi/stripe/resources/v2/event.rbi +0 -48
  1073. data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
  1074. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -168
  1075. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  1076. data/rbi/stripe/services/account_external_account_service.rbi +0 -304
  1077. data/rbi/stripe/services/account_link_service.rbi +0 -60
  1078. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  1079. data/rbi/stripe/services/account_person_service.rbi +0 -1007
  1080. data/rbi/stripe/services/account_service.rbi +0 -4281
  1081. data/rbi/stripe/services/account_session_service.rbi +0 -748
  1082. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
  1083. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
  1084. data/rbi/stripe/services/application_fee_service.rbi +0 -78
  1085. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  1086. data/rbi/stripe/services/apps_service.rbi +0 -9
  1087. data/rbi/stripe/services/balance_service.rbi +0 -21
  1088. data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
  1089. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  1090. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
  1091. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  1092. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
  1093. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
  1094. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  1095. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  1096. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  1097. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -561
  1098. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
  1099. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  1100. data/rbi/stripe/services/billing_service.rbi +0 -15
  1101. data/rbi/stripe/services/charge_service.rbi +0 -448
  1102. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  1103. data/rbi/stripe/services/checkout/session_service.rbi +0 -2697
  1104. data/rbi/stripe/services/checkout_service.rbi +0 -9
  1105. data/rbi/stripe/services/climate/order_service.rbi +0 -142
  1106. data/rbi/stripe/services/climate/product_service.rbi +0 -46
  1107. data/rbi/stripe/services/climate/supplier_service.rbi +0 -46
  1108. data/rbi/stripe/services/climate_service.rbi +0 -11
  1109. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  1110. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  1111. data/rbi/stripe/services/coupon_service.rbi +0 -194
  1112. data/rbi/stripe/services/credit_note_line_item_service.rbi +0 -31
  1113. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  1114. data/rbi/stripe/services/credit_note_service.rbi +0 -415
  1115. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  1116. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  1117. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  1118. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  1119. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  1120. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
  1121. data/rbi/stripe/services/customer_service.rbi +0 -635
  1122. data/rbi/stripe/services/customer_session_service.rbi +0 -116
  1123. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
  1124. data/rbi/stripe/services/dispute_service.rbi +0 -424
  1125. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  1126. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  1127. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  1128. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  1129. data/rbi/stripe/services/event_service.rbi +0 -83
  1130. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  1131. data/rbi/stripe/services/file_link_service.rbi +0 -124
  1132. data/rbi/stripe/services/file_service.rbi +0 -116
  1133. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  1134. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
  1135. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
  1136. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
  1137. data/rbi/stripe/services/financial_connections_service.rbi +0 -11
  1138. data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
  1139. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  1140. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
  1141. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -339
  1142. data/rbi/stripe/services/identity_service.rbi +0 -10
  1143. data/rbi/stripe/services/invoice_item_service.rbi +0 -366
  1144. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
  1145. data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
  1146. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  1147. data/rbi/stripe/services/invoice_service.rbi +0 -3073
  1148. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
  1149. data/rbi/stripe/services/issuing/card_service.rbi +0 -503
  1150. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
  1151. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
  1152. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
  1153. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  1154. data/rbi/stripe/services/issuing/token_service.rbi +0 -99
  1155. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
  1156. data/rbi/stripe/services/issuing_service.rbi +0 -16
  1157. data/rbi/stripe/services/mandate_service.rbi +0 -20
  1158. data/rbi/stripe/services/payment_intent_service.rbi +0 -8010
  1159. data/rbi/stripe/services/payment_link_line_item_service.rbi +0 -31
  1160. data/rbi/stripe/services/payment_link_service.rbi +0 -1441
  1161. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
  1162. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
  1163. data/rbi/stripe/services/payment_method_service.rbi +0 -781
  1164. data/rbi/stripe/services/payout_service.rbi +0 -209
  1165. data/rbi/stripe/services/plan_service.rbi +0 -282
  1166. data/rbi/stripe/services/price_service.rbi +0 -546
  1167. data/rbi/stripe/services/product_feature_service.rbi +0 -67
  1168. data/rbi/stripe/services/product_service.rbi +0 -477
  1169. data/rbi/stripe/services/promotion_code_service.rbi +0 -214
  1170. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  1171. data/rbi/stripe/services/quote_line_item_service.rbi +0 -31
  1172. data/rbi/stripe/services/quote_service.rbi +0 -695
  1173. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
  1174. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -109
  1175. data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
  1176. data/rbi/stripe/services/radar_service.rbi +0 -11
  1177. data/rbi/stripe/services/refund_service.rbi +0 -185
  1178. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
  1179. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  1180. data/rbi/stripe/services/reporting_service.rbi +0 -10
  1181. data/rbi/stripe/services/review_service.rbi +0 -84
  1182. data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
  1183. data/rbi/stripe/services/setup_intent_service.rbi +0 -3709
  1184. data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
  1185. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  1186. data/rbi/stripe/services/sigma_service.rbi +0 -9
  1187. data/rbi/stripe/services/source_service.rbi +0 -663
  1188. data/rbi/stripe/services/source_transaction_service.rbi +0 -31
  1189. data/rbi/stripe/services/subscription_item_service.rbi +0 -350
  1190. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1425
  1191. data/rbi/stripe/services/subscription_service.rbi +0 -1768
  1192. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +0 -33
  1193. data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
  1194. data/rbi/stripe/services/tax/registration_service.rbi +0 -2278
  1195. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  1196. data/rbi/stripe/services/tax/transaction_line_item_service.rbi +0 -33
  1197. data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
  1198. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  1199. data/rbi/stripe/services/tax_id_service.rbi +0 -110
  1200. data/rbi/stripe/services/tax_rate_service.rbi +0 -185
  1201. data/rbi/stripe/services/tax_service.rbi +0 -12
  1202. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1328
  1203. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  1204. data/rbi/stripe/services/terminal/location_service.rbi +0 -182
  1205. data/rbi/stripe/services/terminal/reader_service.rbi +0 -540
  1206. data/rbi/stripe/services/terminal_service.rbi +0 -12
  1207. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
  1208. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  1209. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
  1210. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  1211. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
  1212. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
  1213. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  1214. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  1215. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -117
  1216. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  1217. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
  1218. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  1219. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
  1220. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
  1221. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
  1222. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
  1223. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  1224. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  1225. data/rbi/stripe/services/token_service.rbi +0 -1255
  1226. data/rbi/stripe/services/topup_service.rbi +0 -176
  1227. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
  1228. data/rbi/stripe/services/transfer_service.rbi +0 -152
  1229. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  1230. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  1231. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
  1232. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
  1233. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  1234. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
  1235. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
  1236. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
  1237. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  1238. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
  1239. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
  1240. data/rbi/stripe/services/treasury_service.rbi +0 -18
  1241. data/rbi/stripe/services/v1_services.rbi +0 -77
  1242. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  1243. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  1244. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -18
  1245. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  1246. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  1247. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -192
  1248. data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
  1249. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  1250. data/rbi/stripe/services/v2_services.rbi +0 -10
  1251. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -129
  1252. data/stripe.gemspec +0 -44
data/CHANGELOG.md DELETED
@@ -1,1769 +0,0 @@
1
- # Changelog
2
- ## 15.5.0 - 2025-08-27
3
- * [#1638](https://github.com/stripe/stripe-ruby/pull/1638) Add section on private preview SDKs in readme
4
- * [#1631](https://github.com/stripe/stripe-ruby/pull/1631) Update generated code. This release changes the pinned API version to `2025-08-27.basil`.
5
- * Add support for `balance_report`, `payout_details`, and `payout_reconciliation_report` on `AccountSession::Component` and `AccountSession::CreateParams::Component`
6
- * Add support for `name` on `BillingPortal::Configuration::CreateParams`, `BillingPortal::Configuration::UpdateParams`, and `BillingPortal::Configuration`
7
- * Add support for `installments` on `Charge::PaymentMethodDetail::Alma`
8
- * Add support for `transaction_id` on `Charge::PaymentMethodDetail::Alma`, `Charge::PaymentMethodDetail::AmazonPay`, `Charge::PaymentMethodDetail::Billie`, `Charge::PaymentMethodDetail::KakaoPay`, `Charge::PaymentMethodDetail::KrCard`, `Charge::PaymentMethodDetail::NaverPay`, `Charge::PaymentMethodDetail::Payco`, `Charge::PaymentMethodDetail::RevolutPay`, `Charge::PaymentMethodDetail::SamsungPay`, and `Charge::PaymentMethodDetail::Satispay`
9
- * Add support for `location` and `reader` on `Charge::PaymentMethodDetail::Paynow`
10
- * Add support for `amount_includes_iof` on `Checkout::Session::CreateParams::PaymentMethodOption::Pix`, `Checkout::Session::PaymentMethodOption::Pix`, `PaymentIntent::ConfirmParams::PaymentMethodOption::Pix`, `PaymentIntent::CreateParams::PaymentMethodOption::Pix`, `PaymentIntent::PaymentMethodOption::Pix`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Pix`
11
- * Add support for `metadata` and `period` on `Invoice::CreatePreviewParams::ScheduleDetail::Phase::AddInvoiceItem`, `Subscription::CreateParams::AddInvoiceItem`, `Subscription::UpdateParams::AddInvoiceItem`, `SubscriptionSchedule::CreateParams::Phase::AddInvoiceItem`, `SubscriptionSchedule::Phase::AddInvoiceItem`, and `SubscriptionSchedule::UpdateParams::Phase::AddInvoiceItem`
12
- * Add support for `exp_month` and `exp_year` on `Issuing::Card::CreateParams`
13
- * Add support for `excluded_payment_method_types` on `PaymentIntent::CreateParams` and `PaymentIntent`
14
- * Add support for `payout_method` on `Payout::CreateParams` and `Payout`
15
- * Add support for `mxn` on `Terminal::Configuration::CreateParams::Tipping`, `Terminal::Configuration::Tipping`, and `Terminal::Configuration::UpdateParams::Tipping`
16
- * Add support for `card` on `Terminal::Reader::PresentPaymentMethodParams`
17
- * [#1637](https://github.com/stripe/stripe-ruby/pull/1637) Add `stripe_client` usage tracking for StripeClient
18
- * [#1633](https://github.com/stripe/stripe-ruby/pull/1633) Remove double `T.nilable` before every emptyable field in update methods
19
-
20
- ## 15.4.0 - 2025-07-30
21
- This release changes the pinned API version to `2025-07-30.basil`.
22
-
23
- * [#1627](https://github.com/stripe/stripe-ruby/pull/1627) Update generated code
24
- * Add support for `instant_payouts_promotion` on `AccountSession::Component` and `AccountSession::CreateParams::Component`
25
- * Add support for `adjustable_quantity` on `BillingPortal::Configuration::CreateParams::Feature::SubscriptionUpdate::Product`, `BillingPortal::Configuration::Feature::SubscriptionUpdate::Product`, and `BillingPortal::Configuration::UpdateParams::Feature::SubscriptionUpdate::Product`
26
- * Add support for `transaction_id` on `Charge::PaymentMethodDetail::Cashapp`
27
- * Add support for `origin_context` on `Checkout::Session::CreateParams` and `Checkout::Session`
28
- * Add support for `template` on `Checkout::Session::CreateParams::InvoiceCreation::InvoiceDatum::RenderingOption`, `Checkout::Session::InvoiceCreation::InvoiceDatum::RenderingOption`, `PaymentLink::CreateParams::InvoiceCreation::InvoiceDatum::RenderingOption`, `PaymentLink::InvoiceCreation::InvoiceDatum::RenderingOption`, and `PaymentLink::UpdateParams::InvoiceCreation::InvoiceDatum::RenderingOption`
29
- * Add support for `setup_future_usage` on `Checkout::Session::CreateParams::PaymentMethodOption::Pix` and `Checkout::Session::PaymentMethodOption::Pix`
30
- * Change `Identity::VerificationSession::RelatedPerson.account` to be required
31
- * Change `Identity::VerificationSession::RelatedPerson.person` to be required
32
- * Add support for `duration` on `Invoice::CreatePreviewParams::ScheduleDetail::Phase`, `SubscriptionSchedule::CreateParams::Phase`, and `SubscriptionSchedule::UpdateParams::Phase`
33
- * Change type of `Invoice::CreatePreviewParams::SubscriptionDetail.cancel_at`, `Subscription::CreateParams.cancel_at`, and `Subscription::UpdateParams.cancel_at` from `DateTime` to `DateTime | enum('max_period_end'|'min_period_end')`
34
- * Add support for `price_data` on `PaymentLink::CreateParams::LineItem`
35
- * Change `PaymentLink::CreateParams::LineItem.price` to be optional
36
- * Add support for `standard` on `Tax::Registration::CountryOption::Ae`, `Tax::Registration::CountryOption::Au`, `Tax::Registration::CountryOption::Ch`, `Tax::Registration::CountryOption::Gb`, `Tax::Registration::CountryOption::Jp`, `Tax::Registration::CountryOption::No`, `Tax::Registration::CountryOption::Nz`, `Tax::Registration::CountryOption::Sg`, `Tax::Registration::CreateParams::CountryOption::Ae`, `Tax::Registration::CreateParams::CountryOption::Al`, `Tax::Registration::CreateParams::CountryOption::Ao`, `Tax::Registration::CreateParams::CountryOption::Au`, `Tax::Registration::CreateParams::CountryOption::Aw`, `Tax::Registration::CreateParams::CountryOption::B`, `Tax::Registration::CreateParams::CountryOption::Ba`, `Tax::Registration::CreateParams::CountryOption::Bb`, `Tax::Registration::CreateParams::CountryOption::Bd`, `Tax::Registration::CreateParams::CountryOption::Bf`, `Tax::Registration::CreateParams::CountryOption::Bh`, `Tax::Registration::CreateParams::CountryOption::Cd`, `Tax::Registration::CreateParams::CountryOption::Ch`, `Tax::Registration::CreateParams::CountryOption::Et`, `Tax::Registration::CreateParams::CountryOption::Gb`, `Tax::Registration::CreateParams::CountryOption::Gn`, `Tax::Registration::CreateParams::CountryOption::Is`, `Tax::Registration::CreateParams::CountryOption::Jp`, `Tax::Registration::CreateParams::CountryOption::Me`, `Tax::Registration::CreateParams::CountryOption::Mk`, `Tax::Registration::CreateParams::CountryOption::Mr`, `Tax::Registration::CreateParams::CountryOption::No`, `Tax::Registration::CreateParams::CountryOption::Nz`, `Tax::Registration::CreateParams::CountryOption::Om`, `Tax::Registration::CreateParams::CountryOption::R`, `Tax::Registration::CreateParams::CountryOption::Sg`, `Tax::Registration::CreateParams::CountryOption::Sr`, `Tax::Registration::CreateParams::CountryOption::Uy`, `Tax::Registration::CreateParams::CountryOption::Za`, and `Tax::Registration::CreateParams::CountryOption::Zw`
37
- * Add support for `aed`, `bgn`, `huf`, and `ron` on `Terminal::Configuration::CreateParams::Tipping`, `Terminal::Configuration::Tipping`, and `Terminal::Configuration::UpdateParams::Tipping`
38
-
39
- ## 15.3.0 - 2025-07-01
40
- This release changes the pinned API version to `2025-06-30.basil`.
41
-
42
- * [#1618](https://github.com/stripe/stripe-ruby/pull/1618) Update generated code
43
- * Add support for `migrate` method on resource `Subscription`
44
- * Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal::Reader`
45
- * Add support for `crypto_payments` on `Account::Capability`, `Account::CreateParams::Capability`, and `Account::UpdateParams::Capability`
46
- * Add support for `proof_of_address` on `Account::CreateParams::Document` and `Account::UpdateParams::Document`
47
- * Add support for `monthly_payout_days` and `weekly_payout_days` on `Account::CreateParams::Setting::Payout::Schedule`, `Account::Setting::Payout::Schedule`, and `Account::UpdateParams::Setting::Payout::Schedule`
48
- * Change `Account::Setting::Invoice.hosted_payment_method_save` to be required
49
- * Add support for `crypto` on `Charge::PaymentMethodDetail`, `ConfirmationToken::CreateParams::PaymentMethodDatum`, `ConfirmationToken::PaymentMethodPreview`, `PaymentIntent::ConfirmParams::PaymentMethodDatum`, `PaymentIntent::ConfirmParams::PaymentMethodOption`, `PaymentIntent::CreateParams::PaymentMethodDatum`, `PaymentIntent::CreateParams::PaymentMethodOption`, `PaymentIntent::PaymentMethodOption`, `PaymentIntent::UpdateParams::PaymentMethodDatum`, `PaymentIntent::UpdateParams::PaymentMethodOption`, `PaymentMethod::CreateParams`, `PaymentMethod`, `SetupIntent::ConfirmParams::PaymentMethodDatum`, `SetupIntent::CreateParams::PaymentMethodDatum`, and `SetupIntent::UpdateParams::PaymentMethodDatum`
50
- * Change type of `Charge::PaymentMethodDetail::Card::Installment::Plan.type`, `ConfirmationToken::CreateParams::PaymentMethodOption::Card::Installment::Plan.type`, `ConfirmationToken::PaymentMethodOption::Card::Installment::Plan.type`, `Invoice::CreateParams::PaymentSetting::PaymentMethodOption::Card::Installment::Plan.type`, `Invoice::UpdateParams::PaymentSetting::PaymentMethodOption::Card::Installment::Plan.type`, `PaymentIntent::ConfirmParams::PaymentMethodOption::Card::Installment::Plan.type`, `PaymentIntent::CreateParams::PaymentMethodOption::Card::Installment::Plan.type`, `PaymentIntent::PaymentMethodOption::Card::Installment::AvailablePlan.type`, `PaymentIntent::PaymentMethodOption::Card::Installment::Plan.type`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Card::Installment::Plan.type` from `literal('fixed_count')` to `enum('bonus'|'fixed_count'|'revolving')`
51
- * Add support for `subscriptions` on `Checkout::Session::CreateParams::PaymentMethodOption::Klarna`, `PaymentIntent::ConfirmParams::PaymentMethodOption::Klarna`, `PaymentIntent::CreateParams::PaymentMethodOption::Klarna`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Klarna`
52
- * Add support for `billing_mode` on `Checkout::Session::CreateParams::SubscriptionDatum`, `Invoice::CreatePreviewParams::ScheduleDetail`, `Invoice::CreatePreviewParams::SubscriptionDetail`, `Quote::CreateParams::SubscriptionDatum`, `Quote::SubscriptionDatum`, `Subscription::CreateParams`, `SubscriptionSchedule::CreateParams`, `SubscriptionSchedule`, and `Subscription`
53
- * Change type of `Dispute.enhanced_eligibility_types` from `literal('visa_compelling_evidence_3')` to `enum('visa_compelling_evidence_3'|'visa_compliance')`
54
- * Add support for `related_person` on `Identity::VerificationSession::CreateParams` and `Identity::VerificationSession`
55
- * Add support for `matching` on `Identity::VerificationSession::Option`
56
- * Add support for `klarna` on `Mandate::PaymentMethodDetail`, `SetupIntent::ConfirmParams::PaymentMethodOption`, `SetupIntent::CreateParams::PaymentMethodOption`, `SetupIntent::PaymentMethodOption`, and `SetupIntent::UpdateParams::PaymentMethodOption`
57
- * Add support for `on_demand` on `PaymentIntent::ConfirmParams::PaymentMethodOption::Klarna`, `PaymentIntent::CreateParams::PaymentMethodOption::Klarna`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Klarna`
58
- * Change type of `PaymentIntent::ConfirmParams::PaymentMethodOption::Klarna.setup_future_usage`, `PaymentIntent::CreateParams::PaymentMethodOption::Klarna.setup_future_usage`, `PaymentIntent::PaymentMethodOption::Klarna.setup_future_usage`, and `PaymentIntent::UpdateParams::PaymentMethodOption::Klarna.setup_future_usage` from `literal('none')` to `enum('none'|'off_session'|'on_session')`
59
- * Add support for `ua` on `Tax::Registration::CountryOption` and `Tax::Registration::CreateParams::CountryOption`
60
- * Change type of `Terminal::Location::UpdateParams.display_name` from `string` to `emptyable(string)`
61
- * Add support for `collect_payment_method` and `confirm_payment_intent` on `Terminal::Reader::Action`
62
- * Add support for `status` on `Treasury::FinancialAccount::ListParams`
63
- * [#1615](https://github.com/stripe/stripe-ruby/pull/1615) Update README to mention that APIResource.request was removed
64
- * [#1619](https://github.com/stripe/stripe-ruby/pull/1619) Updated StripeClient snippets in README
65
- * [#1620](https://github.com/stripe/stripe-ruby/pull/1620) Fix `raw_request` example in README
66
-
67
- ## 15.2.1 - 2025-06-04
68
- * [#1617](https://github.com/stripe/stripe-ruby/pull/1617) Fix `nil` requestor in `Webhook.construct_event` to allow for event data refresh
69
- * Fix bug where `Event` constructed from `Webhook.construct_event` could not be refreshed due to a `nil` APIRequestor
70
- * Raised in https://github.com/stripe/stripe-ruby/issues/1616
71
-
72
- ## 15.2.0 - 2025-05-29
73
- This release changes the pinned API version to `2025-05-28.basil`.
74
-
75
- * [#1605](https://github.com/stripe/stripe-ruby/pull/1605) Update generated code
76
- * Add support for `attach_payment` method on resource `Invoice`
77
- * Add support for `collect_inputs` method on resource `Terminal::Reader`
78
- * Add support for `succeed_input_collection` and `timeout_input_collection` test helper methods on resource `Terminal::Reader`
79
- * Add support for `pix_payments` on `Account::Capability`, `Account::CreateParams::Capability`, and `Account::UpdateParams::Capability`
80
- * Add support for `disputes_list` and `payment_disputes` on `AccountSession::Component` and `AccountSession::CreateParams::Component`
81
- * Add support for `refund_and_dispute_prefunding` on `Balance`
82
- * Add support for `balance_type` on `BalanceTransaction`
83
- * Change `Billing::Alert::CreateParams::UsageThreshold.meter` to be required
84
- * Add support for `location` and `reader` on `Charge::PaymentMethodDetail::Affirm` and `Charge::PaymentMethodDetail::WechatPay`
85
- * Add support for `payment_method_remove` on `Checkout::Session::CreateParams::SavedPaymentMethodOption`
86
- * Add support for `setup_future_usage` on `Checkout::Session::PaymentMethodOption::NaverPay`
87
- * Change `ConfirmationToken::PaymentMethodPreview::NaverPay.buyer_id` and `PaymentMethod::NaverPay.buyer_id` to be required
88
- * Add support for `post_payment_amount` and `pre_payment_amount` on `CreditNote`
89
- * Add support for `sex`, `unparsed_place_of_birth`, and `unparsed_sex` on `Identity::VerificationReport::Document` and `Identity::VerificationSession::VerifiedOutput`
90
- * Add support for `billing_thresholds` on `Invoice::CreatePreviewParams::ScheduleDetail::Phase::Item`, `Invoice::CreatePreviewParams::ScheduleDetail::Phase`, `Invoice::CreatePreviewParams::SubscriptionDetail::Item`, `Subscription::CreateParams::Item`, `Subscription::CreateParams`, `Subscription::UpdateParams::Item`, `Subscription::UpdateParams`, `SubscriptionItem::CreateParams`, `SubscriptionItem::UpdateParams`, `SubscriptionItem`, `SubscriptionSchedule::CreateParams::DefaultSetting`, `SubscriptionSchedule::CreateParams::Phase::Item`, `SubscriptionSchedule::CreateParams::Phase`, `SubscriptionSchedule::DefaultSetting`, `SubscriptionSchedule::Phase::Item`, `SubscriptionSchedule::Phase`, `SubscriptionSchedule::UpdateParams::DefaultSetting`, `SubscriptionSchedule::UpdateParams::Phase::Item`, `SubscriptionSchedule::UpdateParams::Phase`, and `Subscription`
91
- * Add support for `satispay` on `PaymentIntent::ConfirmParams::PaymentMethodOption`, `PaymentIntent::CreateParams::PaymentMethodOption`, `PaymentIntent::PaymentMethodOption`, and `PaymentIntent::UpdateParams::PaymentMethodOption`
92
- * Add support for `capture_method` on `PaymentIntent::PaymentMethodOption::Billie`
93
- * Add support for `kakao_pay`, `kr_card`, `naver_pay`, `payco`, and `samsung_pay` on `PaymentMethodConfiguration::CreateParams`, `PaymentMethodConfiguration::UpdateParams`, and `PaymentMethodConfiguration`
94
- * Add support for `network_decline_code` on `Refund::DestinationDetail::Paypal`
95
- * Add support for `metadata` on `Tax::Calculation::CreateParams::LineItem` and `Tax::CalculationLineItem`
96
- * Add support for `return_url` on `Terminal::Reader::Action::ProcessPaymentIntent::ProcessConfig` and `Terminal::Reader::ProcessPaymentIntentParams::ProcessConfig`
97
- * Add support for `collect_inputs` on `Terminal::Reader::Action`
98
- * [#1601](https://github.com/stripe/stripe-ruby/pull/1601) Adds CONTRIBUTING.md
99
-
100
- ## 15.1.0 - 2025-04-30
101
-
102
- This release changes the pinned API version to `2025-04-30.basil`.
103
-
104
- * [#1566](https://github.com/stripe/stripe-ruby/pull/1566) Update generated code
105
- * Add support for `minority_owned_business_designation` on `Account::BusinessProfile`, `Account::CreateParams::BusinessProfile`, and `Account::UpdateParams::BusinessProfile`
106
- * Add support for `registration_date` on `Account::Company`, `Account::CreateParams::Company`, `Account::UpdateParams::Company`, and `Token::CreateParams::Account::Company`
107
- * Add support for `us_cfpb_data` on `Account::CreateParams`, `Account::UpdateParams`, `AccountPerson::CreateParams`, `AccountPerson::UpdateParams`, `Person`, and `Token::CreateParams::Person`
108
- * Add support for `tax_id` on `Charge::BillingDetail`, `ConfirmationToken::CreateParams::PaymentMethodDatum::BillingDetail`, `ConfirmationToken::PaymentMethodPreview::BillingDetail`, `PaymentIntent::ConfirmParams::PaymentMethodDatum::BillingDetail`, `PaymentIntent::CreateParams::PaymentMethodDatum::BillingDetail`, `PaymentIntent::UpdateParams::PaymentMethodDatum::BillingDetail`, `PaymentMethod::BillingDetail`, `PaymentMethod::CreateParams::BillingDetail`, `PaymentMethod::UpdateParams::BillingDetail`, `SetupIntent::ConfirmParams::PaymentMethodDatum::BillingDetail`, `SetupIntent::CreateParams::PaymentMethodDatum::BillingDetail`, `SetupIntent::UpdateParams::PaymentMethodDatum::BillingDetail`, `TestHelpers::ConfirmationToken::CreateParams::PaymentMethodDatum::BillingDetail`, and `Treasury::OutboundPayment::CreateParams::DestinationPaymentMethodDatum::BillingDetail`
109
- * Add support for `wallet_options` on `Checkout::Session::CreateParams` and `Checkout::Session`
110
- * Add support for `provider` on `Checkout::Session::AutomaticTax`, `Invoice::AutomaticTax`, and `Quote::AutomaticTax`
111
- * Add support for `payment_method_options` on `ConfirmationToken::CreateParams` and `TestHelpers::ConfirmationToken::CreateParams`
112
- * Add support for `installments` on `ConfirmationToken::PaymentMethodOption::Card`
113
- * Add support for `context` on `Event`
114
- * Change type of `InvoiceLineItem::Parent::SubscriptionItemDetail.subscription` from `string` to `nullable(string)`
115
- * Add support for `billie` on `PaymentIntent::ConfirmParams::PaymentMethodOption`, `PaymentIntent::CreateParams::PaymentMethodOption`, `PaymentIntent::PaymentMethodOption`, and `PaymentIntent::UpdateParams::PaymentMethodOption`
116
- * Add support for `pix` on `PaymentMethodConfiguration::CreateParams`, `PaymentMethodConfiguration::UpdateParams`, and `PaymentMethodConfiguration`
117
- * Add support for `klarna` on `PaymentMethodDomain`
118
- * Add support for `pending_reason` on `Refund`
119
- * Change type of `Tax::CalculationLineItem.reference` from `nullable(string)` to `string`
120
- * Add support for `aw`, `az`, `bd`, `bf`, `bj`, `cm`, `cv`, `et`, `in`, `kg`, `la`, and `ph` on `Tax::Registration::CountryOption` and `Tax::Registration::CreateParams::CountryOption`
121
- * [#1585](https://github.com/stripe/stripe-ruby/pull/1585) Updated rubocop from 1.57.2 to 1.75.2
122
- * [#1583](https://github.com/stripe/stripe-ruby/pull/1583) Include new Ruby 3.4 in CI
123
- * [#1581](https://github.com/stripe/stripe-ruby/pull/1581) Added rubocop exclusion for generated tests
124
-
125
- ## 15.0.0 - 2025-04-09
126
-
127
- ### Breaking change
128
- * [#1574](https://github.com/stripe/stripe-ruby/pull/1574) Rename `object_id` in V2::Core::EventService::ListParams to `object_id_`
129
- * ⚠️ Change name of parameter from `object_id` to `object_id_` on `Stripe::V2::Core::EventService::ListParams` to avoid conflict with Ruby native attribute, as found in https://github.com/stripe/stripe-ruby/issues/1567
130
- * This is a no-op unless you are using this specific parameter that was introduced in `v14.0.0`
131
-
132
- * [#1576](https://github.com/stripe/stripe-ruby/pull/1576) Explicitly pass through custom headers in retrieve
133
- * Fix custom options passing for resource-based retrieve
134
- * [#1571](https://github.com/stripe/stripe-ruby/pull/1571) Validate all instance variable keys returned from the API
135
- * Validate all keys returned from the API, including custom response fields, to make sure they can be set in an instance variable, as brought up in https://github.com/stripe/stripe-ruby/issues/1564
136
- * We do not set instance variables for invalid field names (as defined by the [Ruby spec](https://ruby-doc.org/docs/ruby-doc-bundle/Manual/man-1.4/syntax.html#ident)). We recommend for custom hash map response fields, use the `[]` accessor.
137
- ```ruby
138
- c = client.v1.customers.retrieve("cus_123")
139
- c.metadata["invalid-variable-name!"]
140
- c.metadata["valid_key_name_works_too"]
141
- ```
142
- * [#1575](https://github.com/stripe/stripe-ruby/pull/1575) Remove unused youtube playlist link
143
- * [#1573](https://github.com/stripe/stripe-ruby/pull/1573) Remove link for stale youtube video playlist
144
-
145
- ## 14.0.0 - 2025-04-01
146
- * [#1559](https://github.com/stripe/stripe-ruby/pull/1559) Add RBI annotations for fields and params
147
- * Adds explicit field types for resources and parameters for methods, and add RBI static annotations for all resources and services
148
- ![image](https://github.com/user-attachments/assets/1b6cd994-d3ea-4f47-8487-f5c7b9ebf885)
149
- * See [the wiki](https://github.com/stripe/stripe-ruby/wiki/Static-Type-Annotations) for more details
150
-
151
- * [#1543](https://github.com/stripe/stripe-ruby/pull/1543) Support for APIs in the new API version 2025-03-31.basil
152
-
153
- This release changes the pinned API version to `2025-03-31.basil`.
154
-
155
- ### ⚠️ Breaking changes due to changes in the Stripe API
156
-
157
- Please review details for the breaking changes and alternatives in the [Stripe API changelog](https://docs.stripe.com/changelog/basil) before upgrading.
158
-
159
- * Remove support for resources `SubscriptionItemUsageRecordSummary` and `SubscriptionItemUsageRecord`
160
- * Remove support for `create` method on resource `SubscriptionItemUsageRecord`
161
- * Remove support for `list` method on resource `SubscriptionItemUsageRecordSummary`
162
- * Remove support for `upcomingLines` and `upcoming` methods on resource `Invoice`
163
-
164
- ### ⚠️ Other breaking changes in the SDK
165
- * [#1553](https://github.com/stripe/stripe-ruby/pull/1553) Remove public idempotent_replayed? method
166
- * ⚠️ Remove the `idempotent_replayed?` method on `StripeError`
167
- * The information is accessible indirectly via the raw response headers, `StripeResponse.http_headers`. For example, use `resource.last_response.http_headers['Idempotent-Replayed']`
168
-
169
- ### Additions to the Stripe API
170
-
171
- * Add support for new resource `InvoicePayment`
172
- * Add support for `list` and `retrieve` methods on resource `InvoicePayment`
173
-
174
-
175
- ## 13.5.0 - 2025-02-24
176
- * [#1534](https://github.com/stripe/stripe-ruby/pull/1534) Update generated code
177
- * Fixed `Stripe::InvoiceLineItem.update` method.
178
- * [#1536](https://github.com/stripe/stripe-ruby/pull/1536) Fix InvoiceLineItem parent class
179
- * Fix bug where `Stripe::InvoiceLineItem` had the incorrect parent class, making it error when `update` was called
180
- * [#1533](https://github.com/stripe/stripe-ruby/pull/1533) add codeowners file
181
-
182
- ## 13.4.1 - 2025-01-28
183
- * [#1528](https://github.com/stripe/stripe-ruby/pull/1528) Update generated code
184
- * ⚠️ Bugfix: `invoice` and `line_item_id` can be passed to `update` method in `InvoiceLineItem`.
185
-
186
- ## 13.4.0 - 2025-01-27
187
- * [#1510](https://github.com/stripe/stripe-ruby/pull/1510) Update generated code
188
- * Add support for `close` method on resource `Treasury.FinancialAccount`
189
- * [#1521](https://github.com/stripe/stripe-ruby/pull/1521) pipe rubocop output to devnull
190
- * [#1519](https://github.com/stripe/stripe-ruby/pull/1519) Fixed typos in CONTRIBUTING.MD
191
- * [#1513](https://github.com/stripe/stripe-ruby/pull/1513) add justfile
192
- * [#1515](https://github.com/stripe/stripe-ruby/pull/1515) Added CONTRIBUTING.md file
193
-
194
- ## 13.3.1 - 2025-01-13
195
- * [#1512](https://github.com/stripe/stripe-ruby/pull/1512) Import global configuration for options not available on StripeClient options
196
- * Fixes bug where `StripeClient` was not falling back to global options for options that are not available to be set per-client
197
- * [#1516](https://github.com/stripe/stripe-ruby/pull/1516) ThinEvent reason and livemode
198
- - Add `livemode` and optional `reason` fields to ThinEvent
199
- * [#1518](https://github.com/stripe/stripe-ruby/pull/1518) Pin ubuntu version in Test action
200
- * [#1508](https://github.com/stripe/stripe-ruby/pull/1508) Added pull request template
201
-
202
- ## 13.3.0 - 2024-12-18
203
- * [#1500](https://github.com/stripe/stripe-ruby/pull/1500) This release changes the pinned API version to `2024-12-18.acacia`.
204
-
205
- * [#1507](https://github.com/stripe/stripe-ruby/pull/1507) Pass requestor to all deserialized objects including lists
206
-
207
- * Fixes bug where `StripeObject` retrieved from lists could not be used to make requests, such as `refresh`
208
-
209
- ## 13.2.0 - 2024-11-20
210
- * [#1486](https://github.com/stripe/stripe-ruby/pull/1486) This release changes the pinned API version to `2024-11-20.acacia`.
211
- * Add support for `respond` test helper method on resource `Issuing.Authorization`
212
-
213
- ## 13.1.2 - 2024-11-15
214
- * [#1488](https://github.com/stripe/stripe-ruby/pull/1488) Fix incorrect key in param encoding
215
-
216
- ## 13.1.1 - 2024-11-06
217
- * [#1483](https://github.com/stripe/stripe-ruby/pull/1483) Fix APIResource#retrieve not sending `stripe_version`
218
-
219
- ## 13.1.0 - 2024-10-29
220
- * [#1472](https://github.com/stripe/stripe-ruby/pull/1472) This release changes the pinned API version to `2024-10-28.acacia`.
221
- * Add support for `submit_card` test helper method on resource `Issuing.Card`
222
- * Add support for new resource `V2.EventDestinations`
223
- * Add support for `create`, `retrieve`, `update`, `list`, `delete`, `disable`, `enable` and `ping` methods on resource `V2.EventDestinations`
224
- * [#1476](https://github.com/stripe/stripe-ruby/pull/1476) Fix APIResource#retrieve bug not returning instance of custom resources
225
- * 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.
226
-
227
- ## 13.0.2 - 2024-10-23
228
- * [#1473](https://github.com/stripe/stripe-ruby/pull/1473) Always return the result of APIResource#refresh in APIResource.retrieve
229
-
230
- * Fix bug where we would not return the mutated `self` object when calling `APIResource.retrieve`
231
-
232
- ## 13.0.1 - 2024-10-18
233
- * [#1471](https://github.com/stripe/stripe-ruby/pull/1471) update object tags for meter-related classes
234
-
235
- - fixes a bug where the `object` property of the `MeterEvent`, `MeterEventAdjustment`, and `MeterEventSession` didn't match the server.
236
- * [#1470](https://github.com/stripe/stripe-ruby/pull/1470) Cleaned up examples and added documentation
237
-
238
- ## 13.0.0 - 2024-10-01
239
- * [#1458](https://github.com/stripe/stripe-ruby/pull/1458) Support for APIs in the new API version 2024-09-30.acacia
240
-
241
- This release changes the pinned API version to `2024-09-30.acacia`. Please read the [API Changelog](https://docs.stripe.com/changelog/acacia#2024-09-30.acacia) and carefully review the API changes before upgrading.
242
-
243
- ### ⚠️ Breaking changes
244
-
245
- Please refer to our [migration guide for v13](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v13) for more information about the backwards incompatible changes.
246
-
247
- #### ❗ `StripeClient` and related changes
248
- * Move `StripeClient` and requestor logic to `APIRequestor`.
249
- * `StripeClient#request` is still available, but is deprecated and will be removed. We encourage `StripeClient#raw_request` as a replacement (see other breaking changes for more detail).
250
- * Repurpose and introduce `StripeClient` as the the entry-point to the service-based pattern, a new interface for calling the Stripe API with many benefits over the existing resource-based paradigm. Services are available under the `v1` and `v2` accessors.
251
- * No global config: you can simultaneously use multiple clients with different configuration options (such as API keys)
252
- * No extra API calls. All API endpoints can be accessed with a single method call. You don't have to call `retrieve` before doing an `update`.
253
- * No static methods. Much easier mocking.
254
-
255
- #### Other breaking changes
256
-
257
- * Adjust default values around retries for HTTP requests. You can use the old defaults by setting them explicitly. New values are:
258
- - max retries: `0` -> `2`
259
- - max retry delay (seconds) `2` -> `5`
260
- * Remove `StripeClient#connection_manager`. This was a legacy method from years ago.
261
- * Singleton `retrieve` method now requires `params` to be passed as the first argument. Existing calls to singleton `retrieve` method with only `opts` argument will have to be updated to account for the addition of `params` argument.
262
- ```ruby
263
- params = { expand: ["available"] }
264
- opts = { stripe_account: "acct_123" }
265
-
266
- # ❌ No longer works
267
- Stripe::Balance.retrieve(opts)
268
-
269
- # ✅ Correct way to call retrieve method
270
- Stripe::Balance.retrieve(params, opts)
271
- ```
272
- * Moved the `Stripe.raw_request()` method that was recently added to `StripeClient`. This will use the configuration set on the StripeClient instead of the global configuration used before.
273
- * Remove `APIResource.request`. Instead, use `StripeClient#raw_request` now.
274
- ```ruby
275
- # Instead of
276
- Stripe::APIResource.request(:get, "/v1/endpoint", params, opts)
277
-
278
- # do
279
- client = Stripe::StripeClient.new(...)
280
- resp = client.raw_request(:get, "/v1/endpoint", params: params, opts: opts)
281
- ```
282
- * Add an additional parameter to `APIResource.execute_resource_request`. However, we discourage use of this in favor of `StripeClient#raw_request`.
283
- ```ruby
284
- APIResource.execute_resource_request(method, url, params = {}, opts = {}, usage = [])
285
- # is now, with base_address being one of [:api, :files, :connect, :meter_events]
286
- APIResource.execute_resource_request(method, url, base_address = :api, params = {}, opts = {}, usage = [])
287
- ```
288
- * Change parameters to `APIRequestor.execute_request` (previously `StripeClient.execute_request`). It now returns all request options from our internal request framework as the second value in the returned tuple, instead of only the API key used:
289
- ```ruby
290
- # Before
291
- obj, api_key = StripeClient.execute_request(method, path, api_base: nil,
292
- api_key: nil, headers: {}, params: {}, usage: [])
293
-
294
- # is now, with base_address being one of [:api, :files, :connect, :meter_events]
295
-
296
- obj, opts = APIRequestor.execute_request(method, path, base_address,
297
- params: {}, opts: {}, usage: [])
298
- puts(opts) # will output {api_key: "sk_test_123", stripe_account: "acct_123"}
299
- ```
300
-
301
-
302
- ### Additions
303
- * 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)
304
- * Add method `parse_thin_event()` on the `StripeClient` class to parse [thin events](https://docs.corp.stripe.com/event-destinations#events-overview).
305
-
306
-
307
- ## 12.6.0 - 2024-09-12
308
- * [#1442](https://github.com/stripe/stripe-ruby/pull/1442) Update generated code
309
- * Add support for new resource `InvoiceRenderingTemplate`
310
- * Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `InvoiceRenderingTemplate`
311
- * [#1443](https://github.com/stripe/stripe-ruby/pull/1443) Removed v1/files override
312
-
313
- ## 12.5.0 - 2024-08-08
314
- * [#1440](https://github.com/stripe/stripe-ruby/pull/1440) Update generated code
315
- * Add support for new resources `Billing.AlertTriggered` and `Billing.Alert`
316
- * Add support for `activate`, `archive`, `create`, `deactivate`, `list`, and `retrieve` methods on resource `Alert`
317
- * Add support for `retrieve` method on resource `Tax.Calculation`
318
-
319
- ## 12.4.0 - 2024-07-25
320
- * [#1437](https://github.com/stripe/stripe-ruby/pull/1437) Update generated code
321
- * Add support for `update` method on resource `Checkout.Session`
322
-
323
- ## 12.3.0 - 2024-07-18
324
- * [#1436](https://github.com/stripe/stripe-ruby/pull/1436) Fixed changelog for major release 12.0.0
325
- * [#1435](https://github.com/stripe/stripe-ruby/pull/1435) Add deprecation warning for `APIResource.request`
326
-
327
- ## 12.2.0 - 2024-07-12
328
- * [#1430](https://github.com/stripe/stripe-ruby/pull/1430) Update generated code
329
-
330
- * [#1433](https://github.com/stripe/stripe-ruby/pull/1433) Add usage to raw_request call
331
- * [#1431](https://github.com/stripe/stripe-ruby/pull/1431) Add `raw_request`
332
-
333
- - 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.
334
-
335
- ## 12.1.0 - 2024-07-05
336
- * [#1425](https://github.com/stripe/stripe-ruby/pull/1425) Update generated code
337
- * Add support for `add_lines`, `remove_lines`, and `update_lines` methods on resource `Invoice`
338
- * [#1420](https://github.com/stripe/stripe-ruby/pull/1420) Update static methods for delete/list on BankAccount/Card to throw NotImplementedError
339
- * The below methods have been throwing `InvalidRequestError` because the urls used to make the requests have been buggy. Updating them to throw `NotImplementedError` instead just like their counterparts for update & retrieve because they cannot be implemented without the parent id.
340
-
341
- Methods affected | Use these instead in the context of payment method | Use these in the context of external accounts
342
- ------ | ------ | ----
343
- Stripe:: BankAccount.delete | Stripe::Customer.delete_source | Stripe::Account.delete_external_account
344
- Stripe:: BankAccount.list | Stripe::Customer.list_sources | Stripe::Customer.list_external_accounts
345
- Stripe:: Card.delete | Stripe::Customer.delete_source | Stripe::Account.delete_external_account
346
- Stripe:: Card.list | Stripe::Customer.list_sources | Stripe::Customer.list_external_accounts
347
- * [#1427](https://github.com/stripe/stripe-ruby/pull/1427) Regenerate rbis
348
- * [#1426](https://github.com/stripe/stripe-ruby/pull/1426) Remove coveralls and re-added JRuby
349
-
350
- ## 12.0.0 - 2024-06-24
351
- * [#1418](https://github.com/stripe/stripe-ruby/pull/1418) Add missing static method for verify on BankAccount
352
- * [#1419](https://github.com/stripe/stripe-ruby/pull/1419)
353
-
354
- This release changes the pinned API version to 2024-06-20. Please read the [API Changelog](https://docs.stripe.com/changelog/2024-06-20) and carefully review the API changes before upgrading.
355
-
356
- ### Additions
357
-
358
- * Add support for `finalize_amount` test helper method on resource `Issuing.Authorization`
359
-
360
- ## 11.7.0 - 2024-06-13
361
- * [#1415](https://github.com/stripe/stripe-ruby/pull/1415) Deprecate StripeClient#request
362
- * 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.
363
-
364
- ## 11.6.0 - 2024-05-30
365
- * [#1404](https://github.com/stripe/stripe-ruby/pull/1404) Add method to list invoice line items
366
- * Add methods `list_lines()` on the class `Invoice` to list the invoice line items
367
-
368
- ## 11.5.0 - 2024-05-23
369
- * This release has no changes.
370
-
371
- ## 11.4.0 - 2024-05-09
372
- * [#1397](https://github.com/stripe/stripe-ruby/pull/1397) Update generated code
373
- * Add support for `update` test helper method on resources `Treasury.OutboundPayment` and `Treasury.OutboundTransfer`
374
- * [#1399](https://github.com/stripe/stripe-ruby/pull/1399) Pass params to transfer reversal
375
- * Allow `Stripe::Transfer.retrieve_reversal()` to accept a params hash as the third argument, followed by opts. No changes to existing calls are necessary, but in a future major version this method will be updated to only accept params as the first argument. Fixes [#1393](https://github.com/stripe/stripe-ruby/issues/1393)
376
- * [#1389](https://github.com/stripe/stripe-ruby/pull/1389) Removed jaro_winkler as a dependency
377
- * [#1396](https://github.com/stripe/stripe-ruby/pull/1396) Start tracking `StripeClient#request` usage
378
-
379
- ## 11.3.0 - 2024-05-02
380
- * [#1387](https://github.com/stripe/stripe-ruby/pull/1387) Update generated code
381
-
382
- * [#1392](https://github.com/stripe/stripe-ruby/pull/1392) Deprecate Ruby methods based on OpenAPI spec
383
- - 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).
384
- * [#1391](https://github.com/stripe/stripe-ruby/pull/1391) Add Ruby 3.3 to CI test matrix
385
-
386
- ## 11.2.0 - 2024-04-18
387
- * [#1385](https://github.com/stripe/stripe-ruby/pull/1385) Update generated code
388
- * Add support for `create_preview` method on resource `Invoice`
389
-
390
- ## 11.1.0 - 2024-04-16
391
- * [#1379](https://github.com/stripe/stripe-ruby/pull/1379) Update generated code
392
- * Add support for new resource `Entitlements.ActiveEntitlementSummary`
393
-
394
- ## 11.0.0 - 2024-04-10
395
- * [#1374](https://github.com/stripe/stripe-ruby/pull/1374)
396
-
397
- * This release changes the pinned API version to `2024-04-10`. Please read the [API Changelog](https://docs.stripe.com/changelog/2024-04-10) and carefully review the API changes before upgrading.
398
-
399
- ### ⚠️ Breaking changes
400
-
401
- * 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.
402
-
403
- ## 10.15.0 - 2024-04-09
404
- * [#1377](https://github.com/stripe/stripe-ruby/pull/1377) Add last_response to StripeObject
405
- * 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.
406
- * [#1372](https://github.com/stripe/stripe-ruby/pull/1372) Update generated code
407
- * Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature`
408
- * Add support for `list` and `retrieve` methods on resource `ActiveEntitlement`
409
- * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `Feature`
410
- * [#1366](https://github.com/stripe/stripe-ruby/pull/1366) Move executables to `exe` folder
411
-
412
- ## 10.14.0 - 2024-03-28
413
- * [#1369](https://github.com/stripe/stripe-ruby/pull/1369) Update generated code
414
- * Add support for new resources `Billing.MeterEventAdjustment`, `Billing.MeterEvent`, and `Billing.Meter`
415
- * Add support for `create`, `deactivate`, `list`, `reactivate`, `retrieve`, and `update` methods on resource `Meter`
416
- * Add support for `create` method on resources `MeterEventAdjustment` and `MeterEvent`
417
-
418
- ## 10.13.0 - 2024-03-21
419
- * [#1367](https://github.com/stripe/stripe-ruby/pull/1367) Update generated code
420
- * Add support for new resources `ConfirmationToken` and `Forwarding.Request`
421
- * Add support for `retrieve` method on resource `ConfirmationToken`
422
- * Add support for `create`, `list`, and `retrieve` methods on resource `Request`
423
- * [#1362](https://github.com/stripe/stripe-ruby/pull/1362) Exclude sorbet directory and tapioca script when packing gem
424
-
425
- ## 10.12.0 - 2024-03-14
426
- * [#1359](https://github.com/stripe/stripe-ruby/pull/1359) Update generated code
427
- * Add support for new resources `Issuing.PersonalizationDesign` and `Issuing.PhysicalBundle`
428
- * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PersonalizationDesign`
429
- * Add support for `list` and `retrieve` methods on resource `PhysicalBundle`
430
- * [#1354](https://github.com/stripe/stripe-ruby/pull/1354) Refactor after SDK based generation pattern
431
- * [#1347](https://github.com/stripe/stripe-ruby/pull/1347) Reorder methods with lexographical sort
432
- * [#1355](https://github.com/stripe/stripe-ruby/pull/1355) Disable Metrics/ClassLength
433
- * [#1351](https://github.com/stripe/stripe-ruby/pull/1351) Update CHANGELOG.md
434
-
435
- ## 10.11.0 - 2024-02-29
436
- * [#1348](https://github.com/stripe/stripe-ruby/pull/1348) Use sorbet gem instead of sorbet-static
437
- * [#1342](https://github.com/stripe/stripe-ruby/pull/1342) Update generated code
438
- * Add `list_refunds` and `retrieve_refund` methods on resource `Charge`.
439
- * [#1345](https://github.com/stripe/stripe-ruby/pull/1345) Update README to use add_beta_version
440
-
441
- ## 10.10.0 - 2024-02-22
442
- * [#1336](https://github.com/stripe/stripe-ruby/pull/1336) Update generated code
443
- - Add `InvoiceLineItem.update` method.
444
- * [#1334](https://github.com/stripe/stripe-ruby/pull/1334) Add TaxIds API
445
- * Add support for `all`, `create`, and `retrieve` methods on resource `TaxId`
446
- * 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.
447
- * 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.
448
-
449
- ## 10.9.0 - 2024-02-15
450
- * [#1329](https://github.com/stripe/stripe-ruby/pull/1329) Update generated code
451
- * Fixed bug where `TaxId` resource `delete` method sent request to wrong URL (https://github.com/stripe/stripe-ruby/issues/1333)
452
- * [#1324](https://github.com/stripe/stripe-ruby/pull/1324) Start running Sorbet in CI
453
- * [#1327](https://github.com/stripe/stripe-ruby/pull/1327) Add methods for dynamically referenced constants
454
-
455
- ## 10.8.0 - 2024-02-08
456
- * [#1322](https://github.com/stripe/stripe-ruby/pull/1322) Update generated code
457
- * [#1323](https://github.com/stripe/stripe-ruby/pull/1323) Extract other CRUDL api operations from mixins
458
- * Extract more CRUDL operations, namely `create`, `delete`, `update`, and `list` into the resources. These methods will no longer rely on the APIOperation mixins.
459
- * [#1314](https://github.com/stripe/stripe-ruby/pull/1314) Update mocha gem to 1.16
460
-
461
- ## 10.7.1 - 2024-02-05
462
- * [#1320](https://github.com/stripe/stripe-ruby/pull/1320) Remove spurious _search deprecation messages (https://github.com/stripe/stripe-ruby/issues/1319)
463
-
464
- ## 10.7.0 - 2024-02-01
465
- * [#1317](https://github.com/stripe/stripe-ruby/pull/1317) Remove list method in child resources
466
- * Removes list method mixin from child resources, as these methods always return `InvalidRequestError` and never succeed
467
- * [#1311](https://github.com/stripe/stripe-ruby/pull/1311) Use the deprecation gem in search and clean up usage of the gem
468
-
469
- ## 10.6.0 - 2024-01-12
470
- * [#1310](https://github.com/stripe/stripe-ruby/pull/1310) Update generated code
471
- * Add support for new resource `CustomerSession`
472
- * Add support for `create` method on resource `CustomerSession`
473
-
474
- ## 10.5.0 - 2024-01-04
475
- * [#1306](https://github.com/stripe/stripe-ruby/pull/1306) Update generated code
476
- * Add support for `retrieve` method on resource `Tax.Registration`
477
-
478
- ## 10.4.0 - 2023-12-22
479
- * [#1303](https://github.com/stripe/stripe-ruby/pull/1303) Update generated code
480
- * Add support for new resource `FinancialConnections.Transaction`
481
- * Add support for `list` and `retrieve` methods on resource `Transaction`
482
- * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
483
- * [#1304](https://github.com/stripe/stripe-ruby/pull/1304) Add support for updatable singleton resources
484
-
485
- ## 10.3.0 - 2023-12-14
486
- * [#1294](https://github.com/stripe/stripe-ruby/pull/1294) Support sending parameters inside singleton retrieve
487
-
488
- ## 10.2.0 - 2023-11-30
489
- * [#1292](https://github.com/stripe/stripe-ruby/pull/1292) Update generated code
490
- * Add support for new resources `Climate.Order`, `Climate.Product`, and `Climate.Supplier`
491
- * Add support for `cancel`, `create`, `list`, `retrieve`, and `update` methods on resource `Order`
492
- * Add support for `list` and `retrieve` methods on resources `Product` and `Supplier`
493
- * [#1295](https://github.com/stripe/stripe-ruby/pull/1295) Upgrade rubocop
494
- * [#1291](https://github.com/stripe/stripe-ruby/pull/1291) Update generated code
495
-
496
- * [#1290](https://github.com/stripe/stripe-ruby/pull/1290) Update generated code
497
-
498
- * [#1288](https://github.com/stripe/stripe-ruby/pull/1288) Update generated code
499
-
500
-
501
- ## 10.1.0 - 2023-11-02
502
- * [#1286](https://github.com/stripe/stripe-ruby/pull/1286) Update generated code
503
- * Add support for new resource `Tax.Registration`
504
- * Add support for `create`, `list`, and `update` methods on resource `Registration`
505
-
506
- ## 10.0.0 - 2023-10-16
507
- * This release changes the pinned API version to `2023-10-16`. Please read the [API Changelog](https://docs.stripe.com/changelog/2023-10-16) and carefully review the API changes before upgrading `stripe-ruby`.
508
- * [#1283](https://github.com/stripe/stripe-ruby/pull/1283) Update generated code
509
- - Updated pinned API version
510
- * [#1281](https://github.com/stripe/stripe-ruby/pull/1281) Update generated code
511
- * Documentation only changes
512
-
513
- ## 9.4.0 - 2023-10-05
514
- * [#1277](https://github.com/stripe/stripe-ruby/pull/1277) Update generated code
515
- * Add support for new resources `Issuing.Token`
516
- * Add support for `list`, `retrieve`, and `update` methods on resource `Token`
517
-
518
- ## 9.3.0 - 2023-09-14
519
- * [#1272](https://github.com/stripe/stripe-ruby/pull/1272) Update generated code
520
- * Add support for new resource `PaymentMethodConfiguration`
521
- * Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
522
- * [#1271](https://github.com/stripe/stripe-ruby/pull/1271) Update generated code
523
- * Add support for `capture`, `create`, `expire`, `increment`, and `reverse` test helper methods on resource `Issuing.Authorization`
524
- * Add support for `create_force_capture`, `create_unlinked_refund`, and `refund` test helper methods on resource `Issuing.Transaction`
525
-
526
- ## 9.2.0 - 2023-09-07
527
- * [#1267](https://github.com/stripe/stripe-ruby/pull/1267) Update generated code
528
- * Add support for new resource `PaymentMethodDomain`
529
- * Add support for `create`, `list`, `retrieve`, `update`, and `validate` methods on resource `PaymentMethodDomain`
530
-
531
- ## 9.1.0 - 2023-08-31
532
- * [#1266](https://github.com/stripe/stripe-ruby/pull/1266) Update generated code
533
- * Add support for new resource `AccountSession`
534
- * Add support for `create` method on resource `AccountSession`
535
- * [#1262](https://github.com/stripe/stripe-ruby/pull/1262) Explicitly format timestamp in SignatureVerificationError message
536
-
537
-
538
- ## 9.0.0 - 2023-08-16
539
- **⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️**
540
-
541
- * [#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
542
-
543
- 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).
544
-
545
- To successfully upgrade to stripe-ruby v9, you must either
546
-
547
- 1. **(Recommended) Upgrade your integration to be compatible with API Version `2023-08-16`.**
548
-
549
- 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.
550
-
551
- You can read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more detailed instructions.
552
- 2. **(Alternative option) Specify a version other than `2023-08-16` when initializing `stripe-ruby`.**
553
-
554
- 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:
555
-
556
- ```diff
557
- require 'stripe'
558
- Stripe.api_key = "sk_test_..."
559
- + Stripe.api_version = '2020-08-27'
560
- ```
561
-
562
- If you were already initializing stripe-ruby with an explicit API Version, upgrading to v9 will not affect your integration.
563
-
564
- Read the [v9 migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v9) for more details.
565
-
566
- Going forward, each major release of this library will be *pinned* by default to the latest Stripe API Version at the time of release.
567
-
568
- 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.
569
-
570
- ## 8.7.0 - 2023-08-10
571
- * [#1256](https://github.com/stripe/stripe-ruby/pull/1256) Update generated code
572
- 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.
573
-
574
- ## 8.6.0 - 2023-07-13
575
- * [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
576
- * Add support for new resource `Tax.Settings`
577
- * Add support for `retrieve` and `update` methods on resource `Settings`
578
- * [#1241](https://github.com/stripe/stripe-ruby/pull/1241) Update generated code
579
-
580
- * [#1209](https://github.com/stripe/stripe-ruby/pull/1209) Update shoulda-context version
581
- * [#1235](https://github.com/stripe/stripe-ruby/pull/1235) Allow "error" string as log level
582
- * [#1238](https://github.com/stripe/stripe-ruby/pull/1238) Update log level error message to include `error`
583
- * [#1231](https://github.com/stripe/stripe-ruby/pull/1231) fix: variable typo in README for instrumentation
584
- * [#1234](https://github.com/stripe/stripe-ruby/pull/1234) Update generated code
585
-
586
- * [#1230](https://github.com/stripe/stripe-ruby/pull/1230) Update generated code
587
- * Release specs are identical.
588
- * [#1226](https://github.com/stripe/stripe-ruby/pull/1226) Update generated code
589
-
590
- * [#1223](https://github.com/stripe/stripe-ruby/pull/1223) Update generated code
591
-
592
- * [#1225](https://github.com/stripe/stripe-ruby/pull/1225) Downgrade jaro_winkler
593
- * [#1219](https://github.com/stripe/stripe-ruby/pull/1219) Update generated code
594
-
595
- Documentation updates.
596
- * [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
597
-
598
- * [#1208](https://github.com/stripe/stripe-ruby/pull/1208) Update generated code
599
-
600
- * [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
601
-
602
-
603
- ## 8.5.0 - 2023-03-30
604
- * [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
605
- * Remove support for `create` method on resource `Tax.Transaction`
606
- * 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.
607
- * [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
608
-
609
- ## 8.4.0 - 2023-03-23
610
- * [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
611
- * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
612
- * Add support for `create` and `list_line_items` methods on resource `Calculation`
613
- * Add support for `create_from_calculation`, `create_reversal`, `create`, `list_line_items`, and `retrieve` methods on resource `Transaction`
614
- * [#1152](https://github.com/stripe/stripe-ruby/pull/1152) Symbolize hash keys inside `convert_to_stripe_object_with_params`
615
-
616
- ## 8.3.0 - 2023-02-16
617
- * [#1175](https://github.com/stripe/stripe-ruby/pull/1175) API Updates
618
- * Add support for `refund_payment` method on resource `Terminal.Reader`
619
-
620
- ## 8.2.0 - 2023-02-02
621
- * [#1173](https://github.com/stripe/stripe-ruby/pull/1173) API Updates
622
- * Add support for `resume` method on resource `Subscription`
623
- * [#1171](https://github.com/stripe/stripe-ruby/pull/1171) Remove unused `partial` param from `initialize_from`
624
-
625
- ## 8.1.0 - 2023-01-12
626
- * [#1162](https://github.com/stripe/stripe-ruby/pull/1162) Improve request events instrumentation
627
-
628
- ## 8.0.0 - 2022-11-16
629
- * [#1144](https://github.com/stripe/stripe-ruby/pull/1144) Next major release changes
630
-
631
- Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://docs.stripe.com/changelog/2022-11-15.
632
-
633
- "⚠️" symbol highlights breaking changes.
634
-
635
- ### Deprecated
636
- - The `save` method is deprecated. Prefer the static `update` method that doesn't require retrieval of the resource to update it.
637
- ``` ruby
638
- # before
639
- refund = Stripe::Refund.retrieve("re_123")
640
- refund.description = "Refund description"
641
- refund.save
642
-
643
- # after
644
- Stripe::Refund.update("re_123", description: "Refund description")
645
- ```
646
-
647
- ### ⚠️ Removed
648
- - Removed deprecated `Sku` resource.
649
- - Removed deprecated `Orders` resource.
650
- - Removed deprecated `delete` method on `Subscription` resource. Please use `cancel` method instead.
651
- ```ruby
652
- # before
653
- Stripe::Subscription::delete("sub_12345")
654
-
655
- # after
656
- Stripe::Subscription::cancel("sub_12345")
657
- ```
658
-
659
-
660
- ## 7.1.0 - 2022-08-19
661
- * [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
662
- * Add support for new resource `CustomerCashBalanceTransaction`
663
- * [#1118](https://github.com/stripe/stripe-ruby/pull/1118) Update AllowedChars in rubocop config
664
- * [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
665
- * [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
666
-
667
- ## 7.0.0 - 2022-08-02
668
-
669
- Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v7. For changes to the Stripe products, read more at https://docs.stripe.com/changelog/2022-08-01.
670
-
671
- "⚠️" symbol highlights breaking changes.
672
-
673
- * [#1106](https://github.com/stripe/stripe-ruby/pull/1106) API Updates
674
- * [#1092](https://github.com/stripe/stripe-ruby/pull/1092) API Updates
675
- * [#1090](https://github.com/stripe/stripe-ruby/pull/1090) Use auto-generation for `Invoice` methods
676
- * [#1103](https://github.com/stripe/stripe-ruby/pull/1103) Next major release changes
677
-
678
- ### ⚠️ Changed
679
- * `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.
680
- * Update default bundle of CA certificates to April 26, 2022.
681
-
682
- ### Deprecated
683
- * Deprecate `delete` method on `Subscription` resource. Please use `cancel` method instead.
684
-
685
- ### ⚠️ Removed
686
- * Remove `details` method from `Issuing.Card` resource. The method was not supported.
687
- * Remove `Issuing.CardDetails` resource. Read more at https://stripe.com/docs/issuing/cards/virtual.
688
- * Remove `create` method from `ReportType` resource. The method was not supported.
689
- * Remove `usage_record_summaries` method from `SubscriptionItem` resource. Please use `list_usage_record_summaries` method instead.
690
- * Remove `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `Issuing::CardDetails`, `Recipient`, ` RecipientTransfer`, and `ThreeDSecure` resources. The resources were deprecated or no longer in use.
691
- * Remove ability to list `Card` resource for a `Recipient`.
692
- * Remove `cancel` method from `Transfer` resource. The method was deprecated.
693
-
694
- ## 6.5.0 - 2022-06-29
695
- * [#1084](https://github.com/stripe/stripe-ruby/pull/1084) API Updates
696
- * Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
697
- * [#1076](https://github.com/stripe/stripe-ruby/pull/1076) fix: Update logging to coerce ASCII-8BIT into UTF-8.
698
-
699
- ## 6.4.0 - 2022-06-17
700
- * [#1073](https://github.com/stripe/stripe-ruby/pull/1073) API Updates
701
- * Add support for `fund_cash_balance` test helper method on resource `Customer`
702
- * [#1074](https://github.com/stripe/stripe-ruby/pull/1074) Support updating pre-release versions
703
- * [#1072](https://github.com/stripe/stripe-ruby/pull/1072) Trigger workflows on beta branches
704
- * [#1071](https://github.com/stripe/stripe-ruby/pull/1071) Use request_stripe_object for all requests
705
- * [#1070](https://github.com/stripe/stripe-ruby/pull/1070) API Updates
706
-
707
- Switch from using meta-programing to generating explicit methods for custom methods.
708
- * [#1069](https://github.com/stripe/stripe-ruby/pull/1069) chore: Stop special implementation of Account.persons method.
709
-
710
- ## 6.3.0 - 2022-06-08
711
- * [#1063](https://github.com/stripe/stripe-ruby/pull/1063) fix: Update cash balance methods to no longer require nested ID.
712
-
713
- ## 6.2.0 - 2022-05-23
714
- * [#1060](https://github.com/stripe/stripe-ruby/pull/1060) API Updates
715
- * Add support for new resource `Apps.Secret`
716
-
717
- ## 6.1.0 - 2022-05-19
718
- * [#1057](https://github.com/stripe/stripe-ruby/pull/1057) API Updates
719
- * 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`
720
- * Add support for `retrieve_payment_method` method on resource `Customer`
721
- * Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
722
-
723
-
724
-
725
- ## 6.0.0 - 2022-05-09
726
- * [#1056](https://github.com/stripe/stripe-ruby/pull/1056) API Updates
727
- Major version release. The [migration guide](https://github.com/stripe/stripe-ruby/wiki/Migration-Guide-for-v6) contains more information.
728
-
729
- (⚠️ = breaking changes):
730
- * ⚠️ Replace the legacy `Order` API with the new `Order` API.
731
- * New methods: `cancel`, `list_line_items`, `reopen`, and `submit`
732
- * Removed methods: `pay` and `return_order`
733
- * Removed resources: `OrderItem` and `OrderReturn`
734
- * ⚠️ Rename `FinancialConnections::Account.refresh` to `FinancialConnections::Account.refresh_account
735
-
736
- ## 5.55.0 - 2022-05-05
737
- * [#1055](https://github.com/stripe/stripe-ruby/pull/1055) API Updates
738
- * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session`
739
-
740
-
741
- ## 5.54.0 - 2022-05-03
742
- * [#1053](https://github.com/stripe/stripe-ruby/pull/1053) API Updates
743
- * Add support for new resource `CashBalance`
744
-
745
- ## 5.53.0 - 2022-04-21
746
- * [#1050](https://github.com/stripe/stripe-ruby/pull/1050) API Updates
747
- * Add support for `expire` test helper method on resource `Refund`
748
-
749
- ## 5.52.0 - 2022-04-18
750
- * [#1046](https://github.com/stripe/stripe-ruby/pull/1046) [#1047](https://github.com/stripe/stripe-ruby/pull/1047) API Updates
751
- * Add support for new resources `FundingInstructions` and `Terminal.Configuration`
752
-
753
- ## 5.51.0 - 2022-04-15
754
- * [#1046](https://github.com/stripe/stripe-ruby/pull/1046) This release was incomplete and was yanked from RubyGems immediately after it was published.
755
-
756
- ## 5.50.0 - 2022-04-13
757
- * [#1045](https://github.com/stripe/stripe-ruby/pull/1045) API Updates
758
- * Add support for `increment_authorization` method on resource `PaymentIntent`
759
-
760
- ## 5.49.0 - 2022-04-08
761
- * [#1043](https://github.com/stripe/stripe-ruby/pull/1043) API Updates
762
- * Add support for `apply_customer_balance` method on resource `PaymentIntent`
763
-
764
- ## 5.48.0 - 2022-03-30
765
- * [#1041](https://github.com/stripe/stripe-ruby/pull/1041) API Updates
766
- * Add support for `cancel_action`, `process_payment_intent`, `process_setup_intent`, and `set_reader_display` methods on resource `Terminal.Reader`
767
-
768
- ## 5.47.0 - 2022-03-29
769
- * [#1040](https://github.com/stripe/stripe-ruby/pull/1040) API Updates
770
- * Add support for Search API
771
- * Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription`
772
-
773
- * [#1034](https://github.com/stripe/stripe-ruby/pull/1034) Add supporting classes for test helper generation
774
-
775
- ## 5.46.0 - 2022-03-23
776
- * [#1039](https://github.com/stripe/stripe-ruby/pull/1039) API Updates
777
- * Add support for `cancel` method on resource `Refund`
778
- * [#992](https://github.com/stripe/stripe-ruby/pull/992) Add support for Search API
779
-
780
- ## 5.45.0 - 2022-03-01
781
- * [#1035](https://github.com/stripe/stripe-ruby/pull/1035) API Updates
782
- * Add support for new resource `TestHelpers.TestClock`
783
-
784
- ## 5.44.0 - 2022-02-16
785
- * [#1032](https://github.com/stripe/stripe-ruby/pull/1032) API Updates
786
- * Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`
787
-
788
- ## 5.43.0 - 2022-01-20
789
- * [#1031](https://github.com/stripe/stripe-ruby/pull/1031) API Updates
790
- * Add support for new resource `PaymentLink`
791
-
792
- ## 5.42.0 - 2021-12-13
793
- * [#1022](https://github.com/stripe/stripe-ruby/pull/1022) Add connection manager logging and include object IDs in logging.
794
-
795
- ## 5.41.0 - 2021-11-16
796
- * [#1017](https://github.com/stripe/stripe-ruby/pull/1017) API Updates
797
- * Add support for new resource `ShippingRate`
798
-
799
- ## 5.40.0 - 2021-11-11
800
- * [#1015](https://github.com/stripe/stripe-ruby/pull/1015) API Updates
801
- * Add support for `expire` method on resource `Checkout.Session`
802
- * [#1013](https://github.com/stripe/stripe-ruby/pull/1013) Add tests for child resources.
803
- * [#1012](https://github.com/stripe/stripe-ruby/pull/1012) Add tests for namespaced resources.
804
- * [#1011](https://github.com/stripe/stripe-ruby/pull/1011) codegen: 3 more files
805
-
806
- ## 5.39.0 - 2021-10-11
807
- * [#1010](https://github.com/stripe/stripe-ruby/pull/1010) API Updates
808
- * Add support for `list_payment_methods` method on resource `Customer`
809
-
810
- ## 5.38.0 - 2021-08-10
811
- * [#993](https://github.com/stripe/stripe-ruby/pull/993) Add `request_id` to RequestEndEvent
812
- * [#991](https://github.com/stripe/stripe-ruby/pull/991) Codegen more files
813
- * [#989](https://github.com/stripe/stripe-ruby/pull/989) Remove unused API error types from docs.
814
-
815
- ## 5.37.0 - 2021-07-14
816
- * [#988](https://github.com/stripe/stripe-ruby/pull/988) API Updates
817
- * Add support for `list_computed_upfront_line_items` method on resource `Quote`
818
-
819
- ## 5.36.0 - 2021-07-09
820
- * [#987](https://github.com/stripe/stripe-ruby/pull/987) Add support for `Quote` API
821
-
822
- ## 5.35.0 - 2021-06-30
823
- * [#985](https://github.com/stripe/stripe-ruby/pull/985) Update normalize_opts to use dup instead of clone.
824
- * [#982](https://github.com/stripe/stripe-ruby/pull/982) Deprecate travis
825
- * [#983](https://github.com/stripe/stripe-ruby/pull/983) Add support for making a request and receiving the response as a stream.
826
-
827
- ## 5.34.0 - 2021-06-04
828
- * [#981](https://github.com/stripe/stripe-ruby/pull/981) API Updates
829
- * Add support for `TaxCode` API.
830
-
831
- ## 5.33.0 - 2021-05-19
832
- * [#979](https://github.com/stripe/stripe-ruby/pull/979) Add support for the Identify VerificationSession and VerificationReport APIs
833
-
834
- ## 5.32.1 - 2021-04-05
835
- * Correct use of regexp `match` in gemspec for old versions of Ruby
836
-
837
- ## 5.32.0 - 2021-04-05
838
- * [#973](https://github.com/stripe/stripe-ruby/pull/973) Reduce packed gem size
839
-
840
- ## 5.31.0 - 2021-04-02
841
- * [#968](https://github.com/stripe/stripe-ruby/pull/968) Allow StripeClient to be configured per instance
842
- * [#971](https://github.com/stripe/stripe-ruby/pull/971) On config change, only clear connection managers for changed config
843
- * [#972](https://github.com/stripe/stripe-ruby/pull/972) Rename `Stripe.configuration` to `Stripe.config`
844
- * [#970](https://github.com/stripe/stripe-ruby/pull/970) Reserve some critical field names when adding `StripeObject` accessors
845
- * [#967](https://github.com/stripe/stripe-ruby/pull/967) CI: github actions
846
-
847
- ## 5.30.0 - 2021-02-22
848
- * [#965](https://github.com/stripe/stripe-ruby/pull/965) Add support for the Billing Portal Configuration API
849
-
850
- ## 5.29.1 - 2021-02-09
851
- * [#964](https://github.com/stripe/stripe-ruby/pull/964) Fix return value of `Customer#delete_discount`
852
-
853
- ## 5.29.0 - 2021-01-05
854
- * [#952](https://github.com/stripe/stripe-ruby/pull/952) Allow client_id configuration on instance config
855
-
856
- ## 5.28.0 - 2020-10-14
857
- * [#950](https://github.com/stripe/stripe-ruby/pull/950) Add configuration option for `write_timeout` for connections on Ruby 2.6+
858
-
859
- ## 5.27.0 - 2020-10-14
860
- * [#951](https://github.com/stripe/stripe-ruby/pull/951) Add support for the Payout Reverse API
861
-
862
- ## 5.26.0 - 2020-09-29
863
- * [#949](https://github.com/stripe/stripe-ruby/pull/949) Add support for the `SetupAttempt` resource and List API
864
-
865
- ## 5.25.0 - 2020-09-02
866
- * [#944](https://github.com/stripe/stripe-ruby/pull/944) Add support for the Issuing Dispute Submit API
867
-
868
- ## 5.24.0 - 2020-08-26
869
- * [#939](https://github.com/stripe/stripe-ruby/pull/939) Extract configurations into separate object
870
- * [#940](https://github.com/stripe/stripe-ruby/pull/940) Fix typo in documentation of `stripe_object.rb`
871
-
872
- ## 5.23.1 - 2020-08-05
873
- * [#936](https://github.com/stripe/stripe-ruby/pull/936) Rename API resource's `request` method
874
-
875
- ## 5.23.0 - 2020-08-05
876
- * [#937](https://github.com/stripe/stripe-ruby/pull/937) Add support for the `PromotionCode` resource and APIs
877
-
878
- ## 5.22.0 - 2020-05-11
879
- * [#918](https://github.com/stripe/stripe-ruby/pull/918) Add support for the `LineItem` resource and APIs
880
-
881
- ## 5.21.0 - 2020-04-29
882
- * [#917](https://github.com/stripe/stripe-ruby/pull/917) Add support for the `Price` resource and APIs
883
-
884
- ## 5.20.0 - 2020-04-27
885
- * [#916](https://github.com/stripe/stripe-ruby/pull/916) Add new `.generate_header` method for webhooks
886
-
887
- ## 5.19.0 - 2020-04-24
888
- * [#915](https://github.com/stripe/stripe-ruby/pull/915) Expose `Stripe::Webhook.compute_signature` publicly
889
-
890
- ## 5.18.0 - 2020-04-22
891
- * [#911](https://github.com/stripe/stripe-ruby/pull/911) Add support for `BillingPortal` namespace and `Session` resource and APIs
892
-
893
- ## 5.17.0 - 2020-02-26
894
- * [#907](https://github.com/stripe/stripe-ruby/pull/907) Add `StripeError#idempotent_replayed?`
895
-
896
- ## 5.16.0 - 2020-02-26
897
- * [#906](https://github.com/stripe/stripe-ruby/pull/906) Add support for listing Checkout sessions
898
- * [#903](https://github.com/stripe/stripe-ruby/pull/903) Upgrade to Rubocop 0.80
899
-
900
- ## 5.15.0 - 2020-02-10
901
- * [#902](https://github.com/stripe/stripe-ruby/pull/902) Add `request_begin` instrumentation callback
902
-
903
- ## 5.14.0 - 2020-01-14
904
- * [#896](https://github.com/stripe/stripe-ruby/pull/896) Add support for `CreditNoteLineItem`
905
- * [#894](https://github.com/stripe/stripe-ruby/pull/894) Clean up test output by capturing `$stderr` when we expect warnings
906
- * [#892](https://github.com/stripe/stripe-ruby/pull/892) Explicitly pass a parameter as hash to be more ruby 2.7 friendly
907
- * [#893](https://github.com/stripe/stripe-ruby/pull/893) Upgrade Rubocop to 0.79
908
-
909
- ## 5.13.0 - 2020-01-08
910
- * [#891](https://github.com/stripe/stripe-ruby/pull/891) Fix most Ruby 2.7 warnings
911
-
912
- ## 5.12.1 - 2020-01-06
913
- * [#890](https://github.com/stripe/stripe-ruby/pull/890) Override API key with `client_secret` in `OAuth.token`
914
-
915
- ## 5.12.0 - 2020-01-02
916
- * [#889](https://github.com/stripe/stripe-ruby/pull/889) Add support for retrieve source transaction API method
917
-
918
- ## 5.11.0 - 2019-11-26
919
- * [#885](https://github.com/stripe/stripe-ruby/pull/885) Add support for `CreditNote` preview
920
-
921
- ## 5.10.0 - 2019-11-08
922
- * [#882](https://github.com/stripe/stripe-ruby/pull/882) Add list_usage_record_summaries and list_source_transactions
923
-
924
- ## 5.9.0 - 2019-11-07
925
- * [#870](https://github.com/stripe/stripe-ruby/pull/870) Add request instrumentation callback (see `README.md` for usage example)
926
-
927
- ## 5.8.0 - 2019-11-05
928
- * [#879](https://github.com/stripe/stripe-ruby/pull/879) Add support for `Mandate`
929
- * [#876](https://github.com/stripe/stripe-ruby/pull/876) Add additional per-request configuration documentation
930
- * [#874](https://github.com/stripe/stripe-ruby/pull/874) Raise an error when requests params are invalid
931
- * [#873](https://github.com/stripe/stripe-ruby/pull/873) Contributor Covenant
932
-
933
- ## 5.7.1 - 2019-10-15
934
- * [#869](https://github.com/stripe/stripe-ruby/pull/869) Fixes the misnamed `connection_base=` setter to be named `connect_base=`
935
-
936
- ## 5.7.0 - 2019-10-10
937
- * [#865](https://github.com/stripe/stripe-ruby/pull/865) Support backwards pagination with list's `#auto_paging_each`
938
-
939
- ## 5.6.0 - 2019-10-04
940
- * [#861](https://github.com/stripe/stripe-ruby/pull/861) Nicer error when specifying non-nil non-string opt value
941
-
942
- ## 5.5.0 - 2019-10-03
943
- * [#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
944
-
945
- ## 5.4.1 - 2019-10-01
946
- * [#858](https://github.com/stripe/stripe-ruby/pull/858) Drop Timecop dependency
947
-
948
- ## 5.4.0 - 2019-10-01
949
- * [#857](https://github.com/stripe/stripe-ruby/pull/857) Move to monotonic time for duration calculations
950
-
951
- ## 5.3.0 - 2019-10-01
952
- * [#853](https://github.com/stripe/stripe-ruby/pull/853) Support `Stripe-Should-Retry` header
953
-
954
- ## 5.2.0 - 2019-09-19
955
- * [#851](https://github.com/stripe/stripe-ruby/pull/851) Introduce system for garbage collecting connection managers
956
-
957
- ## 5.1.1 - 2019-09-04
958
- * [#845](https://github.com/stripe/stripe-ruby/pull/845) Transfer the request_id from the http_headers to error.
959
-
960
- ## 5.1.0 - 2019-08-27
961
- * [#841](https://github.com/stripe/stripe-ruby/pull/841) Retry requests on a 429 that's a lock timeout
962
-
963
- ## 5.0.1 - 2019-08-20
964
- * [#836](https://github.com/stripe/stripe-ruby/pull/836) Increase connection keep alive timeout to 30 seconds
965
-
966
- ## 5.0.0 - 2019-08-20
967
- 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.
968
-
969
- Pull requests included in this release (cf. [#815](https://github.com/stripe/stripe-ruby/pull/815)) (⚠️ = breaking changes):
970
- * ⚠️ [#813](https://github.com/stripe/stripe-ruby/pull/813): Convert library to use built-in `Net::HTTP`
971
- * ⚠️ [#816](https://github.com/stripe/stripe-ruby/pull/816): Make `code` argument in `CardError` named instead of positional.
972
- * ⚠️ [#817](https://github.com/stripe/stripe-ruby/pull/817): Drop support for very old Ruby versions.
973
- * [#818](https://github.com/stripe/stripe-ruby/pull/818): Bump Rubocop to latest version
974
- * [#819](https://github.com/stripe/stripe-ruby/pull/819): Ruby minimum version increase followup
975
- * ⚠️ [#820](https://github.com/stripe/stripe-ruby/pull/820): Remove old deprecated methods
976
- * ⚠️ [#823](https://github.com/stripe/stripe-ruby/pull/823): Remove all alias for list methods
977
- * ⚠️ [#826](https://github.com/stripe/stripe-ruby/pull/826): Remove `UsageRecord.create` method
978
- * ⚠️ [#827](https://github.com/stripe/stripe-ruby/pull/827): Remove `IssuerFraudRecord`
979
- * [#811](https://github.com/stripe/stripe-ruby/pull/811): Add `ErrorObject` to `StripeError` exceptions
980
- * [#828](https://github.com/stripe/stripe-ruby/pull/828): Tweak retry logic to be a little more like stripe-node
981
- * [#829](https://github.com/stripe/stripe-ruby/pull/829): Reset connections when connection-changing configuration changes (optional)
982
- * [#830](https://github.com/stripe/stripe-ruby/pull/830): Fix inverted sign for 500 retries
983
- * ⚠️[#831](https://github.com/stripe/stripe-ruby/pull/831): Remove a few more very old deprecated methods
984
- * [#832](https://github.com/stripe/stripe-ruby/pull/832): Minor cleanup in `StripeClient`
985
- * [#833](https://github.com/stripe/stripe-ruby/pull/833): Do better bookkeeping when tracking state in `Thread.current`
986
- * [#834](https://github.com/stripe/stripe-ruby/pull/834): Add `Invoice.list_upcoming_line_items` method
987
-
988
- ## 4.24.0 - 2019-08-12
989
- * [#825](https://github.com/stripe/stripe-ruby/pull/825) Add `SubscriptionItem.create_usage_record` method
990
- - This release also removed the `SubscriptionSchedule.revisions` method. This should have been included in the previous release (4.23.0)
991
-
992
- ## 4.23.0 - 2019-08-09
993
- * [#824](https://github.com/stripe/stripe-ruby/pull/824) Remove SubscriptionScheduleRevision
994
- - This is technically a breaking change. We've chosen to release it as a minor vesion bump because the associated API is unused.
995
-
996
- ## 4.22.1 - 2019-08-09
997
- * [#808](https://github.com/stripe/stripe-ruby/pull/808) Unify request/response handling
998
-
999
- ## 4.22.0 - 2019-07-30
1000
- * [#821](https://github.com/stripe/stripe-ruby/pull/821) Listing `BalanceTransaction` objects now uses `/v1/balance_transactions` instead of `/v1/balance/history`
1001
-
1002
- ## 4.21.3 - 2019-07-15
1003
- * [#810](https://github.com/stripe/stripe-ruby/pull/810) Better error message when passing non-string to custom method
1004
-
1005
- ## 4.21.2 - 2019-07-05
1006
- * [#806](https://github.com/stripe/stripe-ruby/pull/806) Revert back to `initialize_from` from `Util.convert_to_stripe_object`
1007
-
1008
- ## 4.21.1 - 2019-07-04
1009
- * [#807](https://github.com/stripe/stripe-ruby/pull/807) Add gem metadata
1010
-
1011
- ## 4.21.0 - 2019-06-28
1012
- * [#803](https://github.com/stripe/stripe-ruby/pull/803) Add support for the `SetupIntent` resource and APIs
1013
-
1014
- ## 4.20.1 - 2019-06-28
1015
- * [#805](https://github.com/stripe/stripe-ruby/pull/805) Fix formatting in `ConnectionFailed` error message
1016
-
1017
- ## 4.20.0 - 2019-06-24
1018
- * [#800](https://github.com/stripe/stripe-ruby/pull/800) Enable request latency telemetry by default
1019
-
1020
- ## 4.19.0 - 2019-06-17
1021
- * [#770](https://github.com/stripe/stripe-ruby/pull/770) Add support for `CustomerBalanceTransaction` resource and APIs
1022
-
1023
- ## 4.18.1 - 2019-05-27
1024
- * [#789](https://github.com/stripe/stripe-ruby/pull/789) Allow `Order#pay` to be called without arguments
1025
-
1026
- ## 4.18.0 - 2019-05-23
1027
- * [#783](https://github.com/stripe/stripe-ruby/pull/783) Add support for `radar.early_fraud_warning` resource
1028
-
1029
- ## 4.17.0 - 2019-05-14
1030
- * [#779](https://github.com/stripe/stripe-ruby/pull/779) Add support for the Capability resource and APIs
1031
-
1032
- ## 4.16.0 - 2019-04-24
1033
- * [#760](https://github.com/stripe/stripe-ruby/pull/760) Add support for the `TaxRate` resource and APIs
1034
-
1035
- ## 4.15.0 - 2019-04-22
1036
- * [#762](https://github.com/stripe/stripe-ruby/pull/762) Add support for the `TaxId` resource and APIs
1037
-
1038
- ## 4.14.0 - 2019-04-18
1039
- * [#758](https://github.com/stripe/stripe-ruby/pull/758) Add support for the `CreditNote` resource and APIs
1040
-
1041
- ## 4.13.0 - 2019-04-16
1042
- * [#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`)
1043
-
1044
- ## 4.12.0 - 2019-04-02
1045
- * [#752](https://github.com/stripe/stripe-ruby/pull/752) Add `.delete` class method on deletable API resources
1046
- * [#754](https://github.com/stripe/stripe-ruby/pull/754) Add class methods for all custom API requests (e.g. `Charge.capture`)
1047
-
1048
- ## 4.11.0 - 2019-03-26
1049
- * [#753](https://github.com/stripe/stripe-ruby/pull/753) Add a global proxy configuration parameter
1050
-
1051
- ## 4.10.0 - 2019-03-18
1052
- * [#745](https://github.com/stripe/stripe-ruby/pull/745) Add support for the `PaymentMethod` resource and APIs
1053
- * [#747](https://github.com/stripe/stripe-ruby/pull/747) Add support for retrieving a Checkout `Session`
1054
- * [#748](https://github.com/stripe/stripe-ruby/pull/748) Add support for deleting a Terminal `Location` and `Reader`
1055
-
1056
- ## 4.9.1 - 2019-03-18
1057
- * [#750](https://github.com/stripe/stripe-ruby/pull/750) Catch error and warn if unable to remove a method
1058
-
1059
- ## 4.9.0 - 2019-02-12
1060
- * [#739](https://github.com/stripe/stripe-ruby/pull/739) Add support for `SubscriptionSchedule` and `SubscriptionScheduleRevision`
1061
-
1062
- ## 4.8.1 - 2019-02-11
1063
- * [#743](https://github.com/stripe/stripe-ruby/pull/743) Fix bug in file uploading introduced in #741
1064
-
1065
- ## 4.8.0 - 2019-02-03
1066
- * [#741](https://github.com/stripe/stripe-ruby/pull/741) Use `FaradayStripeEncoder` to encode all parameter styles
1067
-
1068
- ## 4.7.1 - 2019-02-01
1069
- * [#740](https://github.com/stripe/stripe-ruby/pull/740) Fix query encoding for integer-indexed maps
1070
-
1071
- ## 4.7.0 - 2019-01-23
1072
- * [#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.
1073
-
1074
- ## 4.6.0 - 2019-01-21
1075
- * [#736](https://github.com/stripe/stripe-ruby/pull/736) Properly serialize `individual` on `Account` objects
1076
-
1077
- ## 4.5.0 - 2019-01-02
1078
- * [#719](https://github.com/stripe/stripe-ruby/pull/719) Generate OAuth authorize URLs for Express accounts as well as standard
1079
-
1080
- ## 4.4.1 - 2018-12-31
1081
- * [#718](https://github.com/stripe/stripe-ruby/pull/718) Fix an error message typo
1082
-
1083
- ## 4.4.0 - 2018-12-21
1084
- * [#716](https://github.com/stripe/stripe-ruby/pull/716) Add support for the `CheckoutSession` resource
1085
-
1086
- ## 4.3.0 - 2018-12-10
1087
- * [#711](https://github.com/stripe/stripe-ruby/pull/711) Add support for account links
1088
-
1089
- ## 4.2.0 - 2018-11-28
1090
- * [#705](https://github.com/stripe/stripe-ruby/pull/705) Add support for the `Review` APIs
1091
-
1092
- ## 4.1.0 - 2018-11-27
1093
- * [#695](https://github.com/stripe/stripe-ruby/pull/695) Add support for `ValueList` and `ValueListItem` for Radar
1094
-
1095
- ## 4.0.3 - 2018-11-19
1096
- * [#703](https://github.com/stripe/stripe-ruby/pull/703) Don't use `Net::HTTP::Persistent` on Windows where it's not well supported
1097
-
1098
- ## 4.0.2 - 2018-11-16
1099
- * [#701](https://github.com/stripe/stripe-ruby/pull/701) Require minimum Faraday 0.13 for proper support of persistent connections
1100
-
1101
- ## 4.0.1 - 2018-11-15
1102
- * [#699](https://github.com/stripe/stripe-ruby/pull/699) Only send telemetry if `Request-Id` was present in the response
1103
-
1104
- ## 4.0.0 - 2018-11-15
1105
- * [#698](https://github.com/stripe/stripe-ruby/pull/698) Use persistent connections by default through `Net::HTTP::Persistent`
1106
- * [#698](https://github.com/stripe/stripe-ruby/pull/698) Drop support for Ruby 2.0 (which we consider a breaking change here)
1107
-
1108
- ## 3.31.1 - 2018-11-12
1109
- * [#697](https://github.com/stripe/stripe-ruby/pull/697) Send telemetry in milliseconds specifically
1110
-
1111
- ## 3.31.0 - 2018-11-12
1112
- * [#696](https://github.com/stripe/stripe-ruby/pull/696) Add configurable telemetry to gather information on client-side request latency
1113
-
1114
- ## 3.30.0 - 2018-11-08
1115
- * [#693](https://github.com/stripe/stripe-ruby/pull/693) Add new API endpoints for the `Invoice` resource.
1116
-
1117
- ## 3.29.0 - 2018-10-30
1118
- * [#692](https://github.com/stripe/stripe-ruby/pull/692) Add support for the `Person` resource
1119
- * [#694](https://github.com/stripe/stripe-ruby/pull/694) Add support for the `WebhookEndpoint` resource
1120
-
1121
- ## 3.28.0 - 2018-09-24
1122
- * [#690](https://github.com/stripe/stripe-ruby/pull/690) Add support for Stripe Terminal
1123
-
1124
- ## 3.27.0 - 2018-09-24
1125
- * [#689](https://github.com/stripe/stripe-ruby/pull/689) Rename `FileUpload` to `File`
1126
-
1127
- ## 3.26.1 - 2018-09-14
1128
- * [#688](https://github.com/stripe/stripe-ruby/pull/688) Fix hash equality on `StripeObject`
1129
-
1130
- ## 3.26.0 - 2018-09-05
1131
- * [#681](https://github.com/stripe/stripe-ruby/pull/681) Add support for reporting resources
1132
-
1133
- ## 3.25.0 - 2018-08-28
1134
- * [#678](https://github.com/stripe/stripe-ruby/pull/678) Allow payment intent `#cancel`, `#capture`, and `#confirm` to take their own parameters
1135
-
1136
- ## 3.24.0 - 2018-08-27
1137
- * [#675](https://github.com/stripe/stripe-ruby/pull/675) Remove support for `BitcoinReceiver` write-actions
1138
-
1139
- ## 3.23.0 - 2018-08-23
1140
- * [#676](https://github.com/stripe/stripe-ruby/pull/676) Add support for usage record summaries
1141
-
1142
- ## 3.22.0 - 2018-08-15
1143
- * [#674](https://github.com/stripe/stripe-ruby/pull/674) Use integer-indexed encoding for all arrays
1144
-
1145
- ## 3.21.0 - 2018-08-03
1146
- * [#671](https://github.com/stripe/stripe-ruby/pull/671) Add cancel support for topups
1147
-
1148
- ## 3.20.0 - 2018-08-03
1149
- * [#669](https://github.com/stripe/stripe-ruby/pull/669) Add support for file links
1150
-
1151
- ## 3.19.0 - 2018-07-27
1152
- * [#666](https://github.com/stripe/stripe-ruby/pull/666) Add support for scheduled query runs (`Stripe::Sigma::ScheduledQueryRun`) for Sigma
1153
-
1154
- ## 3.18.0 - 2018-07-26
1155
- * [#665](https://github.com/stripe/stripe-ruby/pull/665) Add support for Stripe Issuing
1156
-
1157
- ## 3.17.2 - 2018-07-19
1158
- * [#664](https://github.com/stripe/stripe-ruby/pull/664) Don't colorize log output being sent to a configured logger
1159
-
1160
- ## 3.17.1 - 2018-07-19
1161
- * [#663](https://github.com/stripe/stripe-ruby/pull/663) Internal improvements to `ApiResource.class_url`
1162
-
1163
- ## 3.17.0 - 2018-06-28
1164
- * [#658](https://github.com/stripe/stripe-ruby/pull/658) Add support for `partner_id` from `Stripe.set_app_info`
1165
-
1166
- ## 3.16.0 - 2018-06-28
1167
- * [#657](https://github.com/stripe/stripe-ruby/pull/657) Add support for payment intents
1168
-
1169
- ## 3.15.0 - 2018-05-10
1170
- * [#649](https://github.com/stripe/stripe-ruby/pull/649) Freeze all string literals
1171
-
1172
- ## 3.14.0 - 2018-05-09
1173
- * [#645](https://github.com/stripe/stripe-ruby/pull/645) Add support for issuer fraud records
1174
-
1175
- ## 3.13.1 - 2018-05-07
1176
- * [#647](https://github.com/stripe/stripe-ruby/pull/647) Merge query parameters coming from path with `params` argument
1177
-
1178
- ## 3.13.0 - 2018-04-11
1179
- * [#498](https://github.com/stripe/stripe-ruby/pull/498) Add support for flexible billing primitives
1180
-
1181
- ## 3.12.1 - 2018-04-05
1182
- * [#636](https://github.com/stripe/stripe-ruby/pull/636) Fix a warning for uninitialized instance variable `@additive_params`
1183
-
1184
- ## 3.12.0 - 2018-04-05
1185
- * [#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
1186
-
1187
- ## 3.11.0 - 2018-02-26
1188
- * [#628](https://github.com/stripe/stripe-ruby/pull/628) Add support for `code` attribute on all Stripe exceptions
1189
-
1190
- ## 3.10.0 - 2018-02-21
1191
- * [#627](https://github.com/stripe/stripe-ruby/pull/627) Add support for topups
1192
-
1193
- ## 3.9.2 - 2018-02-12
1194
- * [#625](https://github.com/stripe/stripe-ruby/pull/625) Skip calling `to_hash` for `nil`
1195
-
1196
- ## 3.9.1 - 2017-12-15
1197
- * [#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)
1198
-
1199
- ## 3.9.0 - 2017-12-08
1200
- * [#613](https://github.com/stripe/stripe-ruby/pull/613) Introduce new `IdempotencyError` type for idempotency-specific failures
1201
-
1202
- ## 3.8.2 - 2017-12-07
1203
- * [#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)
1204
-
1205
- ## 3.8.1 - 2017-12-06
1206
- * [#611](https://github.com/stripe/stripe-ruby/pull/611) Support `Tempfile` (as well as `File`) in file uploads
1207
-
1208
- ## 3.8.0 - 2017-10-31
1209
- * [#606](https://github.com/stripe/stripe-ruby/pull/606) Support for exchange rates APIs
1210
-
1211
- ## 3.7.0 - 2017-10-26
1212
- * [#603](https://github.com/stripe/stripe-ruby/pull/603) Support for listing source transactions
1213
-
1214
- ## 3.6.0 - 2017-10-17
1215
- * [#597](https://github.com/stripe/stripe-ruby/pull/597) Add static methods to manipulate resources from parent
1216
- * `Account` gains methods for external accounts and login links (e.g. `.create_account`, `create_login_link`)
1217
- * `ApplicationFee` gains methods for refunds
1218
- * `Customer` gains methods for sources
1219
- * `Transfer` gains methods for reversals
1220
-
1221
- ## 3.5.3 - 2017-10-16
1222
- * [#594](https://github.com/stripe/stripe-ruby/pull/594) Make sure that `StripeObject`'s `#deep_copy` maintains original class
1223
- * [#595](https://github.com/stripe/stripe-ruby/pull/595) Allow `Object#method` to be called on `StripeObject` even if it conflicts with an accessor
1224
- * [#596](https://github.com/stripe/stripe-ruby/pull/596) Encode arrays as integer-indexed hashes where appropriate
1225
- * [#598](https://github.com/stripe/stripe-ruby/pull/598) Don't persist `idempotency_key` opt between requests
1226
-
1227
- ## 3.5.2 - 2017-10-13
1228
- * [#592](https://github.com/stripe/stripe-ruby/pull/592) Bring back `Marshal.dump/load` support with custom marshal encoder/decoder
1229
-
1230
- ## 3.5.1 - 2017-10-12
1231
- * [#591](https://github.com/stripe/stripe-ruby/pull/591) Use thread-local `StripeClient` instances for thread safety
1232
-
1233
- ## 3.5.0 - 2017-10-11
1234
- * [#589](https://github.com/stripe/stripe-ruby/pull/589) Rename source `delete` to `detach` (and deprecate the former)
1235
-
1236
- ## 3.4.1 - 2017-10-05
1237
- * [#586](https://github.com/stripe/stripe-ruby/pull/586) Log query strings as well as form bodies with STRIPE_LOG
1238
- * [#588](https://github.com/stripe/stripe-ruby/pull/588) Require minimum Faraday 0.10 for bug fix in parameter encoding
1239
-
1240
- ## 3.4.0 - 2017-09-20
1241
- * Mark legacy Bitcoin API as deprecated, and remove corresponding tests
1242
- * Mark recipients API as deprecated, and remove recipient card tests
1243
-
1244
- ## 3.3.2 - 2017-09-20
1245
- * Correct minimum required Ruby version in gemspec (it's 2.0.0)
1246
-
1247
- ## 3.3.1 - 2017-08-18
1248
- * Only parse webhook payload after verification to decrease likelihood of
1249
- attack
1250
-
1251
- ## 3.3.0 - 2017-08-11
1252
- * Add support for standard library logger interface with `Stripe.logger`
1253
- * Error logs now go to stderr if using `Stripe.log_level`/`STRIPE_LOG`
1254
- * `Stripe.log_level`/`STRIPE_LOG` now support `Stipe::LEVEL_ERROR`
1255
-
1256
- ## 3.2.0 - 2017-08-03
1257
- * Add logging for request retry account and `Stripe-Account` header
1258
-
1259
- ## 3.1.0 - 2017-08-03
1260
- * Implement request logging with `Stripe.log_level` and `STRIPE_LOG`
1261
-
1262
- ## 3.0.3 - 2017-07-28
1263
- * Revert `nil` to empty string coercion from 3.0.2
1264
- * Handle `invalid_client` OAuth error code
1265
- * Improve safety of error handling logic safer for unrecognized OAuth error codes
1266
-
1267
- ## 3.0.2 - 2017-07-12
1268
- **Important:** This version is non-functional and has been yanked in favor of 3.0.3.
1269
- * Convert `nil` to empty string when serializing parameters (instead of opaquely dropping it) -- NOTE: this change has since been reverted
1270
-
1271
- ## 3.0.1 - 2017-07-11
1272
- * Properties set with an API resource will now serialize that resource's ID if possible
1273
- * API resources will throw an ArgumentError on save if a property has been with an API resource that cannot be serialized
1274
-
1275
- ## 3.0.0 - 2017-06-27
1276
- * `#pay` on invoice now takes params as well as opts
1277
-
1278
- ## 2.12.0 - 2017-06-20
1279
- * Add support for ephemeral keys
1280
-
1281
- ## 2.11.0 - 2017-05-26
1282
- * Warn when keys that look like opts are included as parameters
1283
-
1284
- ## 2.10.0 - 2017-05-25
1285
- * Add support for account login links
1286
-
1287
- ## 2.9.0 - 2017-05-18
1288
- * Support for OAuth operations in `Stripe::OAuth`
1289
-
1290
- ## 2.8.0 - 2017-04-28
1291
- * Support for checking webhook signatures
1292
-
1293
- ## 2.7.0 - 2017-04-26
1294
- * Add model `InvoiceLineItem`
1295
-
1296
- ## 2.6.0 - 2017-04-26
1297
- * Add `OBJECT_NAME` constants to all API resources
1298
-
1299
- ## 2.5.0 - 2017-04-24
1300
- * Make `opts` argument in `Util.convert_to_stripe_object` optional
1301
-
1302
- ## 2.4.0 - 2017-04-18
1303
- * Add `Stripe.set_app_info` for use by plugin creators
1304
-
1305
- ## 2.3.0 - 2017-04-14
1306
- * Add question mark accessor when assigning boolean value to undefined field
1307
-
1308
- ## 2.2.1 - 2017-04-07
1309
- * Declare minimum required Faraday as 0.9
1310
-
1311
- ## 2.2.0 - 2017-04-06
1312
- * Add support for payouts and recipient transfers
1313
-
1314
- ## 2.1.0 - 2017-03-17
1315
- * Support for detaching sources from customers
1316
-
1317
- ## 2.0.3 - 2017-03-16
1318
- * Fix marshalling of `StripeObjects` that have an embedded client
1319
-
1320
- ## 2.0.2 - 2017-03-16
1321
- * Fix bad field reference when recovering from a JSON parsing problem
1322
-
1323
- ## 2.0.1 - 2017-02-22
1324
- * Fix multipart parameter encoding to repair broken file uploads
1325
-
1326
- ## 2.0.0 - 2017-02-14
1327
- * Drop support for Ruby 1.9
1328
- * Allow HTTP client that makes Stripe calls to be configured via Faraday
1329
- * Drop RestClient
1330
- * Switch to OpenAPI 2.0 spec and generated fixtures in test suite
1331
- * Switch to Webmock in test suite
1332
-
1333
- ## 1.58.0 - 2017-01-19
1334
- * Remove erroneously added list methods for `Source` model
1335
-
1336
- ## 1.57.1 - 2016-11-28
1337
- * Disallow sending protected fields along with API resource `.update`
1338
-
1339
- ## 1.57.0 - 2016-11-21
1340
- * Add retrieve method for 3-D Secure resources
1341
-
1342
- ## 1.56.2 - 2016-11-17
1343
- * Improve `StripeObject`'s `#to_s` to better handle how embedded objects are displayed
1344
-
1345
- ## 1.56.1 - 2016-11-09
1346
- * Fix (fairly serious) memory like in `StripeObject`
1347
-
1348
- ## 1.56.0 - 2016-10-24
1349
- * Add accessors for new fields added in `#update_attributes`
1350
- * Handle multi-plan subscriptions through new subscription items
1351
- * Handle 403 status codes from the API
1352
-
1353
- ## 1.55.1 - 2016-10-24
1354
- Identical to 1.56.0 above. I incorrectly cut a patch-level release.
1355
-
1356
- ## 1.55.0 - 2016-09-15
1357
- * Add support for Apple Pay domains
1358
-
1359
- ## 1.54.0 - 2016-09-01
1360
- * Whitelist errors that should be retried; scope to known socket and HTTP errors
1361
-
1362
- ## 1.53.0 - 2016-08-31
1363
- * Relax version constraint on rest-client (and by extension mime-types) for users on Ruby 2+
1364
-
1365
- ## 1.52.0 - 2016-08-30
1366
- * Make sure `Subscription`'s `source` is saved with its parent
1367
-
1368
- ## 1.51.1 - 2016-08-30
1369
- * Make sure `Account`'s `external_account` is saved with its parent
1370
-
1371
- ## 1.51.0 - 2016-08-26
1372
- * Error when an array of maps is detected that cannot be accurately encoded
1373
- * Start using strings for header names instead of symbols for better clarity
1374
-
1375
- ## 1.50.1 - 2016-08-25
1376
- * Fix encoding of arrays of maps where maps unequal sets of keys
1377
-
1378
- ## 1.50.0 - 2016-08-15
1379
- * Allow sources to be created
1380
-
1381
- ## 1.49.0 - 2016-07-28
1382
- * Add top-level `Source` model
1383
-
1384
- ## 1.48.0 - 2016-07-12
1385
- * Add `ThreeDSecure` model for 3-D secure payments
1386
-
1387
- ## 1.47.0 - 2016-07-11
1388
- * Allow rest-client version 2.0+ to be used with the gem
1389
-
1390
- ## 1.46.0 - 2016-07-07
1391
- * Allow retry when a 409 conflict is encountered
1392
-
1393
- ## 1.45.0 - 2016-07-07
1394
- * Do not send subresources when updating except when explicitly told to do so (see #433)
1395
-
1396
- ## 1.44.0 - 2016-06-29
1397
- * Add `update` class method to all resources that can be updated
1398
-
1399
- ## 1.43.1 - 2016-06-17
1400
- * Fix type of resource returned from `Order#return_order`
1401
-
1402
- ## 1.43.0 - 2016-05-20
1403
- * Allow Relay orders to be returned and add associated types
1404
- * Support Alipay account retrieval and deletion
1405
-
1406
- ## 1.42.0 - 2016-05-04
1407
- * Add support for the new /v1/subscriptions endpoint (retrieve, list, create, update, and delete)
1408
-
1409
- ## 1.41.0 - 2016-04-13
1410
- * Add global `stripe_account` option that adds a `Stripe-Account` header to all requests
1411
-
1412
- ## 1.40.0 - 2016-04-06
1413
- * Fix bug that omitted subresources from serialization
1414
-
1415
- ## 1.39.0 - 2016-03-31
1416
- * Update CA cert bundle for compatibility with OpenSSL versions below 1.0.1
1417
-
1418
- ## 1.38.0 - 2016-03-18
1419
- * Allow `opts` to be passed to an API resource's `#save` method
1420
-
1421
- ## 1.37.0 - 2016-03-14
1422
- * Add `Account#reject` to support the new API feature
1423
-
1424
- ## 1.36.2 - 2016-03-14
1425
- * Fix reference to non-existent `#url` in `ListObject`
1426
-
1427
- ## 1.36.1 - 2016-03-04
1428
- * Fix serialization when subhash given to `#save` or `#update_attributes`
1429
-
1430
- ## 1.36.0 - 2016-02-08
1431
- * Add `CountrySpec` model for looking up country payment information
1432
-
1433
- ## 1.35.1 - 2016-02-03
1434
- * Add compatibility layer for old API versions on `Charge#refund`
1435
-
1436
- ## 1.35.0 - 2016-02-01
1437
- * Allow CA cert bundle location to be configured
1438
- * Updated bundled CA certs
1439
-
1440
- ## 1.34.0 - 2016-01-25
1441
- * Add support for deleting products and SKUs
1442
-
1443
- ## 1.33.1 - 2016-01-21
1444
- * Pass through arguments of `Charge#refund`
1445
-
1446
- ## 1.33.0 - 2016-01-19
1447
- * Re-implement `Charge#refund` helper to use the modern endpoint suggested by docs
1448
-
1449
- ## 1.32.1 - 2016-01-07
1450
- * Fix bug where ivar left uninitialized in StripeObject could error on serialization
1451
- * Fix bug where a nil customer from API could error Bitcoin model on refresh
1452
-
1453
- ## 1.32.0 - 2016-01-05
1454
- * Add configuration to optionally retry network failures
1455
- * Use modern API endpoint for producing application fee refunds
1456
-
1457
- ## 1.31.0 - 2015-10-29
1458
- * Add BankAccount#verify convenience method
1459
-
1460
- ## 1.30.3 - 2015-10-28
1461
- * Fix bug where arrays that were not `additional_owners` were not properly encoded for requests
1462
-
1463
- ## 1.30.2 - 2015-10-12
1464
- * Fix bug where `opts` didn't properly propagate to descendant `StripeObjects`
1465
-
1466
- ## 1.30.1 - 2015-10-10
1467
- * Fix bug that prevent lists of hashes from being URI-encoded properly
1468
- * Fix bug where filter conditions were not making it past the first instantiated `ListObject`
1469
-
1470
- ## 1.30.0 - 2015-10-09
1471
- * Add `StripeObject#deleted?` for a reliable way to check whether an object is alive
1472
- * Deprecate `StripeObject#refresh_from`
1473
- * New parameter encoding scheme that doesn't use `URI.escape`
1474
-
1475
- ## 1.29.1 - 2015-10-06
1476
- * Fix bug where ampersands were not being properly encoded
1477
-
1478
- ## 1.29.0 - 2015-10-05
1479
- * Add pagination helpers `#auto_paging_each`, `#previous_page`, and `#next_page`
1480
-
1481
- ## 1.28.1 - 2015-10-05
1482
- * Fix URI being referenced by file upload resources
1483
-
1484
- ## 1.28.0 - 2015-10-05
1485
- * Make StripeObject's #save "upsert"-like; creates an object if new
1486
- * Add #update_attributes to StripeObject for safe mass assignment
1487
- * Properly mass assign attributes on calls to #save
1488
- * Add question mark helpers for boolean fields (e.g. #paid? as well as old #paid)
1489
- * Fix a bug that broke the API for StripeObject initialization
1490
- * Remove use of deprecated URI.escape
1491
-
1492
- ## 1.27.2 - 2015-09-25
1493
- * Correct the URLs used to fetch Bitcoin transactions.
1494
-
1495
- ## 1.27.1 - 2015-09-20
1496
- * Use hash rockets for backwards compatibility.
1497
-
1498
- ## 1.27.0 - 2015-09-14
1499
- * Add Orders, Products, and SKUs for Relay
1500
-
1501
- ## 1.26.0 - 2015-09-11
1502
- * Add support for 429 Rate Limited response
1503
-
1504
- ## 1.25.0 - 2015-08-17
1505
- * Added support for refund listing and retrieval without an associated charge
1506
-
1507
- ## 1.24.0 - 2015-08-03
1508
- * Added support for deleting managed accounts
1509
- * Added support for dispute listing and retrieval
1510
- * Bugfix: token objects now are the correct class
1511
-
1512
- ## 1.23.0 - 2015-07-06
1513
- * Added request IDs and HTTP headers to errors
1514
-
1515
- ## 1.22.0 - 2015-06-10
1516
- * Added support for bank accounts and debit cards in managed accounts (via the `external_accounts` param)
1517
-
1518
- ## 1.21.0 - 2015-04-14
1519
- * Remove TLS cert revocation check (all pre-heartbleed certs have expired)
1520
- * Bugfix: don't unset keys when they don't exist on StripeObject
1521
-
1522
- ## 1.20.4 - 2015-03-26
1523
- * Raise an error when explicitly passing nil as the API key on resource methods
1524
- * Fix error when passing an API key to Balance.retrieve (github issue #232)
1525
-
1526
- ## 1.20.3 - 2015-03-13
1527
- * Fixed error when updating certain resources (github issue #224)
1528
-
1529
- ## 1.20.2 - 2015-03-10
1530
- * Added support for updating nested hashes besides `metadata` (which was already supported)
1531
- * Fixed bug in balance retrieval
1532
-
1533
- ## 1.20.1 - 2015-02-26
1534
- * Updated Card to point to customer sources endpoint when customer property is set
1535
-
1536
- ## 1.20.0 - 2015-02-19
1537
- * Added Update & Delete operations to Bitcoin Receivers
1538
-
1539
- ## 1.19.1 - 2015-02-18
1540
- * Fixed fetching upcoming invoice/paying invoice methods
1541
-
1542
- ## 1.19.0 - 2015-02-15
1543
- * Support for new Transfers /reversals endpoint
1544
- * Account retrieval now optionally accepts an account ID
1545
- * Better support for passing custom headers, like Stripe-Account, through requests
1546
-
1547
- ## 1.18.0 - 2015-01-21
1548
- * 1 major enhancement:
1549
- * Added support for making bitcoin charges through BitcoinReceiver source object
1550
-
1551
- ## 1.17.3 - 2015-01-12
1552
- * 1 bugfix:
1553
- * Fixed API key propagation for ApplicationFee#refund
1554
-
1555
- ## 1.17.2 - 2015-01-08
1556
- * 1 bugfix:
1557
- * Fixed API key propagation for child resources
1558
-
1559
- ## 1.17.1 - 2015-01-07
1560
- * 2 minor enhacements:
1561
- * Fixed dependencies for Ruby versions less than 1.9.3
1562
- * Added deauthorize method to Account object
1563
-
1564
- ## 1.17.0 - 2014-12-15
1565
- * 1 major enhacement:
1566
- * File uploads resource was added (for uploading pdf or image documents for disputes)
1567
-
1568
- ## 1.16.1 - 2014-12-19
1569
- * 2 minor enhancements:
1570
- * Ability to send idempotent requests
1571
- * Ability to specify stripe account as a header
1572
-
1573
- ## 1.16.0 - 2014-10-08
1574
- * 1 minor enhacement:
1575
- * Coupons now support update operations - useful for manipulating metadata
1576
-
1577
- ## 1.15.0 - 2014-07-26
1578
- * 1 major enhacement:
1579
- * Application Fee refunds now a list instead of array
1580
-
1581
- ## 1.14.0 - 2014-06-17
1582
- * 1 major enhancement:
1583
- * Add metadata for refunds and disputes
1584
-
1585
- ## 1.13.0 - 2014-05-28
1586
- * 1 major enhancement:
1587
- * Support for canceling transfers
1588
-
1589
- ## 1.12.0 - 2014-05-21
1590
- * 1 major enhancement:
1591
- * Support for cards for recipients
1592
-
1593
- ## 1.11.0 - 2014-04-09
1594
- * 2 minor enhancements:
1595
- * Update included ca bundles
1596
- * Implement certificate blacklisting
1597
-
1598
- ## 1.10.2 - 2014-02-18
1599
- * 1 minor enhancement:
1600
- * Add create_subscription on Customer resources, so you can create
1601
- subscriptions without needing to retrieve the customer first (github
1602
- issue #120)
1603
-
1604
- ## 1.10.1 - 2014-02-03
1605
- * 1 bugfix:
1606
- * Fix marshaling of StripeObjects
1607
-
1608
- ## 1.10.0 - 2014-01-29
1609
- * 2 major enhancements
1610
- * Support for multiple subscriptions per customer
1611
- * Testing ruby 2.1.0
1612
-
1613
- * 2 minor enhancements
1614
- * Replace multi_json with json
1615
- * Allow #save to take opts (for :expand)
1616
-
1617
- * 1 bugfix
1618
- * Fix #try and #respond_to? on StripeObjects
1619
-
1620
- ## 1.9.9 - 2013-12-02
1621
- * 1 major enhancement
1622
- * Add ApplicationFee resource
1623
-
1624
- ## 1.8.9 - 2013-11-14
1625
- * 2 bugfixes:
1626
- * Fix gemspec dependencies so the gem doesn't break for Ruby 1.8 users
1627
- * Fix api_resource_test to not use returns as a way of testing rescue behavior
1628
-
1629
- ## 1.8.8 - 2013-10-3
1630
- * 1 major enhancement
1631
- * Add support for metadata on resources
1632
-
1633
- ## 1.8.7 - 2013-08-18
1634
- * 1 minor enhancement
1635
- * Add support for closing disputes.
1636
-
1637
- ## 1.8.6 - 2013-08-13
1638
- * 1 major enhancement
1639
- * Add Balance and BalanceTransaction resources
1640
-
1641
- ## 1.8.5 - 2013-08-12
1642
- * 1 major enhancement
1643
- * 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.
1644
- * Attempting to set an object's id is now an error
1645
-
1646
- ## 1.8.4 - 2013-07-11
1647
- * 1 major enhancement
1648
- * Add support for new cards API (Stripe API version - 2013-07-05)
1649
-
1650
- ## 1.8.3 - 2013-05-06
1651
- * 1 bugfix:
1652
- * Fix handling of per-call API keys (github issue #67)
1653
-
1654
- ## 1.8.2 - 2013-05-01
1655
- * 3 minor enhancements:
1656
- * Use to_sym instead of type checking for minor performance improvement (github issue #59)
1657
- * Handle low-memory situations without throwing an exception (github issue #61)
1658
- * Add an Customer#upcoming_invoice convenience method (github issue #65)
1659
-
1660
- * 1 bugfix:
1661
- * Allow updating resources without first retrieving them (github issue #60)
1662
-
1663
- ## 1.8.1 - 2013-04-19
1664
- * 1 minor enhancement:
1665
- * Add support for specifying an API key when retrieving an upcoming invoice
1666
-
1667
- ## 1.8.0 - 2013-04-11
1668
- * 1 major enhancement:
1669
- * Add new Recipient resource
1670
- * Allow Transfers to be createable
1671
-
1672
- ## 1.7.11 - 2013-02-21
1673
- * 1 minor enhancement
1674
- * Add 'id' to the list of permanent attributes
1675
-
1676
- ## 1.7.10 - 2013-02-01
1677
- * 1 major enhancement
1678
- * 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
1679
-
1680
- ## 1.7.9 - 2013-01-15
1681
- * 1 major enhancement
1682
- * Add support for setting a Stripe API version override.
1683
-
1684
- ## 1.7.8 - 2012-11-21
1685
- * 1 bugfix
1686
- * Relax the version constraint on multi_json (github issue #44)
1687
-
1688
- ## 1.7.7 - 2012-11-07
1689
- * 1 minor enhancement:
1690
- * Add support for updating charge disputes
1691
-
1692
- * 1 bugfix
1693
- * Fix Account API resource bug
1694
-
1695
- ## 1.7.6 - 2012-10-30
1696
- * 1 major enhancement
1697
- * Add support for creating invoices
1698
-
1699
- ## 1.7.5 - 2012-10-25
1700
- * 1 major enhancement
1701
- * Add support for new API lists
1702
-
1703
- ## 1.7.4 - 2012-10-08
1704
- * 1 bugfix
1705
- * Fix bug introduced in 1.7.3 calling API methods that take no
1706
- arguments, like Stripe::Invoice#pay (github issue #42)
1707
-
1708
- ## 1.7.3 - 2012-09-14
1709
- * 2 bugfixes
1710
- * 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.
1711
- * 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)
1712
-
1713
- ## 1.7.2 - 2012-08-31
1714
- * 1 major enhancement
1715
- * Add support for new pay and update methods for Invoice objects
1716
-
1717
- ## 1.7.1 - 2012-08-15
1718
- * 1 major enhancement
1719
- * Add new Account API resource
1720
-
1721
- ## 1.7.0 - 2012-05-17
1722
- * 3 major enhancements:
1723
- * 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)
1724
- * Add new delete_discount method to Customer objects
1725
- * Add new Transfer API resource
1726
-
1727
- * 2 minor enhancements:
1728
- * 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)
1729
- * Numerous test suite improvements
1730
-
1731
- ## 1.6.3 - 2012-03-22
1732
- * 1 bugfix:
1733
- * Encode GET query strings ourselves instead of using rest-client to work around a bug
1734
-
1735
- ## 1.6.2 - 2012-02-24
1736
- * 1 bugfix:
1737
- * Correct argument handling in StripeObject#as_json
1738
-
1739
- ## 1.6.1 - 2012-02-22
1740
- * 1 bugfix:
1741
- * Fix StripeObject#inspect when ActiveSupport 3.0 is loaded
1742
-
1743
- ## 1.6.0 - 2012-02-01
1744
- * 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
1745
- * 1.6.0 also contains a new inspect/to_string implementation
1746
-
1747
- ## 1.5.0 - 2011-05-09
1748
- * 1 major enhancement:
1749
- * Update for new RESTful API
1750
-
1751
- ## 1.3.4 - 2011-01-07
1752
- * 1 major enhancement:
1753
- * Rename to Stripe
1754
-
1755
- ## 1.2 - 2010-06-06
1756
- * 1 major enhancement:
1757
- * Support for the set_customer_subscription and delete_customer API methods
1758
-
1759
- ## 1.1 - 2010-03-14
1760
- * 1 major enhancement:
1761
- * Support for recurring billing
1762
-
1763
- ## 1.0 - 2010-01-05
1764
- * 1 major enhancement:
1765
- * Initial release
1766
-
1767
- <!--
1768
- # vim: set tw=0:
1769
- -->