← Market

Mandates · Check

Does an agent's cart and payment stay within the user's AP2 mandates? For processors, issuers, gateways and eval harnesses: send AP2 0.2 mandates' disclosed claims, or a Loyal Agents authorization file and one purchase, and get a signed verdict (within, outside or incomplete) with every check satisfied, violated or not checked and why. No model. The rules are free at /v1/mandates/check/contents.

POST https://api.agoranome.com/v1/mandates/check

0.01 USDC on Base · payTo 0x82f7d272628cffc810fa13c90634add245da42a5

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.01 USDC · payTo 0x82f7d272628cffc810fa13c90634add245da42a5 · via cdp · settles direct
Solana · 0.01 USDC · payTo Fqaarm3HTHDfjWyZBCcCPkdoGSPBwqyibP15eXhg1cDr · via cdp · settles direct
{
  "open_payment_mandate": {
    "cnf": {},
    "constraints": [
      {
        "currency": "USD",
        "max": 5000,
        "type": "payment.amount_range"
      }
    ],
    "vct": "mandate.payment.open.1"
  },
  "payment_mandate": {
    "payee": {
      "id": "merchant-1",
      "name": "Example Shop"
    },
    "payment_amount": {
      "amount": 4200,
      "currency": "USD"
    },
    "payment_instrument": {
      "id": "card-1",
      "type": "card"
    },
    "transaction_id": "<b64url sha-256>",
    "vct": "mandate.payment.1"
  }
}
{
  "receipt": {
    "impact": {
      "pledge": "15% of settled revenue"
    },
    "receipt_id": "0x..."
  },
  "result": {
    "checks": [
      {
        "check": "payment.amount_range",
        "detail": "4200 USD is within the range, in minor units.",
        "status": "satisfied"
      }
    ],
    "counts": {
      "not_checked": 0,
      "satisfied": 1,
      "violated": 0
    },
    "example": "An example of the answer's shape: its numbers are made up, not data.",
    "judged": {
      "of": "the RFC 8785 (JCS) form of the request body",
      "sha256": "0x<64 hex>"
    },
    "kind": "AgoranomeMandateCheck",
    "licence": "Quote with credit to Agoranome (agoranome.com); not for republication in full. The signature proves the answer is ours: check it at /verify.",
    "rule": "mandate-1",
    "signatures": [
      {
        "protected": "<JWS header>",
        "signature": "<JWS signature>"
      }
    ],
    "verdict": "within_mandate"
  }
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score59 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency3787 ms
Paid calls (30d, on-chain)2 calls · 1 buyers · shared price cohort of 4

How to call

POST https://api.agoranome.com/v1/mandates/check · input in body · spec from live-challenge

Input schema
{
  "properties": {
    "open_checkout_mandate": {
      "type": "object",
      "description": "Optional: the disclosed claims of the AP2 0.2 open checkout mandate (mandate.checkout.open.1)"
    },
    "checkout_mandate": {
      "type": "object",
      "description": "Optional: the disclosed claims of the AP2 0.2 checkout mandate (mandate.checkout.1), with its checkout_jwt"
    },
    "checkout": {
      "type": "object",
      "description": "Optional: the checkout object, when no checkout_mandate"
    },
    "open_payment_mandate": {
      "type": "object",
      "description": "Optional: the disclosed claims of the AP2 0.2 open payment mandate (mandate.payment.open.1)"
    },
    "payment_mandate": {
      "type": "object",
      "description": "Optional: the disclosed claims of the AP2 0.2 payment mandate (mandate.payment.1)"
    },
    "open_checkout_hash": {
      "type": "string",
      "maxLength": 256,
      "description": "Optional: the open checkout mandate's hash, for payment.reference"
    },
    "history": {
      "type": "object",
      "description": "Optional: the mandate's use so far, {total_amount (minor units), total_uses}, for payment.budget and recurrence; with an authorization, {today, this_month} spent before"
    },
    "merchant_jwk": {
      "type": "object",
      "description": "Optional: the merchant's public JWK, to check the checkout JWT's signature"
    },
    "authorization": {
      "type": "object",
      "description": "Or: a Loyal Agents authorization file (AUTH_PREFS.md v0.1) as JSON: grant_id, effective, expiry, currency, per_transaction, daily, monthly, auto_approve_under (minor units), approved_vendors, exclusions, confirm_every_purchase"
    },
    "authorization_markdown": {
      "type": "string",
      "maxLength": 100000,
      "description": "Or: the Loyal Agents authorization file itself, in its Markdown"
    },
    "purchase": {
      "type": "object",
      "description": "With an authorization: the purchase, {amount: {amount (minor units), currency}, vendor: {name, website?}, kinds?, confirmation?: none, in_band or out_of_band, at?}"
    }
  }
}
Output schema
{
  "type": "object"
}
curl -i -X POST 'https://api.agoranome.com/v1/mandates/check' \
  -H 'content-type: application/json' -d '{"open_payment_mandate":{"vct":"mandate.payment.open.1","cnf":{},"constraints":[{"type":"payment.amount_range","currency":"USD","max":5000}]},"payment_mandate":{"vct":"mandate.payment.1","transaction_id":"<b64url sha-256>","payee":{"id":"merchant-1","name":"Example Shop"},"payment_amount":{"amount":4200,"currency":"USD"},"payment_instrument":{"id":"card-1","type":"card"}}}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)