{"uid":"cap_A9asdB2DFetKBbxHYHhEb","slug":"delegated-spend-policy-7517d041","name":"Delegated Spend Policy","description":"Fail closed on inactive mandates and per-transaction or remaining-budget violations","url":"https://phion.systems/v1/paid/trust/delegated-spend-policy?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["body"],"properties":{"body":{"type":"object","additionalProperties":true}}},"output":{"type":"object","required":["example"],"properties":{"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UOfDuwXT9XTIEHU7KtyVC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Enforces delegated spending mandates by failing closed on inactive mandates and blocking per-transaction or remaining-budget violations","exampleAgentPrompt":"Before the agent spends $45 on my behalf, check that its delegated mandate is still active and that this transaction doesn't exceed its per-transaction limit or remaining budget — fail the whole thing if any rule is violated.","exampleUseCases":[{"title":"Block overspend before agent checkout","prompt":"My shopping agent is about to place a $120 order — check its delegated mandate and make sure it hasn't already blown its remaining budget or hit its per-transaction cap before it pays."},{"title":"Enforce inactive mandate hard fail","prompt":"The agent that manages my subscriptions is trying to authorize a renewal payment, but I revoked its mandate last week — make sure the policy check catches that and blocks the spend entirely."},{"title":"Sub-agent budget guard for multi-agent workflow","prompt":"I have a fleet of sub-agents each with a $50 daily spend mandate; before any of them executes a payment, run the delegated spend policy to confirm the mandate is active and the transaction amount is within limits."}],"resultDescription":"A policy decision indicating whether the delegated spend is permitted or denied, including the specific violation reason if the mandate is inactive, the per-transaction limit is exceeded, or the remaining budget would be breached. The response fails closed — any policy violation results in an explicit denial rather than a default allow.","failureModes":["Mandate not found or unrecognizable — returns denial with unknown-mandate error","Mandate is inactive or revoked — hard fail with inactive-mandate violation","Transaction amount exceeds per-transaction limit — denial with per-transaction-violation reason","Remaining budget insufficient for requested spend — denial with budget-exhausted reason","Malformed or missing input fields — returns validation error","Service unavailable — defaults to fail-closed denial to avoid unsafe fallthrough"],"whenToPreferThis":"Choose this endpoint when an AI agent is operating under a delegated spend authority and you need a hard, fail-closed policy check before any payment executes. It is specifically designed for agentic payment contexts where mandate lifecycle (active vs. revoked), per-transaction caps, and cumulative budget limits must all be enforced in a single policy call. Prefer it over generic authorization checks when the spend is delegated (one agent acting for another principal) and you want an explicit denial with a machine-readable violation reason rather than a soft advisory signal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T06:48:11.732Z","isFirstParty":false,"canonicalSlug":"delegated-spend-policy-7517d041"}