From f777e85d6e982bc9267b0d66741fa8781daf4e1c Mon Sep 17 00:00:00 2001 From: jacekschae <31179812+jacekschae@users.noreply.github.com> Date: Wed, 18 Mar 2026 09:16:07 +0000 Subject: [PATCH] feat: Update to Stripe API 2026-03-25.dahlia --- src/dev/versions.clj | 2 +- src/main/stream/clojure/stripe/api/terminal.clj | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/dev/versions.clj b/src/dev/versions.clj index 9098671..8898929 100644 --- a/src/dev/versions.clj +++ b/src/dev/versions.clj @@ -1,4 +1,4 @@ (ns versions "Info: This ns is auto-generated from the Stripe OpenAPI spec.") -(def stripe-api-version "2026-01-28.clover") +(def stripe-api-version "2026-03-25.dahlia") diff --git a/src/main/stream/clojure/stripe/api/terminal.clj b/src/main/stream/clojure/stripe/api/terminal.clj index c1d0abf..2e6d4b5 100644 --- a/src/main/stream/clojure/stripe/api/terminal.clj +++ b/src/main/stream/clojure/stripe/api/terminal.clj @@ -237,6 +237,17 @@ [{:keys [location-id body]}] (stripe-request :post {:endpoint "/v1/terminal/locations/{location-id}" :path-params {:location-id location-id} :body body})) +(defn create-refunds + "Create a refund using a Terminal-supported device. + + HTTP Method: POST + Endpoint: /v1/terminal/refunds + + Example Usage: + (create-refunds {})" + [{:keys [body]}] + (stripe-request :post {:endpoint "/v1/terminal/refunds" :body body})) + (defn post-readers-reader-process-setup-intent "Hand-off a SetupIntent to a Reader