{"slug":"api-oblique-markets-api-v1-paid-compile-policy-97130c","title":"Use when an agent needs compile policy","host":"api.oblique.markets","method":"POST","resource":"https://api.oblique.markets/api/v1/paid/compile-policy","category":"code","description":"Use when an agent needs compile policy. Returns Compile a merchant payment policy across x402, MPP, AP2, and card rails from product, risk, authorization, latency, asset, and refund constraints. $0.02.","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":20,"reported_calls_30d":5,"reported_payers_30d":2,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"human_authorization_required":true,"max_latency_ms":1,"max_price_usdc":1,"product_type":"digital_retrieval","refund_capability":true,"reversible":true,"supported_assets":["example"]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"human_authorization_required":{"type":"boolean"},"max_latency_ms":{"type":"number"},"max_price_usdc":{"type":"number"},"product_type":{"enum":["digital_retrieval","inference","reversible_action","physical_goods"],"type":"string"},"refund_capability":{"type":"boolean"},"reversible":{"type":"boolean"},"supported_assets":{"items":{"type":"string"},"type":"array"}},"required":["product_type","max_price_usdc","reversible","max_latency_ms","supported_assets","human_authorization_required","refund_capability"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"authorization_policy":{"type":"string"},"deny_conditions":{"items":{"type":"string"},"type":"array"},"policy_manifest":{"properties":{"max_latency_ms":{"type":"integer"},"product_type":{"type":"string"},"reversible":{"type":"boolean"},"version":{"type":"string"}},"type":"object"},"receipt_schema":{"properties":{"required":{"items":{"type":"string"},"type":"array"},"type":{"type":"string"}},"type":"object"},"recommended_rails":{"items":{"properties":{"rail":{"type":"string"},"rationale":{"type":"string"},"role":{"type":"string"}},"type":"object"},"type":"array"},"refund_owner":{"type":"string"},"settlement_requirements":{"items":{"type":"string"},"type":"array"},"spending_cap_usdc":{"type":"number"}},"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":20,"error":null}],"description_full":"Use when an agent needs compile policy. Returns Compile a merchant payment policy across x402, MPP, AP2, and card rails from product, risk, authorization, latency, asset, and refund constraints. $0.02.","last_updated":"2026-09-14T06:47:55.404Z","schemes":["exact"]}