{"inputSchema":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":100000000},"retained":{"type":"array","items":{"type":"integer","minimum":0,"maximum":100000000},"maxItems":20,"minItems":1}},"required":["total","retained"],"additionalProperties":false},"outputSchema":{"type":"object","required":["measured_at","source","data","limitations"],"properties":{"measured_at":{"type":"string"},"source":{"type":"object","required":["reference","retrieved_at"],"properties":{"reference":{"type":"string"},"retrieved_at":{"type":"string"}}},"data":{"type":"object","properties":{"refundable":{"type":"integer"},"retained":{"type":"integer"}},"required":["refundable","retained"]},"limitations":{"type":"string"}}},"requestExample":{"total":3250,"retained":[500,750]},"usageGuide":["Commercial policy arithmetic only. Calendar days after the starting event. Amounts are integer minor units of one currency. Statutory rights require separate assessment."],"outputExample":{"measured_at":"2026-11-25T23:15:16.544Z","source":{"reference":"Buyer-supplied shop terms and order amounts","retrieved_at":"2026-11-25T23:15:16.544Z"},"data":{"refundable":2000,"retained":1250},"limitations":"Commercial policy arithmetic only. Calendar days after the starting event. Amounts are integer minor units of one currency. Statutory rights require separate assessment."},"tags":["return policy","refund calculation","online shopping","merchant terms"],"price_usdc":"0.005"}