{"uid":"cap_C8iICKqenxf5k57RuY8IA","slug":"oblique-markets-merchant-payment-policy-compiler-083e0e7d","name":"Oblique Markets – Merchant Payment Policy Compiler","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.","url":"https://api.oblique.markets/api/v1/paid/compile-policy","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"reversible":{"type":"boolean"},"product_type":{"enum":["digital_retrieval","inference","reversible_action","physical_goods"],"type":"string"},"max_latency_ms":{"type":"number"},"max_price_usdc":{"type":"number"},"supported_assets":{"type":"array","items":{"type":"string"}},"refund_capability":{"type":"boolean"},"human_authorization_required":{"type":"boolean"}}},"responseSchema":{"type":"json","example":{"refund_owner":"merchant","receipt_schema":{"type":"object","required":["payment_id","rail","amount_usdc","status","settled_at"]},"deny_conditions":["price exceeds max_price_usdc","required human authorization is unavailable","no supported settlement rail or asset","refund requirement cannot be met"],"policy_manifest":{"version":"1.0","reversible":false,"product_type":"digital_retrieval","max_latency_ms":3000},"recommended_rails":[{"rail":"x402","role":"primary settlement","rationale":"Best fit for an automated digital retrieval with an immediate, bounded response."},{"rail":"MPP","role":"alternative settlement","rationale":"Useful when the buyer ecosystem already speaks machine payment protocols."},{"rail":"card","role":"fallback settlement","rationale":"Provides broad coverage for buyers without a compatible crypto wallet."}],"spending_cap_usdc":0.02,"authorization_policy":"Buyer authorization is required before settlement; enforce the stated per-call cap.","settlement_requirements":["exact amount authorization","idempotency key","machine-readable receipt"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JJE0Pkz6lZzUZZbpvddtL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compiles a unified merchant payment policy across x402, MPP, AP2, and card rails from product, risk, authorization, latency, asset, and refund constraints.","exampleAgentPrompt":"Compile a merchant payment policy for my store that accepts x402 and card rails, requires refunds within 7 days, blocks high-risk transactions over $500, and only allows USDC and ETH as crypto assets with a max authorization latency of 2 seconds.","exampleUseCases":[{"title":"Crypto-first merchant policy setup","prompt":"I want to set up a payment policy for my SaaS product that accepts x402 and MPP rails, allows USDC and ETH only, rejects any transaction over $1000 without manual review, and has a no-refund rule after 48 hours — can you compile that policy for me?"},{"title":"Card and crypto hybrid payment rails","prompt":"My e-commerce shop needs a unified payment policy covering x402, AP2, and standard card rails, with a 30-day refund window, low latency requirements under 3 seconds, and a risk cap of $200 per transaction — please compile that."},{"title":"Low-latency micropayment policy","prompt":"Can you generate a merchant payment policy optimized for micropayments under $5 using x402 rails, with near-instant authorization under 500ms, no refunds allowed, and USDC as the only accepted asset?"}],"resultDescription":"Returns a compiled merchant payment policy document specifying accepted payment rails (x402, MPP, AP2, card), authorization rules, risk thresholds, accepted asset types, latency constraints, and refund conditions structured and ready for deployment or further configuration.","failureModes":["Conflicting constraints between rails may produce an unresolvable policy — error returned with conflict details","Missing required constraint categories (e.g. no refund policy specified) may cause incomplete policy compilation","Unsupported asset types or rail combinations return validation errors","Invalid latency or risk threshold values return parameter validation failures","Service unavailability returns 5xx with no partial policy output"],"whenToPreferThis":"Choose this endpoint when you need to generate a single coherent merchant payment policy spanning multiple rails (x402, MPP, AP2, card) from a set of business constraints. It is especially valuable when you need to reconcile crypto on-chain payment rails with traditional card infrastructure under unified risk, refund, and authorization rules, rather than configuring each rail separately.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:30:22.801Z","isFirstParty":false}