InputPOST /api/v1/x402/refund-policy-preflight
{
"policy": {
"window_hours": 24,
"min_usdc": 0.001
},
"purchase": {
"age_hours": 2,
"amount_usdc": 0.01,
"delivered": true
}
}
Commercial operations analytics · commercial-operations
Evaluate simple refund eligibility flags against policy JSON. Call when agents checking refund windows before opening disputes. Returns eligible and reasons as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/refund-policy-preflight -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"policy":{"window_hours":24,"min_usdc":0.001},"purchase":{"age_hours":2,"amount_usdc":0.01,"delivered":true}}'
{
"policy": {
"window_hours": 24,
"min_usdc": 0.001
},
"purchase": {
"age_hours": 2,
"amount_usdc": 0.01,
"delivered": true
}
}
{
"schema": "delx/util-refund-policy-preflight/v1",
"eligible": true,
"reasons": []
}
Machine-readable evidence