{"slug":"money-openverbs-com-v1-allocate-3108d1","title":"Split an amount into parts using integer minor-unit math so the shares always su","host":"money.openverbs.com","method":"POST","resource":"https://money.openverbs.com/v1/allocate","category":"other","description":"Split an amount into parts using integer minor-unit math so the shares always sum back to the exact original — no rounding drift. Pass parts for an even split, or ratios for a weighted one (e.g. [1,1,1] splits $100 into 33.34/33.33/33.33). The leftover minor units go to the largest fractional remain","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":447,"reported_calls_30d":3,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"amount":1,"parts":1,"ratios":[1]},"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":{"amount":{"description":"The total to split.","type":"number"},"currency":{"description":"ISO 4217 code used to derive minor units. Optional.","maxLength":3,"minLength":3,"type":"string"},"minorUnits":{"description":"Explicit minor-unit digits. Overrides currency. Default 2.","maximum":8,"minimum":0,"type":"integer"},"parts":{"description":"Number of equal parts (use instead of ratios).","maximum":100000,"minimum":1,"type":"integer"},"ratios":{"description":"Weights for a proportional split (use instead of parts).","items":{"minimum":0,"type":"number"},"maxItems":100000,"minItems":1,"type":"array"}},"required":["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"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":447,"error":null}],"description_full":"Split an amount into parts using integer minor-unit math so the shares always sum back to the exact original — no rounding drift. Pass parts for an even split, or ratios for a weighted one (e.g. [1,1,1] splits $100 into 33.34/33.33/33.33). The leftover minor units go to the largest fractional remainders.","last_updated":"2026-09-06T08:12:09.864Z","schemes":["exact"]}