Skip to content

unknown_currency

A policy diagnostic from deedglass policy lint and the policy routes.

Severity: error

The currency is not an active ISO 4217 code. The code is three letters, in any case; fmt writes it in lowercase.

deedglass: policy/v1
name: refunds
defaults:
decision: deny
reason: No rule allows this action.
budgets:
- id: refunds-per-day
match: { tool: stripe.create_refund }
per: org
window: day
max_spend: "500.00 usx"
✕ policy.yaml:11:16 · unknown_currency
usx is not an active ISO 4217 currency.
hint: Did you mean "usd"? Use a three-letter code, like usd, eur or inr.

Fix:

max_spend: "500.00 usd"