Api Endpoint

SAF-Authority AgentPay Check

A paid Governed Machine Commerce service running on AgentPay, SAF-Authority's Core Engine Framework. Before spending, a software agent submits one declared transaction and receives an evidence-backed ALLOW, HOLD or DENY decision with source-bound reasons, validation, durable delivery and a hash-bound receipt.

Open interactive test console

Offering

Provider
api.x402-engine.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.x402-engine.com/v1/intelligence
MIME type
Not provided
First seen
2026-10-16T01:50:45.949Z
Last seen
Tags
governed-commerce, transaction-authority, agent-payments, verifiable-receipts, X402

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.1 USDC
Atomic price: 100000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "100000",
    "payTo": "0xC3B8DdAda48c034541F8e7bFfc7da93dF17D3aEd"
  }
]

Observed health

Status
Reachable
Latest latency
1201 ms
Average latency
803 ms
HTTP status
405
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "body": {
    "depth": "standard",
    "freshness_days": 30,
    "output": "json",
    "product": "transaction_authority_check",
    "question": "Should this agent proceed with the declared x402 purchase?",
    "transaction": {
      "amount_atomic": 100000,
      "asset": "USDC",
      "max_amount_atomic": 100000,
      "method": "POST",
      "network": "eip155:8453",
      "pay_to": "0x1111111111111111111111111111111111111111",
      "purpose": "Buy one evidence-backed transaction preflight",
      "resource_url": "https://merchant.example/v1/tool"
    }
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "finalResult": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "answer": {
          "description": "Source-bound answer or INSUFFICIENT_EVIDENCE.",
          "type": "string"
        },
        "authority_decision": {
          "properties": {
            "boundary": {
              "type": "string"
            },
            "policy_checks": {
              "type": "object"
            },
            "reasons": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "verdict": {
              "enum": [
                "ALLOW",
                "HOLD",
                "DENY"
              ],
              "type": "string"
            }
          },
          "required": [
            "verdict",
            "reasons",
            "policy_checks",
            "boundary"
          ],
          "type": "object"
        },
        "conflicts": {
          "items": {
            "type": "object"
          },
          "type": "array"
        },
        "freshness": {
          "type": "object"
        },
        "key_findings": {
          "items": {
            "properties": {
              "claim": {
                "type": "string"
              },
              "confidence": {
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "type": "string"
              },
              "source_ids": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "required": [
              "claim",
              "confidence",
              "source_ids"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "mode": {
          "const": "evidence-intelligence-v1",
          "type": "string"
        },
        "provider_cost_usd": {
          "minimum": 0,
          "type": "number"
        },
        "question": {
          "type": "string"
        },
        "sources": {
          "items": {
            "properties": {
              "id": {
                "type": "string"
              },
              "relevance": {
                "maximum": 1,
                "minimum": 0,
                "type": "number"
              },
              "title": {
                "type": "string"
              },
              "url": {
                "format": "uri",
                "type": "string"
              }
            },
            "required": [
              "id",
              "url",
              "title",
              "relevance"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "status": {
          "enum": [
            "OK",
            "INSUFFICIENT_EVIDENCE"
          ],
          "type": "string"
        },
        "validation": {
          "type": "object"
        }
      },
      "required": [
        "mode",
        "status",
        "question",
        "answer",
        "key_findings",
        "conflicts",
        "sources",
        "freshness",
        "validation",
        "authority_decision"
      ],
      "title": "AgentPayTransactionAuthorityDecision",
      "type": "object"
    },
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "depth": {
              "const": "standard",
              "default": "standard",
              "type": "string"
            },
            "freshness_days": {
              "default": 30,
              "maximum": 3650,
              "minimum": 1,
              "type": "integer"
            },
            "output": {
              "const": "json",
              "default": "json",
              "type": "string"
            },
            "product": {
              "const": "transaction_authority_check",
              "default": "transaction_authority_check",
              "type": "string"
            },
            "question": {
              "description": "The exact decision the buying agent needs before spending.",
              "maxLength": 4000,
              "minLength": 3,
              "title": "Question",
              "type": "string"
            },
            "transaction": {
              "additionalProperties": false,
              "properties": {
                "amount_atomic": {
                  "exclusiveMinimum": 0,
                  "type": "integer"
                },
                "asset": {
                  "maxLength": 128,
                  "minLength": 3,
                  "type": "string"
                },
                "max_amount_atomic": {
                  "exclusiveMinimum": 0,
                  "type": "integer"
                },
                "method": {
                  "const": "POST",
                  "default": "POST",
                  "type": "string"
                },
                "network": {
                  "maxLength": 128,
                  "minLength": 3,
                  "type": "string"
                },
                "pay_to": {
                  "maxLength": 128,
                  "minLength": 3,
                  "type": "string"
                },
                "purpose": {
                  "maxLength": 500,
                  "minLength": 3,
                  "type": "string"
                },
                "resource_url": {
                  "maxLength": 2048,
                  "minLength": 8,
                  "type": "string"
                }
              },
              "required": [
                "resource_url",
                "network",
                "asset",
                "pay_to",
                "amount_atomic",
                "max_amount_atomic",
                "purpose"
              ],
              "type": [
                "object",
                "null"
              ]
            }
          },
          "required": [
            "question"
          ],
          "title": "IntelligenceRequest",
          "type": "object"
        },
        "bodyType": {
          "const": "json",
          "type": "string"
        },
        "method": {
          "const": "POST",
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "description": {
          "type": "string"
        },
        "example": {
          "properties": {
            "access_token": {
              "description": "Secret capability for job and receipt reads.",
              "type": "string"
            },
            "job_id": {
              "type": "string"
            },
            "receipt_url": {
              "type": "string"
            },
            "status": {
              "examples": [
                "queued"
              ],
              "type": "string"
            },
            "status_url": {
              "type": "string"
            }
          },
          "required": [
            "job_id",
            "access_token",
            "status",
            "status_url",
            "receipt_url"
          ],
          "title": "AgentPayJobAdmission",
          "type": "object"
        },
        "type": {
          "const": "json",
          "type": "string"
        }
      },
      "required": [
        "type",
        "example"
      ],
      "type": "object"
    }
  },
  "required": [
    "input",
    "output"
  ],
  "type": "object"
}