Skip to content

Commit 55cb83f

Browse files
committed
Add exstra currency ids
1 parent 597ff7b commit 55cb83f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/clj/stripe/schema.cljc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@
4343
(s/either inner (Channel inner))))
4444

4545
(def CurrencyID
46-
"Currently only USD is supported, because we're located in the
47-
US. Generalize if Stripe opens this up."
48-
(s/eq "usd"))
46+
"Right now just these two are supported."
47+
(s/enum "usd" "cad"))
4948

5049
(s/defschema Metadata
5150
"Metadata feature supported by the Stripe API. Keyword keys are converted to strings on the way over.

0 commit comments

Comments
 (0)