{"slug":"api-zfinia-com-x402-v1-fx-conversion-consistency-audit-969ae5","title":"Check that converted amounts follow from the rates supplied","host":"api.zfinia.com","method":"POST","resource":"https://api.zfinia.com/x402/v1/fx-conversion-consistency-audit","category":"code","description":"Check that converted amounts follow from the rates supplied. The converted figure is the exact product rounded once to the target currency minor unit under the stated mode, and a difference is reported with its exact size, because one unit is a rounding choice and a thousand is a wrong rate. Also re","price_listed":0.16,"price_asked":0.16,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":5841,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"conversions":[{"from_amount":"1000.00","from_currency":"AUD","id":"FX-1","on":"2026-09-30","rate":"0.655","to_amount":"655.00","to_currency":"USD"},{"from_amount":"500.00","from_currency":"AUD","id":"FX-2","on":"2026-09-30","rate":"0.657","to_amount":"328.50","to_currency":"USD"},{"from_amount":"100.00","from_currency":"AUD","id":"FX-3","on":"2026-09-30","rate":"0.655","to_amount":"65.49","to_currency":"USD"},{"from_amount":"100.00","from_currency":"AUD","id":"FX-4","on":"2026-09-30","rate":"96.505","to_amount":"9650.50","to_currency":"JPY"}],"policy":{"require_one_rate_per_pair":true,"rounding":"half_up"}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"conversions":{"items":{"additionalProperties":false,"properties":{"from_amount":{"type":["string","number"]},"from_currency":{"maxLength":8,"type":"string"},"id":{"maxLength":128,"type":"string"},"on":{"maxLength":32,"type":"string"},"rate":{"type":["string","number"]},"to_amount":{"type":["string","number"]},"to_currency":{"maxLength":8,"type":"string"}},"required":["from_currency","to_currency","from_amount","to_amount","rate"],"type":"object"},"maxItems":20000,"minItems":1,"type":"array"},"policy":{"additionalProperties":false,"properties":{"minor_units":{"type":"object"},"require_one_rate_per_pair":{"type":"boolean"},"rounding":{"enum":["half_up","half_even","down","up"],"type":"string"}},"type":"object"}},"required":["conversions"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.16,"price_match":true,"latency_ms":5841,"error":null}],"description_full":"Check that converted amounts follow from the rates supplied. The converted figure is the exact product rounded once to the target currency minor unit under the stated mode, and a difference is reported with its exact size, because one unit is a rounding choice and a thousand is a wrong rate. Also reports two rates for one pair on one date, which means two sources.","last_updated":"2026-10-04T08:39:06.631Z","schemes":["exact"]}