{"slug":"api-zfinia-com-x402-v1-aggregate-reconciliation-284f9a","title":"Check that detail rows add up to the totals a summary declares, group by group","host":"api.zfinia.com","method":"POST","resource":"https://api.zfinia.com/x402/v1/aggregate-reconciliation","category":"other","description":"Check that detail rows add up to the totals a summary declares, group by group. Sums are computed exactly on the decimal text, never through floating point: a float sum of 0.10 and 0.20 is 0.30000000000000004, so a tool built on one reports a false mismatch on the group that actually balances. Repor","price_listed":0.18,"price_asked":0.18,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":2488,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"detail":"region,amount\na,0.10\na,0.20\nb,5.00\nb,5.00\nc,1.00\n","detail_amount":"amount","group_by":["region"],"summary":"region,total\na,0.30\nb,10.01\nd,9.00\n","summary_amount":"total","tolerance":"0"},"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":{"delimiter":{"maxLength":1,"minLength":1,"type":"string"},"detail":{"maxLength":262144,"type":"string"},"detail_amount":{"maxLength":256,"type":"string"},"group_by":{"items":{"maxLength":256,"type":"string"},"maxItems":4,"minItems":1,"type":"array"},"summary":{"maxLength":262144,"type":"string"},"summary_amount":{"maxLength":256,"type":"string"},"tolerance":{}},"required":["detail","summary","group_by","detail_amount","summary_amount"],"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.18,"price_match":true,"latency_ms":2488,"error":null}],"description_full":"Check that detail rows add up to the totals a summary declares, group by group. Sums are computed exactly on the decimal text, never through floating point: a float sum of 0.10 and 0.20 is 0.30000000000000004, so a tool built on one reports a false mismatch on the group that actually balances. Reports mismatches with the exact difference, groups with detail and no declared total, and totals with no detail at all.","last_updated":"2026-10-04T08:12:32.684Z","schemes":["exact"]}