# Buyer Spending Policy Check

> Buyer Spending Policy Check is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.010021/call, status unknown (last checked 2026-10-22).

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.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/verify/payments/buyer-policy?utm_source=zero.xyz
- Price: $0.010021/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/buyer-spending-policy-check-664cb8a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PFitWQd5qSRG6WjcU2Hp-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability buyer-spending-policy-check-664cb8a9 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/buyer-spending-policy-check-664cb8a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.mahastrategies.com](https://www.zero.xyz/host/www.mahastrategies.com/llms.txt)
