Currency Minor Unit Lint for Payment API Amounts

Finds the money lines that send the wrong amount to a payment API: the x100 that charges 100x in JPY, the toFixed(2) that truncates KWD, and the currency codes that stopped being legal tender.

Get one email when this rule changes
We watch the regulation and vendor sources behind Currency Minor Unit Lint every day. When a rule changes, you get a single email with what changed and the updated check. No newsletter.

Install free

Free for the file open in your editor - no key, no limit. The workspace sweep and the report ask for a key.

Open VSX (Cursor, VSCodium)npmMCP server (npx)Docker Hub
npx @readystack/currency-minor-unit-lint <file>
npx @readystack/currency-minor-unit-lint --mcp
docker run --rm -v "$PWD:/w" getreadystack/currency-minor-unit-lint /w

Team? One key for every ReadyStack linter, 5 seats, $149 once

Get the complete version $29

This page is the working piece. The full pack has everything below.

Finds the money lines that send the wrong amount to a payment API: the x100 that charges 100x in JPY, the toFixed(2) that truncates KWD, and the currency codes that stopped being legal tende

Payment processors publish a $15.00 fee for every dispute received, and it is not returned when you lose the dispute.

Buy the full version — $29

Questions people ask

What does Currency Minor Unit Lint actually do?

It reads the file you have open and flags every line that builds a money amount the payment API will read differently from what you meant. Each finding gives the line number, the currency, its ISO 4217 exponent and, where a country changed codes, the date. It ships 24 rules.

Who is this for?

Backend and platform engineers who write the charge call - the person who owns the repository the day finance asks why a Tokyo customer was billed a hundred times the price. It is aimed at teams selling into Japan, Korea, the Gulf states or the euro countries that recently switched currency codes.

Why can I not just ask a chatbot whether my amount code is right?

Because the assistant writes Math.round(price * 100), which is correct for dollars and euros and wrong for the sixteen zero-decimal currencies. And it was trained before Bulgaria adopted the euro on 2026-01-01, so it still confirms BGN as a live currency code - the lev stopped being legal tender on 2026-02-01. A dated table does not have that blind spot.

What is free and what needs a licence key?

Checking the open file is free and complete: all 24 rules run, every finding shows the currency and the date, and nothing is hidden or watermarked. The licence covers a different job - scanning every file in the repository, failing a CI build, exporting a report, and rewriting retired codes in place.

What does this cost compared with getting it wrong once?

The extension is 29 US dollars once, with a 7-day full refund. Payment processors publish a fee of 15.00 dollars for every dispute received, and that fee is not returned when you lose. One mis-scaled charge produces a refund, a dispute fee and a support thread.

Ask about this tool

One question, answered by the person who built it. Your email only if you want the answer sent.

ENDEJAESPT

Find a tool