# AgentPay Gate v4.0 — SaaS Contract Redlining & Risk Scoring

> AgentPay Gate v4.0 — SaaS Contract Redlining & Risk Scoring is a paid API for AI agents from agentpay-gate.run402.com, paid per call via x402, $1/call, status unknown (last checked 2026-10-19).

Scores a SaaS vendor domain for contract risk, DPA/GDPR compliance, and returns a geo/risk score along with a download bundle URL for redlined contract artifacts

## Facts

- Endpoint: GET https://agentpay-gate.run402.com/api/x402-pro?utm_source=zero.xyz
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentpay-gate-v4-0-saas-contract-redlining-risk-scoring-087becff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4PJ0bSFHav33L-qaSXP1m

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 agentpay-gate-v4-0-saas-contract-redlining-risk-scoring-087becff
```

Example prompt: Can you run a contract risk and GDPR compliance check on stripe.com and give me the risk score and any redlined clause bundle?

## When to prefer this

Choose this endpoint when you need an automated, real-time vendor risk score and GDPR/DPA compliance check for a specific SaaS domain, especially when you also want a downloadable bundle of redlined contract clauses. It is best suited for procurement workflows, legal review automation, or vendor onboarding pipelines where you need a single-call assessment without manual contract review.

## Known failure modes

- Missing or invalid 'url' query parameter returns an error
- Non-HTTPS URLs may be rejected
- Domain not found or unreachable results in incomplete scoring
- Payment of $1 USDC not received causes 402 response blocking access
- Malformed domain string causes processing failure

## How this service works

Real-time server-side SaaS contract risk scoring, DPA/GDPR verification, and surgical clause redlining backed by PostgreSQL, Node 22 Serverless, TON Connect 2.0, and x402 API.

## Output

Returns a JSON object with an ok boolean, the analyzed domain, a numeric geo_score (0–100 indicating risk/compliance level), a PRO license key string, and a download_bundle_url pointing to a ZIP archive of redlined contract artifacts for the analyzed vendor.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Target HTTPS URL or buyer domain"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "domain": "stripe.com",
  "geo_score": 94,
  "license_key": "PRO-X402-VERIFIED-2026",
  "download_bundle_url": "https://ai-cloud-studio.surge.sh/releases/citepulse-ai-v4.0-turnkey-pro-7f9a2c.zip"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentpay-gate-v4-0-saas-contract-redlining-risk-scoring-087becff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentpay-gate.run402.com](https://www.zero.xyz/host/agentpay-gate.run402.com/llms.txt)
