payment_mandate
authorization-gate
mandate-coverage
one-use-authorization
commit-verification
rail-nonce
integer-minor-units
agent-payments
mcp:authorize_payment_against_mandate

Mandate Authorization Gate

Automated payment approval gate with no human step: a fixed ten-rule mandate check lists every failing rule with a named reason, issues a one-use authorization bound to the exact request digest with a window clipped to the mandate expiry, and re-verifies the committed request at commit time. Integer minor units, no float anywhere.

Tool URL: https://ainumbers.co/chaingraph/art-703-mandate-authorization-gate.html AP2/Policy Mandate export: yes

post/v1/tools/authorize_payment_against_mandate

Request

  • Base URL: https://ainumbers.co
  • URL: https://ainumbers.co/v1/tools/authorize_payment_against_mandate
  • Auth: none declared

Request body

modestring required

authorize evaluates the mandate and request; verify_commit re-verifies a presented authorization.

as_ofstring required

Decision time as a UTC timestamp, YYYY-MM-DDTHH:MM:SS ending in Z. The node reads no clock.

ttl_secondsinteger

authorize only: window seconds, clipped into 1 to 900 and to the mandate expiry.

mandateobject

authorize only: the mandate drawn on; commonly the canonical pivot from art-476.

extensionsobject

authorize only, optional: revoked_at, budget minor integers, allowed_rails, verified_payees.

requestobject

authorize: the proposed payment. verify_commit: the request being committed, as presented.

authorizationobject

verify_commit only: the authorization this node issued, presented back for commit.

Response

Successful tool execution result

authorizationobject nullable
authorization_idstring
decision'authorize' | 'commit_ok' | 'reject' required
mode'authorize' | 'verify_commit' required
primary_reasonstring nullable
remaining_budget_minornumber nullable
scope_notestring

Changes

No recorded changes to this operation across all 1 revision of this API.