Mandate Check
mandate_checkMandate Check: does this cart and payment fit what the human authorized? Send AP2 mandates (intent, cart, payment) and/or owner constraints. Checks the cart sits inside the intent (merchant, skus, refundability, expiry), the merchant's signed cart JWT is real AND its cart_hash matches these exact contents (catches a cart swapped after signing), the payment mandate matches the cart total and id, and owner caps (Spend Gate engine). IN_SCOPE / NEEDS_APPROVAL / OUT_OF_SCOPE / EXPIRED / BAD_SIGNATURE / UNPARSEABLE with every check listed. Unparseable input is not charged. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/mandate/check, $0.003 via x402.)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mandate_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now | No | now | |
| proposed | No | proposed | |
| constraints | No | constraints | |
| cart_mandate | No | cart mandate | |
| merchant_key | No | merchant key | |
| intent_mandate | No | intent mandate | |
| payment_mandate | No | payment mandate | |
| merchant_key_url | No | merchant key url |