{"uid":"cap_PFitWQd5qSRG6WjcU2Hp-","slug":"buyer-spending-policy-check-664cb8a9","name":"Buyer Spending Policy Check","description":"Compare up to 64 proposed Base-USDC calls with a declared total budget, per-call cap, allowed payees and human-approval requirement. Returns policy mismatches and exact arithmetic totals. Does not authorize, sign or execute payments; caller approval labels are not verified. New modular adapter: retained result recovery for 24 hours, minimal receipt metadata for 90 days. Existing live route unchanged.","url":"https://www.mahastrategies.com/api/v1/verify/payments/buyer-policy?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"calls":{"type":"array","maxItems":64,"minItems":1},"dataClass":{"enum":["public","synthetic"],"type":"string"},"allowedPayees":{"type":"array","maxItems":32,"minItems":1},"budgetBaseUnits":{"type":"string","maxLength":16},"perCallCapBaseUnits":{"type":"string","maxLength":16},"requireHumanApproval":{"type":"boolean"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.010021","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.010021/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.010021","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.010021","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_95lg5qdhOe5IZwTAkz_4K","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.010021","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates up to 64 proposed Base-USDC payment calls against a declared budget, per-call cap, allowed payees, and human-approval flag, returning policy mismatches and arithmetic totals without executing any payments.","exampleAgentPrompt":"Before I send these 12 USDC payment calls, check them against my spending policy: total budget is 500 USDC (50000000 base units), per-call cap is 50 USDC (5000000 base units), allowed payees are [0xABC, 0xDEF], human approval is required, and the data is synthetic — tell me which ones violate policy and what the exact totals are.","exampleUseCases":[{"title":"Pre-flight agent payment batch audit","prompt":"I have 20 planned USDC payments my agent wants to make — can you check them all against my policy before anything goes through? My total budget is 1000 USDC (100000000 base units), each payment can't exceed 100 USDC (10000000 base units), payees must be on this list [0x111, 0x222, 0x333], and no human approval is required. Tell me which calls break the rules and what the grand total is."},{"title":"Enforcing payee allowlist for autonomous agent","prompt":"My AI agent is about to send payments to several addresses — verify that all recipients are on my approved payee list [0xAAA, 0xBBB] and that none of the 8 proposed calls exceed 25 USDC (2500000 base units) each, with a total budget of 150 USDC (15000000 base units). Flag any mismatches before anything is signed."},{"title":"Human-approval gate for large spending batch","prompt":"Check these 30 proposed Base-USDC calls against our company spending policy: total budget cap is 5000 USDC (500000000 base units), per-call limit is 200 USDC (20000000 base units), allowed payees are [0xCorp1, 0xCorp2, 0xCorp3], and human approval is required for all of them. Give me the list of policy violations and the exact arithmetic totals."}],"resultDescription":"Returns a structured report listing any policy mismatches (budget overrun, per-call cap violations, unauthorized payees, missing human-approval flag), along with exact arithmetic totals for all proposed calls. Does not authorize, sign, or execute any payments. Results are retained for 24 hours; minimal receipt metadata is retained for 90 days.","failureModes":["More than 64 calls submitted — request rejected due to maxItems constraint","Invalid or missing budgetBaseUnits or perCallCapBaseUnits strings — validation error returned","Payee list exceeds 32 entries — request rejected","Missing required fields such as calls or allowedPayees — schema validation failure","Arithmetic totals may overflow if extremely large base unit strings are provided","Human-approval labels from caller are accepted as declared but not independently verified — results reflect declared intent only"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, read-only pre-flight compliance check on a batch of proposed Base-USDC payment calls before any signing or execution occurs. It is ideal for agentic workflows where an AI must enforce organizational spending policies (budget caps, per-call limits, payee allowlists, approval requirements) without risking unauthorized transactions. Prefer it over on-chain or execution-layer checks when you want fast, cheap policy validation as an early gate in your payment pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T13:20:33.641Z","isFirstParty":false,"canonicalSlug":"buyer-spending-policy-check-a00fb343"}