How It Works & Live Probe Telemetry
Executing locally in 0.1 ms, this deterministic standard resolver normalizes any combination of country code/name and currency code into authoritative ISO-3166-1 and ISO-4217 records. Querying country='DE' and currency='EUR' resolves DE -> DEU (276, Germany) and EUR (978, minor_unit: 2). Knowing minor_unit prevents off-by-100x Stripe or Creem integer-cent conversion bugs on zero-decimal currencies like JPY or KRW.
Verified Endpoint & Billing Contract
| MCP Tool Name | iso_country_currency_resolver |
|---|---|
| Subdomain & Mode | logistics_address · deterministic |
| REST Endpoint | POST https://devour-com.fastmesh.dev/v1/organs/iso_country_currency_resolver/invoke |
| MCP Endpoint | POST https://devour-com.fastmesh.dev/mcp (also mounted on https://mcp.fastmesh.dev/mcp) |
| Verified Probe Latency | 0.1 ms (HTTP 200, verified 2026-12-02T10:50:00Z) |
| Archive Cache TTL | 30 days (2592000s) cross-tenant verified-hit cache |
| Empty / Error Rule | Charge $0.00 when country/currency code or name yields zero matches in standard tables. |
| Plans & Privacy | Starter $19/mo · Pro $79/mo · Scale $249/mo · Zero trajectory resale |
Production Use Cases
| Scenario | Trigger Input | Deterministic Output Value |
|---|---|---|
| Payment Gateway Minor-Unit Guard | Convert decimal prices into integer minor units for checkout | Supplies exact ISO-4217 minor_unit (0, 2, or 3 decimals) |
| Customs Harmonization | Legacy ERP outputs numeric code 276 instead of DE | Maps between numeric, alpha-2, alpha-3, and official country name |
| Catalog Locale Bootstrapping | Validate merchant shipping country and settlement currency | Verifies both fields in one deterministic request |
MCP JSON-RPC 2.0 & REST Invocation Examples
Call via MCP tools/call on https://devour-com.fastmesh.dev/mcp:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "iso_country_currency_resolver",
"arguments": {
"country": "DE",
"currency": "EUR"
}
}
}
Or invoke directly via REST (POST /v1/organs/iso_country_currency_resolver/invoke):
curl -sS -X POST https://devour-com.fastmesh.dev/v1/organs/iso_country_currency_resolver/invoke \
-H 'Content-Type: application/json' \
-d '{"input": {"country": "DE", "currency": "EUR"}}'
Verified structured JSON response:
{
"ok": true,
"country_record": {
"alpha2": "DE",
"alpha3": "DEU",
"numeric": "276",
"name": "Germany"
},
"currency_record": {
"code": "EUR",
"numeric": "978",
"minor_unit": 2,
"name": "Euro"
},
"billable_usd": "0.005"
}
Strict Input Schema
{
"type": "object",
"properties": {
"country": {
"type": "string",
"description": "ISO-3166-1 alpha-2, alpha-3, numeric, or country name."
},
"currency": {
"type": "string",
"description": "ISO-4217 3-letter currency code or numeric code."
}
},
"additionalProperties": false
}
Frequently Asked Questions
Can I query only country or only currency?
Yes, both fields are optional; if neither yields a match, the call returns $0.00.
Why do payment APIs care about ISO-4217 minor_unit?
Currencies like JPY have 0 minor units while USD/EUR have 2 and BHD/KWD have 3; miscalculating shifts settlement amounts by 10x to 100x.