# Blockchain Money Map AP2 Mandate Constraint Gap Auditor

> Blockchain Money Map AP2 Mandate Constraint Gap Auditor is a paid API for AI agents from api.blockchainmoneymap.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Audits payment mandate facts against a reference baseline to identify constraint gaps, mismatches, or missing bindings in agent payment mandates.

## Facts

- Endpoint: POST https://api.blockchainmoneymap.com/api/x402/x402-ap2-mandate-constraint-gap-auditor
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockchain-money-map-ap2-mandate-constraint-gap-auditor-35c3285b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QZr-ikLVYv2UamzbsAywP

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 blockchain-money-map-ap2-mandate-constraint-gap-auditor-35c3285b -d '<json body>'
```

Example prompt: Run a mandate constraint gap audit on my AP2-type mandate: the agent binding is present, verifier binding is present, merchant binding is absent, amount cap is 50 USDC, expiry is 2025-12-31, no item constraints, monthly recurrence, receipt requirement is 'always', intended action is 'subscription-payment' — compare it against the reference facts where merchant binding is present.

## When to prefer this

Use this endpoint when an AI agent needs to programmatically verify that a payment mandate's constraints (bindings, caps, recurrence, receipt rules) match a reference policy baseline — especially before executing or authorizing an agentic payment. Prefer this over manual policy review when operating in automated x402 payment workflows where mandate drift or misconfiguration could lead to unauthorized or non-compliant transactions.

## Known failure modes

- Missing required facts fields returns a 400 validation error
- Mandate type not recognized may return an audit error or empty findings
- Mismatched currency between facts and reference may produce a gap finding rather than an error
- Invalid idempotency_key format (not matching pattern) causes a 400 error
- Payment failure via x402 protocol returns 402 if USDC balance is insufficient
- Truncated or malformed item_constraints array may cause incomplete gap detection

## How this service works

Choose Blockchain Money Map for human-readable public blockchain reports or x402-paid agent API services.

## Output

Returns a structured JSON audit report identifying constraint gaps, missing bindings, policy mismatches, and compliance findings between the submitted mandate facts and the reference mandate facts. Includes a gap summary, per-field analysis, and an overall compliance status.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "audit"
   ]
  },
  "facts": {
   "type": "object",
   "required": [
    "mandate_type",
    "agent_binding_present",
    "verifier_binding_present",
    "merchant_binding_present",
    "amount_cap",
    "currency",
    "expiry",
    "item_constraints",
    "recurrence_constraints",
    "receipt_requirement",
    "intended_action"
   ],
   "properties": {
    "expiry": {
     "type": "string",
     "maxLength": 500
    },
    "currency": {
     "type": "string",
     "maxLength": 500
    },
    "amount_cap": {
     "type": "number"
    },
    "mandate_type": {
     "type": "string",
     "maxLength": 500
    },
    "intended_action": {
     "type": "string",
     "maxLength": 500
    },
    "item_constraints": {
     "type": "array",
     "maxItems": 50
    },
    "receipt_requirement": {
     "type": "string",
     "maxLength": 500
    },
    "agent_binding_present": {
     "type": "boolean"
    },
    "recurrence_constraints": {
     "type": "array",
     "maxItems": 50
    },
    "merchant_binding_present": {
     "type": "boolean"
    },
    "verifier_binding_present": {
     "type": "boolean"
    }
   },
   "additionalProperties": false
  },
  "policy": {
   "type": "object",
   "additionalProperties": true
  },
  "idempotency_key": {
   "type": "string",
   "pattern": "^[A-Za-z0-9_-]{32,160}$",
   "maxLength": 160,
   "minLength": 32
  },
  "reference_facts": {
   "type": "object",
   "required": [
    "mandate_type",
    "agent_binding_present",
    "verifier_binding_present",
    "merchant_binding_present",
    "amount_cap",
    "currency",
    "expiry",
    "item_constraints",
    "recurrence_constraints",
    "receipt_requirement",
    "intended_action"
   ],
   "properties": {
    "expiry": {
     "type": "string",
     "maxLength": 500
    },
    "currency": {
     "type": "string",
     "maxLength": 500
    },
    "amount_cap": {
     "type": "number"
    },
    "mandate_type": {
     "type": "string",
     "maxLength": 500
    },
    "intended_action": {
     "type": "string",
     "maxLength": 500
    },
    "item_constraints": {
     "type": "array",
     "maxItems": 50
    },
    "receipt_requirement": {
     "type": "string",
     "maxLength": 500
    },
    "agent_binding_present": {
     "type": "boolean"
    },
    "recurrence_constraints": {
     "type": "array",
     "maxItems": 50
    },
    "merchant_binding_present": {
     "type": "boolean"
    },
    "verifier_bi
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockchain-money-map-ap2-mandate-constraint-gap-auditor-35c3285b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockchainmoneymap.com](https://www.zero.xyz/host/api.blockchainmoneymap.com/llms.txt)
